cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L562VET6Q stuck on interrupt enable

Simone Caron
Associate

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

1 REPLY 1
KnarfB
Principal III

0xbf9xxxx is a system memory address. Check that the chip boot configuration and check the ISR vector table.

hth

KnarfB