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.
I have a strange problem. I have a TIVA design using LWIP and UDP. The design is working fine except that sometimes the board cant be pinged. I just get a destination host unreachable error. It does this for a while then suddenly starts working. Or sometimes if I add a breakpoint on the LWIP timer handler then restart it it starts working fine. Does anyone have any idea why this would be happening? It could be down to the company network and nothing to do with the board. But the IT people are saying that the network is OK, so thought I would ask the question. Thanks
Hi Jon,
I'm not really sure what is the cause of the problem. I would have expected that when the ping fails, it will remain fail rather than to work again suddenly. How long will the board run before the ping fail? I will suggest an experiment. Run the TivaWare Ethernet example such as enet_lwip and do a ping to the same board. If the ping never fails then it at least tells us that there is nothing wrong with the network and the board hardware. The focus will be on the UDP program itself. Below are two articles that you might find helpful. If the ping also fails with the enet_lwip then you might to check your network again or perhaps change the cable to see if that helps.
https://www.systosys.com/2020/01/fix-destination-host-unreachable.html
https://www.lifewire.com/how-to-solve-destination-host-unreachable-error-4686734