botofancalin / Esp32_debug_template

A template project for debugginf esp-idf projects on VsCode
Apache License 2.0
55 stars 6 forks source link

flash does not connect and error 127 when trying to run debugger #2

Open benbiles opened 4 years ago

benbiles commented 4 years ago

ESP-prog dubugger connected to Lyrat 4.3 Windows 10

I have followed instructions and flash times out. I tried changing terminal to git and ubuntu intergrated in JSON settings file in template but didn't appear to help.

If I try to run debugger mode I get this error

Error: couldn't bind tcl to socket: No error The terminal process terminated with exit code: 127

do you have any idea what exit code: 127 could be ?

botofancalin commented 4 years ago

The terminal don't have anything to do with the debugger... Make sure you ALLOW GDB server access to network when asked. Your problem may be caused by OpenOCD that's unable to connect to GDB because you didn't allowed GDB to access the network.