There is already a ENC28J60 port to the PSoC3 available: https://github.com/kmmankad/ENC28J60-PSoC3
Thanks hli, never knew there's already an PSoC3 port!
It seems that it is based on the free IP stack of Duncan Frost. This stack is not completely bug free, but I think it's a good place to start. According to the CC license, we can use work of kmmankad for commercial projects, so it all looks very good!
Probably, I will contribute to the project beginning of next year as I need a PSoC5 ethernet solution.
Thanks for pointing out!
We are working on a prototype PSoC 5 based Ethernet solution that implements 10-BaseT MAC + PHY inside PSoC. Following are the features supported -
- IEEE 802.3az compliance
- Integrated MAC + PHY
- Full Duplex Mode only
- Addressing Modes - Unicast, Multicast, Broadcast
- Separate DMA channels for RX & TX
- Configurable RX & TX FIFO
- PHY Link activity LEDs
- Uses 4 GPIOs and Magnetics
- Software support - LwIP
Would the above features work for you all?
Looking for feedback on the feature set.
Whoa, this is great news! So I just need an external MagJack (with integrated magnetics) and are ready to go?
How much resources (UDBs, Flash, sRam) does it need?
I'm curious too about the resource usage. Also, do you release the component to the public domain or will we have to buy a license?
Yes, you just need an external RJ45 connector with magnetics to get this to work. Currently we can fit the MAC and PHY in 4 UDBs. Flash/RAM size is purely dependent on the application as LwIP TCP/IP stack is configurable. Our unoptimized version of application running a web server takes 30K Flash and 15K SRAM for PSoC 5. This should come down as we are not using the best optimization level for compiler.
As for the release of the component, it will be made available to public but we are still working on the right model.
Question - Do the feature set and stack support work for your application? Do you see any other specific needs?
I'm the dude who did the ENC28J60 based network stack mentioned above.Its pretty robust,and all the examples posted work flawlessly,tested with many different network setuPlease point out bugs you have encountered,I'll be more than happy to fix those :)
@sath - Thats GREAT news! Any chance that community members can join in the development(or alteast testing?)
Also,I've got emails from many people who have successfully ported my github hosted IP stack to PSoC5,without much effort :)
@sath: I'm fine with this feature set. It would be nice to be able to skip/disable the activity LED outputs, reducing the need to just 2 GPIOs.
@sath - Whats the expected timeline for release of the component?
@sath, slip and cslip would be very useful for bridging via Uarts too.
We are looking to get the Ethernet solution out by first half of 2013. As mentioned earlier, we are currently validating the prototype and should have more information about the solution soon.
lwIP is the stack that we are currently using in our proto solution. lwIP supports SLIP and many other protocols.
@kmmankad, i am trying to use your project for a PSoC 5 project. i am unable to do so. Can you help me out? For porting it to PSoC 5, what changes should i do? i removed the Die temperature sensor and manually assigned a value to die temperature. But i am unable to connect to the ip address 192.168.1.153 to see the webpage. The device is not responding for ping also. The status and activity LEDs are blinking. I checked with wireshark and the device does not send any packets at all. I am using CY8CKIT-001 and PSOC5 board mounted on it.
Also, can you give me contact details of people who have mailed you regarding port to PSoC 5?