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.

EK-TM4C1294XL: UDP sendto issue on startup

Part Number: EK-TM4C1294XL

Hello,

I have noticed a strange issue when trying to use sendto() to send UDP packets. The issue appears when I try to send periodically too soon after initialization. Symptoms:

- sendto does not work and reports ENOBUFS for 15-30 seconds, and eventually recovers and starts sending at the correct frequency. (Watching network traffic in Wireshark and SocketTest)

- if I add a delay before starting the periodic sends, I don't see the issue at all, periodic sends just work as soon as they start. (sendto always returns the correct number of bytes successfully sent as opposed to -1 when it's not working and traffic is visible in wireshark and sockettest)

Does anyone know what might cause this?

Tools:

TM4C1294 Dev Kit

TI-RTOS TIVAC 2.16

NDK 2.25

Program:

A modified version of enet_udpecho_client_tirtos using clock module to send periodically (order of 100-200 ms) instead of echo.

Also not entirely sure if this is the right forum, let me know if it should be moved.