Skip to main content
Associate
May 3, 2024
Solved

Cant enter into debug mode

  • May 3, 2024
  • 3 replies
  • 2157 views

I am fresher here for the ST cube IDE i am trying to debug my code but it showing this error msg

    Best answer by AScha.3

    So try with CubeProgrammer , connect, and show screenshot .

    Info: with fake st-link V2 it won't work .

    But we see then, what it's telling .

     

    3 replies

    Uwe Bonnes
    Chief
    May 3, 2024

    Is the gdb server set up? Did you try to start  the gdb server  manual? Does the Cube IDE command sequence point to the right places?
    Probably there is also a log windows somewhere. Output there will help more than the pop-up.

    NeetuAuthor
    Associate
    May 4, 2024

    Everything looks fine on the server side. it also follow command sequence to right places. can't find log windows 

    AScha.3
    Super User
    May 4, 2024

    Dont see something in console output ?

    ->

    AScha3_0-1714808235758.png

     

    +

    What you set in debug settings for your project ?

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    NeetuAuthor
    Associate
    May 4, 2024

     

    This is my  console output.

    Capture3.PNG

    The debug settings are

    Capture4.PNG

    AScha.3
    Super User
    May 4, 2024

    What is your st-link? The V2 stick?

    Try connect: with type: software reset.

     

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    NeetuAuthor
    Associate
    May 4, 2024

    yes, The V2 stick 

    tried with software reset still facing the same