7 years, 6 months ago.

ISR stack debugging on a xDOT (STM32L151)

I added fill_isr_stack_with_canary() to startup_stm32l151xc.S, but it doesn’t seem to work (ISR stack is still reported 100% used all the time).

…
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
//bl __libc_init_array
/* Call the application’s entry point.*/
//bl main
LDR R0, =fill_isr_stack_with_canary
BLX R0
bl _start
.size Reset_Handler, .-Reset_Handler

Does anyone know what could be the matter here?

Question relating to:

Be the first to answer this question.