Associate II
September 3, 2019
Question
board restarts after one hour using FreeRtos and LWIP
- September 3, 2019
- 5 replies
- 3075 views
I'm testing an UDP client/server using a NUCLEO-F429ZI (Ethernet).
Code is generated thanks to STM32CubeMx.
I'm using FreeRTOS and LWIP.
DHCP, ICMP and UDP are enabled. TCP is disabled.
IP stuff is done using socket API, one thread for receiving, one thread for sending.
The sender thread sends a message to a dedicated PC every second and write the same message to the uart.
Both threads are started by the default thread after MX_LWIP_Init();
All works fine except that after one hour the MCU restarts : DHCP is renewed and message count restarts at 1.
I did same kind of test (other LWIP API) whitout FreeRtos, same result
Any idea where this can come from ?
Any idea what I could try to understand the issue ?
code and MCU config are attached