ENC28J60 Ethernet Controller
Moderators: David Barker, Jerry Messina
ENC28J60 Ethernet Controller
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
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
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...
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...
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.
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.
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
Could anyone recommend any reading for beginners on internet communication?
Many thanks,
Steven
YES YES YESTimB wrote:If you still fancy doing it then I can get him to give you the links to his resources.
Steven,
my first ressource is this link
http://www.amodio.biz/projects/PIC10BaseT/
Really basic, but something to start. There's also few links and utility over there too.
Maybe you can read few of those
http://www.pcsupportadvisor.com/c04100.htm
http://www.ssfnet.org/Exchange/tcp/tcpT ... Notes.html
http://nclab.kaist.ac.kr/kens/tutorial/KENS_TCP1.pdf
http://www.freeprogrammingresources.com/tcp.html
http://www.brushelectronics.com/index.php?page=software
http://compnetworking.about.com/od/netw ... 71200a.htm
http://www.freeprogrammingresources.com/udp.html
http://www.ragestorm.net/tutorial?id=12
Should be enough to keep you busy 20-30 minutes.. or so
Last edited by mister_e on Wed Nov 15, 2006 8:03 am, edited 1 time in total.
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.
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.
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 ?
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 ?
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
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
I have been talking to Gabi and he has sent some links
http://hubbard.engr.scu.edu/embedded/av ... index.html
That has some c code for the ENC28J60
and some more links
http://www.cs.berkeley.edu/%7Ekfall/EE1 ... sld001.htm
http://taosecurity.blogspot.com/2004/01 ... day-i.html
http://hubbard.engr.scu.edu/embedded/av ... index.html
That has some c code for the ENC28J60
and some more links
http://www.cs.berkeley.edu/%7Ekfall/EE1 ... sld001.htm
http://taosecurity.blogspot.com/2004/01 ... day-i.html