Page 1 of 2
ENC28J60 Ethernet Controller
Posted: Tue Nov 14, 2006 10:46 pm
by Steven
Dear All,
I have just ordered a ENC28J60 ethernet development board and am interested in writing a library for this. However, I have no experience of this and very little understanding of internet protocols, but would be interested to learn. I am also happy to pull together the ideas of others and turn it into a working library.
I wonder if anyone else could:
(i) recommend a good beginners guide to internet communication, and,
(ii) offer any help/advice in putting together a library for the ENC28J60.
I get the impression that this is not an easy task and that the Microchip code is substantial. It would be great if this could become a joint effort with several other interested people.
Kind regards,
Steven
Posted: Wed Nov 15, 2006 5:28 am
by mister_e
Funny circumstances...
Few days ago, i ordered EasyPIC4 with most of their plug-in adapter including this controller. I thought it would be handy one day
YES i want to help. I'm still waiting for Swordfish and EasyPIC4, but in meantime, i will try to find some more info here and there.
Wich board you buyed? Maybe i'll go crazy and buy the same too, so we could work with the same hardware.
... and NO it's not going to be as easy as it seems to
Certainely harder than Charron or Lantronix module so far...
Posted: Wed Nov 15, 2006 7:03 am
by TimB
Hi Steve
Gabi has done this already and has produced some great code. He apparently did a comparison's test against Mchips own when he put it up against a company who sells boards for the job.
It was something like 3 x faster and took 4k as opposed to > 20k(I thing it was 56k). Any way he did say he would do a conversion for SF.
It was written in Proton so it will not be as compact but not that far short.
His copy of SF is winging his way to him now. If you still fancy doing it then I can get him to give you the links to his resources.
Posted: Wed Nov 15, 2006 7:11 am
by Steven
Thanks both for your replies. Steve, it sounds like we have nearly the same hardware already - I have an EasyPic 3 and have just ordered ME's ethernet add on board. Tim, it's very good news about Gabi's work - do you know if he would be prepared to release his own version of the code? I will understand if he doesn't as it must be the result of a lot of work.
Could anyone recommend any reading for beginners on internet communication?
Many thanks,
Steven
Posted: Wed Nov 15, 2006 7:59 am
by mister_e
Posted: Wed Nov 15, 2006 8:01 am
by TimB
Hi Steve
Yes it took a long time, weeks! The Unix time code conversion I posted was a bit of side coding to read the an internet clock.
I did ask and he said he would be happy to, he also talked about releasing it for Proton. Les has seen the code and from what I understand was suitably impressed.
He did a FAT32 library for Proton for me but the project I needed it for was dropped so I'm hoping he will do a SF conversion as well but that's up to him.
Posted: Wed Nov 15, 2006 8:11 am
by mister_e
Great for the Proton's camp
I have some knowledge of internet comm so i guess it will help.
I just can't wait to have Swordfish and all those new toys.
Next step.. those Ethernet PIC.
One step after the other
OT but did you tried...
This ?
Posted: Wed Nov 15, 2006 3:02 pm
by TimB
Hi Steve
Yup its on my quick link in the IDE and btw used it already, very nice and very much appreciated by me. Can I place it on the Wiki please?
Posted: Wed Nov 15, 2006 3:08 pm
by mister_e
Thanks and yes you can! Go Go Go!
I'm so motivated to make Swordfish and Wiki better. As soon as i can, i will post my contributions too!
As i said there, one day i will add more feature in, and some auto-code stuff will be implemented for Swordfish too.
Posted: Wed Nov 15, 2006 6:23 pm
by Steven
Thanks for the links, Steve - I've briefly looked at a few already, but will work through them all. I'll let you know when my development board arrives, then will get going.
Steven
Posted: Wed Nov 15, 2006 6:30 pm
by Steven
Steve,
I've also just looked at the timer calculator - fantastic job. It should make these calcs a whole lot easier.
Many thanks,
Steven
Posted: Wed Nov 15, 2006 8:46 pm
by mister_e
Great and welcome!
As discussed with David, i'll create a link on my website, so the lastest version will always be available there... reducing the Wiki update job you know
The calc is also nice for reverse engineering and to get the maximum accuracy of timers, PWM, USART and EUSART.
O.K i'll stay tuned.. i have few readings to do as well
Posted: Wed Nov 15, 2006 10:04 pm
by TimB
Posted: Thu Nov 16, 2006 3:09 am
by mister_e
Thanks Tim,
definately more stuff to chew on.
Say thanks to Gabi !
Posted: Fri Jul 06, 2007 5:49 pm
by dman776
anyone making progress on an ENC28J60 library?