Skip to main content
Graduate
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

 

 

 

    This topic has been closed for replies.
    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

    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?

    RiturajAuthor
    Graduate
    August 23, 2024

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

    Super User
    August 23, 2024

    Looks like it's in the bootloader.

    Is BOOT0 tied low?

    TDKAnswer
    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

     

    RiturajAuthor
    Graduate
    August 28, 2024

    Thankyou It solves the issue I was having