Skip to main content
Associate II
August 28, 2023
Solved

problem with stspin32g4 debugging

  • August 28, 2023
  • 1 reply
  • 2737 views

Hello, I need help with stspin32g4 

I'm programming it with nucleo-64 SWD

I wrote a program with blinking led, then trying to start debbugging, i got 

"Break at address "0x1fff4b14" with no debug information available, or outside of program code."

despite this downloading goes on,

but led doesn't blinking, it starts when i turn off and turn on power supply of stspin32g4, so it looks like it is on breakpoint

 

    This topic has been closed for replies.
    Best answer by waclawek.jan

    > PB8 isn't connected

    To prevent bootloader entry, you may want to pull it down; or you may want to set nSWBOOT0=0 together with nBOOT0=1.

    JW

    1 reply

    waclawek.jan
    Super User
    August 29, 2023

    0x1fff4b14 means, the program runs in the built-in bootloader (System area).

    How is PB8 connected, and how are the Option bytes set?

    JW

    TomuelloAuthor
    Associate II
    August 29, 2023

    PB8 isn't connected 

    I didn't set any option bytes

    waclawek.jan
    waclawek.janBest answer
    Super User
    August 30, 2023

    > PB8 isn't connected

    To prevent bootloader entry, you may want to pull it down; or you may want to set nSWBOOT0=0 together with nBOOT0=1.

    JW