2015-08-16 11:59 PM
I have a system(freeRTOS) running well on stm32f401 platform. To reduce the PowerConsumption, i added a HAL_PWR_EnterSLEEPMode() into the void vApplicationIdleHook( void ). The system will crash in seconds with all core cpu registers(R0-R12, SP LR) value as 0xFFFFFFFF.
1) What kind of error causes it?2) How to even start to debug this issue?2015-08-17 05:59 AM
Sounds more like a failure in your debugger.
Instrument your code better, and disconnect the debugger?