Skip to main content
Associate II
January 28, 2025
Solved

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

  • January 28, 2025
  • 3 replies
  • 888 views

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?

Best answer by Tesla DeLorean

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()

3 replies

TDK
Super User
January 28, 2025

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
January 30, 2025

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

TDK
Super User
January 30, 2025

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
January 30, 2025

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 VenmoUp vote any posts that you find helpful, it shows what's working..