WIZnet Developer Forum

W5100, Loopback from W5100E01-AVR evaluation board, Receive data junk

Hi, I have ported the evaluation code to my own hardware project.
The ping part is working and the device reply with the IP address given to it.
Using the loopback_tcps part of the code I am trying to get the loopback of hex bytes working.
I am using realterm (attached print screens) to send i.e. 4 hex bytes to the device from my laptop.
It loop back what looks like random junk data.
However I also send the number of bytes “len” from the code to a RS485 coms on uart and it reeds the correct length.
Any ideas ?

No worries, found the problem…

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.