Shop OBEX P1 Docs P2 Docs Learn Events
TCP/IP Stack Question — Parallax Forums

TCP/IP Stack Question

Harrison.Harrison. Posts: 484
edited 2006-12-19 23:13 in Propeller 1
I was wondering if anyone has written a tcp/ip stack for the propeller. I am working on one, but I don't want to waste time rewriting something that someone has already written.

So far, I have successfully written a driver for the enc28j60 chip from microchip. The driver just lets me talk to the chip and allows me to read and write from the sram. I have also written a simple 'packet capture' program to demo the driver. I'll try to clean up the driver and post it if anyone would like to try it for themselves.

Note that you must use the B5 revision of the ENC28J60 since previous versions have silicon erratas that make it impossible to work with the Propeller. (Namely a 8mhz spi clock requirement). The B5 revision allows for DC - 20mhz spi clock, which works great with the Propeller.

Attached are some pictures of my progress. (I am using a PCI NIC's magnetics for the ethernet interface.) The 25mhz clock for the ENC28J60 is synthesized by the Propeller (I love the propeller!)

Harrison

Post Edited (Harrison.) : 12/19/2006 11:27:11 PM GMT
855 x 642 - 150K
854 x 642 - 145K
942 x 708 - 150K
Sign In or Register to comment.