cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WL30KBV6 Break at address "XXXXXXX" with no debug information available, or outside of program code.

walkercs40
Visitor

I am trying to toggle an led and in the debugger I am getting the error: "Break at address "XXXXXXX" with no debug information available, or outside of program code "; before the program ends itself. I've sourced the error back to the HAL_Delay, I think the HAL_GetTick is getting stuck in a infinite while loop and not updating

 

I am using the stm32WL30KBV6 and currently only have decoupling capacitors, and VCap hooked up to it. I am using the internal clocks. I am debugging over SWD. I saw a previous post about the possible issue being boot0 being held, but I couldn't find a boot pin for this specific MCU. My timebase source in my IOC file is SysTick.

 

I'm pretty lost right now, so any help is appreciated

5 REPLIES 5
TDK
Super User

Hold PA10 low during reset to prevent bootloader from loading. AN2606 has details on how to enter the bootloader.

Perhaps show a full screenshot of STM32CubeIDE when the message comes up. Why do you think it's in HAL_Delay?

If you feel a post has answered your question, please click "Accept as Solution".

I just saw the PA10 thing, and have it pulled low right now. Here are screen shots of my debug in order

walkercs40_3-1765158357603.png

walkercs40_4-1765158370353.png

walkercs40_5-1765158379711.png

walkercs40_0-1765159117498.png

Edit:

what's interesting is that when I call the get tick function it sets the variable value to 0 

walkercs40_0-1765159890024.png

 

 

 

TDK
Super User

Power and decoupling caps hooked up according to the datasheet?

TDK_0-1765159688850.png

Looks kind of like an interrupt fired which pointed to erased memory, but that shouldn't really happen. You can look at VECTACTIVE field somewhere in SCB registers to see what interrupt it's in. Probably hard fault or something power related is my guess.

I don't think this is a code issue.

It's not in the bootloader.

If you feel a post has answered your question, please click "Accept as Solution".

I currently have C2, C3, C4, C8, C10 connected and nothing else. VECTACTIVE said as 0x0 for the entire loop and then ends as 0x3 ... going to look up what it means, but posting this incase you find an issue

Subtract 16 from VECTACTIVE and look up in IRQn_Type. In this case, -13 is HardFault_IRQn. STM32CubeIDE has a hard fault analyzer.

Is GND hooked up to 13, 27, and exposed pad?

 

Edit: Look for something in your power scheme which is different from the example layouts.

If you feel a post has answered your question, please click "Accept as Solution".