Skip to content

Unable to debug with ESP8266 core 2.4.2 #19

@Menion2k

Description

@Menion2k

Hello
I am struggling in making the gdb debug working on my NodeMCU ESP-12E, using the test blink.ino, in Sloeber standalone.
I use the jantje GIT master (that works with core 2.4.2)
I have configured the target in order to add -ggdb -Og option
I built the sketch and upload it on the target, then tried to connect with a GDB debug target with the .\com4 serial connection. Of course I set the host gdb to the jantje delivere one and set gdbcmds as well.
The debug target is set to stop on setup()
I try to attach to the target but after 10 seconds more or less I get this error:

Error in final launch sequence:

Failed to execute MI command:
-target-select remote .\\.\\com4
Error message from debugger back end:
Bogus trace status reply from target: timeout
Failed to execute MI command:
-target-select remote .\\.\\com4
Error message from debugger back end:
Bogus trace status reply from target: timeout
Bogus trace status reply from target: timeout

It seems that the com4 is correctly opened but there is no answer from the target.
I have followed the Sloeber video on youtube, so I really don't know what can be the problem
Thanks for the support

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions