smurali wrote on Thursday, February 15, 2018:
We have FreeRTOS running on ARM M4. After running the application for a while, the RTOS Tasks seem to restart without the MCU resetting. What could cause this?
smurali wrote on Thursday, February 15, 2018:
We have FreeRTOS running on ARM M4. After running the application for a while, the RTOS Tasks seem to restart without the MCU resetting. What could cause this?
heinbali01 wrote on Thursday, February 15, 2018:
the RTOS Tasks seem to restart
That is not normal
I would first check the regular things, as described here.
Make sure that all task stacks are big enough, make sure that configASSERT()
is defined. Could there be a relation with interrupts or exceptions? What about the Watchdog Timer? Are you sure it isn’t causing a reset? Can you put a break at the beginning of main()
, or even earlier?
heinbali01 wrote on Thursday, February 15, 2018:
the RTOS Tasks seem to restart
That is not normal.
I would first check the regular things, as described here.
Make sure that all task stacks are big enough, make sure that configASSERT()
is defined. Could there be a relation with interrupts or exceptions? What about the Watchdog Timer? Are you sure it isn’t causing a reset? Can you put a break at the beginning of main()
, or even earlier?