Hi all,
I hope someone will be able to help me with my issue. I am trying to send out an UDP packet but without any luck. The only instance when I send out the packet succesfully is when I first recieve an UDP packet and then send a reply to the same address as if the function first needed to know the way through network. But I need to send out a packet and then wait for the reply and I cannot figure out how to make this work. I have implemented the function that sends the packets just like mentioned in the examples including the check for successfull addres obtain from DHCP but no luck. Anyone please tell me where I am making a mistake.
Thanks, Radovan.
Where do I set this? I am not quite sure what you mean by UDP debug and Full debug.
Take a look at the LEDClient example. There is a target defined for Debug. Check there how it is configured and do the same. In the Net_Debug.c enable UDP debugging to Full debug.
Thank you for the debug hint. There seems to be the problem on Ethernet layer:
ETH ERR: Unresolved MAC for IP: 192.168.1.154
This is the error I got.
Dear Franc,
can you tell me what to do in case of this error?
This is the reason why replying worked. The processor knew the MAC of the sending IP.
www.keil.com/.../rlarm_tn_using_udp_arpempty.htm