2022-07-20 03:11 PM
Hi,
I am using a STM32L4R9ZI programming by STLINK-V3MINI on STM32CubeIde. Once I launch for debug, I get always this message:
"Break at address "0x1fff163e" with no debug information available, or outside of program code."
Code application does not start, as if there is an infinite loop somewhere.
I press the Stop and Restart button and debug starts fine.
This condition is repeatable. It does not happen If the application starts without debugger.
Any suggestions?
Further, every time I launch debug, the IDE opens one or more .c files of the project, line usart.c, task.c and so on.
How can avoid it?
Thank you
2022-07-20 08:34 PM
This is a system memory address, not a flash address. Your MCU does not boot from flash but from internel boot loader. Check boot pin / boot mode (user byte) settings.
hth
KnarfB
2022-07-21 12:51 AM
Hi,
it is a bit clearer. However, the BOOT0 pin is physically connected to GND by a 10k resistor. Looking at boot modes table, it seems I am in the below condition.
Is it possible that debugger erase memory but, at first time, not finding code in flash memory, starts from system memory?
Clicking at stop and run button, the program is downloaded correctly.
2022-07-21 02:00 PM