Problem with ps and kthread: Reproducible crash

2023-05-11 Thread Sebastien Lorquet
Hello, I have a stm32h7 board, based on the stm32h743zi2 nucleo. I have activated the watchdog. The method to do the kthread was copied from this : https://github.com/apache/nuttx/blob/master/boards/arm/stm32/photon/src/stm32_wdt.c#LL146C7-L146C7 The watchdog works, the system is stable But

Re: Problem with ps and kthread: Reproducible crash

2023-05-11 Thread raiden00pl
Have you tried to increase the stack size for NSH ? Stack overflow in NSH can cause some really weird hard faults, not that easy to diagnose. czw., 11 maj 2023 o 18:34 Sebastien Lorquet napisaƂ(a): > Hello, > > I have a stm32h7 board, based on the stm32h743zi2 nucleo. > > I have activated the w

Re: Problem with ps and kthread: Reproducible crash

2023-05-11 Thread Sebastien Lorquet
The stack is a good candidate, I see that I reported stack_alloc_ptr = 0x38004328, stack_base_ptr = 0x38004368 but at the crash we have : R2: 38003a1c SP: 380038c0 I will try that tomorrow, thanks for the idea. Sebastien On 5/11/23 19:39, raiden00pl wrote: Have you tried to increase the s