cancel
Showing results for 
Search instead for 
Did you mean: 

UDP echo server stress test crash in RTOS - but succeed in bare-metal

ranran
Senior II

Hello,

In STM32H743 there is echo udp server test.

We test it using stress test from PC (sending udp)

It behaves very well, without any issues.

We than moved to LwIP_HTTP_Server_Socket_RTOS, and added the udp echo test there (we need the udp test running with RTOS), it behaves ok in low frequency but on doing stress test the ip stack (lwip) seems to get crash, i.e. it can't ping after stopping the test.

We tried several things, but nothing helped so far:

  1. speed optimization
  2. change TCPIP_THREAD_PRIO     from osPriorityHigh to   osPriorityRealtime

Doing icmp (ping) stress test - seems to work in the same project, so the problem seems to be related to udp.

Is there any idea ?

Ran

0 REPLIES 0