This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Loosing ability to communicate via UDP

I am using an STM32f407 MCU with Keil UV4 and RTX. My application requires bidirectional UDP communication between several machines with static IP addresses and the MCU. I am running into a situation where I can communicate fine and then I suddenly can't. In those situations, I try to send data to the MCU from my computer, but wireshark shows my computer sending ARP request of the IP address of the MCU and no data. Should this be automatically resolved by calling the Main_TcpNet function often or do I also need to be purposely dealing with ARP?

Thanks in advance.

Parents
  • To state the problem another way, how does the MCU handle ARP requests? Should main_tcpNet() handle them or do I need to be dealing with them separately?

    I can cheat and send:

    arp_cache_ip((U8*)PC_IP, ARP_FIXED_IP);

    on startup (or periodically) to tell my computer the MCU's MAC address. This seems to help the situation, but not resolve it. The MCU should be able to handle ARP requests properly.

Reply
  • To state the problem another way, how does the MCU handle ARP requests? Should main_tcpNet() handle them or do I need to be dealing with them separately?

    I can cheat and send:

    arp_cache_ip((U8*)PC_IP, ARP_FIXED_IP);

    on startup (or periodically) to tell my computer the MCU's MAC address. This seems to help the situation, but not resolve it. The MCU should be able to handle ARP requests properly.

Children