2022-02-10 02:47 AM
Hi,
I'm working on una custom board with the STM32L562VET6Q, and i'm also using the STM32CubeIDE for developing and the STlinkV2 for debugging.
I'm struggling because if any interrupt is enabled the program hang.
I have made a simple configuration with the Cube with only the RTC interrupt enable. Doing the step by step debugging, every time the HAL_NVIC_EnableIRQ(RTC_IRQn); is called the program stuck. Pausing the debugger it is show the assembly line :
0bf976c8: b.w 0xbf976c8
Also the debugger lose the access to the memory
If i don't enable the RTC i noticed that the void SysTick_Handler(void) is not called either.
So there is something wrong with the interrupts.
The power supply looks good.
The same code works perfectly on the same board with the STM32L552VET6Q soldered.
Any idea?
Thank you,
Simone
2022-02-10 02:59 AM
0xbf9xxxx is a system memory address. Check that the chip boot configuration and check the ISR vector table.
hth
KnarfB