RTOS Scheduler Restarts while MCU has been running for a while
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?
RTOS Scheduler Restarts while MCU has been running for a while
the RTOS Tasks seem to restartThat 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?
RTOS Scheduler Restarts while MCU has been running for a while
the RTOS Tasks seem to restartThat 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?