This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSP432E401Y:udp_send:没有到 IP 的路由-未检测到以太网检测

Guru**** 2392905 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1516177/msp432e401y-udp_send-no-route-to-ip---ethernet-reconnetion-not-detected

器件型号:MSP432E401Y

工具/软件:

您好团队:

当以太网电缆断开并重新连接时、我尝试使 UDP 正确发送。

当以太网电缆断开连接时、我会收到"udp_send:没有到192.168.254.5的路由"、但即使重新连接后、情况仍然相同。 它无法向 PC 发送任何数据、我还通过 Wireshark 确认了这一点。

我从 Resource Explorer 中获取了 lwip 的示例代码、并从 https://www.ti.com/lit/an/spna248/spna248.pdf 获取了 UDP 链接。 因此、正常情况下完全没有问题。 但仅在这种情况下、它就无法重新连接。

您能否告诉我、是否有解决方案可用于此目的? 或就此进一步支持我。

提前感谢。