Skip to main content
Senior
August 23, 2024
Solved

Error while debug

  • August 23, 2024
  • 2 replies
  • 3982 views

WHile debugging for a custom board this is what I am facing Break at address "0x1fff4080" with no debug information available, or outside of program code.

 

This is the code that I am trying to run . What is the reason for this error and how it can be curated .  I have already verified the most common reason i.e. BOOT0 pin which has been pulled low.

 

I have attached the main.c file to this post

 

 

 

Best answer by TDK

In your system file, uncomment this line:

/* #define USER_VECT_TAB_ADDRESS */

 so it looks like this:

 

#define USER_VECT_TAB_ADDRESS

 

 

Register values can be viewed when debugging in the SFRs window. Window -> Show View -> SFRs or by adding them as expressions. For example, when your code is paused, add "SCB->VTOR" as an expression.

TDK_0-1724763808364.png

 

2 replies

Andrew Neil
Super User
August 23, 2024

you need to provide more information - please see the posting tips:

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

 


@Rituraj wrote:

WHile debugging for a custom board this is what I am facing Break at address "0x1fff4080" with no debug information available


When/where, exactly, does this occur?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
RiturajAuthor
Senior
August 23, 2024

It starts as soon as I enter superwhile at time of debugging. I have already attached the main.c file

TDK
Super User
August 23, 2024

Looks like it's in the bootloader.

Is BOOT0 tied low?

"If you feel a post has answered your question, please click ""Accept as Solution""."
TDK
TDKBest answer
Super User
August 27, 2024

In your system file, uncomment this line:

/* #define USER_VECT_TAB_ADDRESS */

 so it looks like this:

 

#define USER_VECT_TAB_ADDRESS

 

 

Register values can be viewed when debugging in the SFRs window. Window -> Show View -> SFRs or by adding them as expressions. For example, when your code is paused, add "SCB->VTOR" as an expression.

TDK_0-1724763808364.png

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
RiturajAuthor
Senior
August 28, 2024

Thankyou It solves the issue I was having