Skip to main content
Associate II
Jan 28, 2025 1:39 PM UTC
Solved

Break at address "0x1fff2f1e" with no debug information available

I am trying to program a stm32l451cet6 microcontroller. My code works perfectly fine for 5-6 debug sessions. After a few debug sessions, this warning pops up with a different address for every hardware I use.Screenshot 2025-01-28 190427.png

When this break at address pops up, my code stops working. I tried debugging and found there was no break point at any line of the code. Why is this break even popping up?

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jan 30, 2025 4:46 PM UTC

It can start in ROM if the FLASH is erased at some point in the reset, startup and erase cycle.

BOOT0 = LOW should be adequate to start viable FLASH code at power up.

Make sure SCB->VTOR points at the FLASH vector table, should be handled in SystemInit()

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

4 replies

TDK
Jan 28, 2025 1:59 PM UTC

You're in the system memory. Few possibilities:

  • Is BOOT0 tied low?
  • Is the vector table set correctly (look at SCB->VTOR)
"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate II
Jan 30, 2025 7:52 AM UTC

The BOOT0 pin is connected to GND. Is this a problem? Should I connect it to VCC or leave it hanging?

TDK
Jan 30, 2025 2:31 PM UTC

BOOT0 should be grounded or pulled to ground.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jan 30, 2025 4:46 PM UTC

It can start in ROM if the FLASH is erased at some point in the reset, startup and erase cycle.

BOOT0 = LOW should be adequate to start viable FLASH code at power up.

Make sure SCB->VTOR points at the FLASH vector table, should be handled in SystemInit()

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..