cancel
Showing results for 
Search instead for 
Did you mean: 

Break at address "0x1fff5e8c" with no debug information available, or outside of program code. error.

KKIM.6
Senior

I'm trying to program STM32WBR55VGY microcontroller in my custom board.

Recently, I succeed to debug my microcontroller but after one time, I can see this message on the STM32cubeIDE during debugging and the microcontroller does not work properly.

"Break at address "0x1fff5e8c" with no debug information available, or outside of program code. error."

How can I solve this problem?

17 REPLIES 17
KKIM.6
Senior

In the disassembly, this problem happens when starting HAL_Init();

Suggests it's booting from ROM due to BOOT0 high/floating, or FLASH not containing valid image.

M​ake sure your code sets the vector table address properly via SCB->VTOR

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

Thanks for rely.

Unfortunately, I'm not professional that can understand what you said.

I know there is boot0 boot1 pin but I don't know how to use it and how to setup it in the STM32cubeMX and cubeIDE.

Is there anything I can know this?

By the way, the problem happen again even though I replaced the microcontroller.

The pin state at boot ​is determined by your board design

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

Unfortunately, my board doesn't assigned the boot0 pin.

Because it is BGA pin, I cannot make any manual contact for it.

Is there anything other method?

>>Is there anything other method?

Perhaps there's a setting via the Option Bytes?

Best to read and understand the documentation before committing to a design.

>>Because it is BGA pin, I cannot make any manual contact for it.

If you're replacing parts, perhaps you can drill out the PCB at the ball location. Perhaps look at the gerbers and see if there's the possibility

https://www.st.com/resource/en/reference_manual/rm0434-multiprotocol-wireless-32bit-mcu-armbased-cortexm4-with-fpu-bluetooth-lowenergy-and-802154-radio-solution-stmicroelectronics.pdf

0693W00000UnkGrQAJ.jpg

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

Drilling is impossible in current design because there is some path passing that area.

However, I can access to the boot0 pin before assembly. is it possible to access?

By the way, is it general method to boot and programming the micrcocontroller?

In the manual, it has internal bootloader and it is possible to use USART but I cannot find that option in IDE and connection . -> Dose JTAG use USART?

I'm watching AN2606 but still hard to understand and thinking overall situation.

The JTAG/SWD works at a gate (flip-flop) level to access internal elements of the IC, via what was classically called scan-chains. The is unrelated to the USART, USB, SPI, I2C, CAN methods which are facilitated by code that is ROM'd into the product, providing software defined/controlled interfaces.

The BOOT state can be controlled via the Options Bytes in the STM32WB, see reference manual page shown in post above.

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

I have two question,

First, if I want to use SWD programming, Do I need boot0 pin to activate bootloader?

Second, I cannot see boot1 pin in my microcontroller STM32WB55VGY6TR. Do you know where is it?