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.

TMDSCNCD28388D:CM core Hard Fault

Part Number: TMDSCNCD28388D


Hello
I am currently adding FreeRTOS to the Lwip sample project and trying to get it working.
Ethernet_Init works without any problem, but when lwip_init function executed by tcpip_init in Lwip_Init is executed, Hard Fault occurs during debugging and it cannot be operated.

As a result of analysis, it is assumed that there is a problem with the contents executed by tcp_init in the lwip_init function.
A Hard Fault seems to occur when compiling with the LWIP_RAND() macro (rand function) in tcp_init included in the code.

I think it is probably necessary for the initialization behavior, but how can I solve it?

Also, when performing tcp communication with lwip, does the port have to be random?

thank you.