WizNet W5100 issues
DynamoBen
Posts: 366
I've modified the Hydra EtherX W5100 driver for a project I'm working. The only major change is the ability to assign I/O pins (the original driver had them hard coded).
The problem is I am unable to transmit UDP/TCP packets but I am able to receive them. I'm not sure if its a code or hardware issue. I'm looking for someone with a W5100 (communicating via SPI) to test my driver and see if it works properly. Any takers?
The problem is I am unable to transmit UDP/TCP packets but I am able to receive them. I'm not sure if its a code or hardware issue. I'm looking for someone with a W5100 (communicating via SPI) to test my driver and see if it works properly. Any takers?
spin
24K
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
www.tdswieter.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
www.tdswieter.com
·
I used to work with Martin systems, but have been out of that industry for a few years.
Jim
Why not just use the EtherX Driver and modify that to work? What is the advantage to using the driver you are writing?
I glanced at the code, it looks like you got a lot there, but the core is the SPI ASM routine. Have you varified the SPI routine is working properly? Do think the problem is in the low level Prop to WIZnet communication or the high level commands/data to/from the WIZnet IC?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
www.tdswieter.com
I believe the issue is in the SPI ASM routine, I'm sure its something small but I've been staring at my changes for a while and nothing jumps out at me.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
JMH