cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, when trying to programm a STM32L151RBT6A with STM32IDE I'm getting the message: "Break at address "0xf3af4804" with no debug information available, or outside of program code." What can the reason be? Thank you in advance. BR David

DPete.1
Associate
 
3 REPLIES 3

Does it run at all? You're going to establish more context.

Custom board? If you turn off "run to main()" can you step out of Reset_Handler?

Can you instrument follow with output to UART or SWV channel?

Bad function pointers.

Stack frame corruption, ie out-of-bounds local/auto variables, or too small.

Bad vectors table content.

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

It is a custom board. This project is running well with IAR until now.

Now I would like to port it to the STM32CubeIDE.

I created a new project for the right µC and added all source and header files.

I checked now the internal flash memory.

The software is much bigger then the bytes which are writen by the IDE. Also the hex file is to small.

I couldn't find a "run to main()" settings. Disabling the "Stop at startup at" setting did not help.

Uwe Bonnes
Principal III

Your setup is screwed and you programmed nonsense to the board. Recheck your setup and every step you did. The error above show probably a bad jump to some undefined reference