Skip to main content
DPete.1
Associate
January 14, 2021
Question

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

  • January 14, 2021
  • 3 replies
  • 1037 views

..

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
January 14, 2021

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 VenmoUp vote any posts that you find helpful, it shows what's working..
DPete.1
DPete.1Author
Associate
January 15, 2021

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
Chief
January 15, 2021

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