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.

Compiler/EK-TM4C129EXL: Problem on UDP using Energia and TM4C connect

Part Number: EK-TM4C129EXL
Other Parts Discussed in Thread: ENERGIA

Tool/software: TI C/C++ Compiler

Hi,

I'm programming the EK-TM4C129EXL using Energia.
On my program I'm using UDP to communicate with other devices. But sometimes while sending a packet and the destination IP isn't connect on the network it brakes (frozen the TM4C board ). It stopped on third line (" Udp.endPacket(); ") of the follow example:

1: Udp.beginPacket(Udp.remoteIP(), Udp.remotePort());
2: Udp.write(ReplyBuffer);
3: Udp.endPacket();

It doesn't happen always. This error didn't stop on the first packet sent, it takes about 30s to 2 minutes looping on this example.

Anyone knows how can I solve this problem?


Thanks.