Using INDIRECT driver
ags
Posts: 386
Is anyone using the INDIRECT driver for the WIZnet module? I took a perfectly functioning prototype (uptime >20 days) and switched it from SPI to INDIRECT, and now it's completely unreliable. I'm pretty sure the connections are correct, as it works sometimes. However, I can't seem to even write a MAC address and then read it back and compare the values correctly.
BTW, I pulled the latest revision (0.12) from the Google code repository today.
BTW, I pulled the latest revision (0.12) from the Google code repository today.
Comments
Someone else reported similar symptoms with both SPI and Indirect drivers.
If you post your code I can run it on my Spinneret and report back.
Note you'll need to change the pin values, and the path to the WIZnet driver. I've made a copy to try to debug. On my setup, when I write MAC 00:00:00:00:FF:FF I read back 00:00:00:00:FF:00 the first time, and 00:00:00:00:FF:C0 in the "dump" output. When I write 255.255.255.0 as the SubnetMask, I read back 255.255.0.0 both times. The IP address and Gateway Address are OK.
Thanks for any ideas.
Argh.