Sysprogs forums › Forums › VisualGDB › ESP8266 GDB debugging Adafruit Huzzah ESP8266 breakout
Tagged: esp8266 huzzah adafruit gdbstub
- This topic has 5 replies, 3 voices, and was last updated 10 years ago by
support.
-
AuthorPosts
-
April 4, 2016 at 00:47 #7875
bdelarre
ParticipantAnyone had any luck getting any of the samples working with the gdbstub on a board like this?
https://learn.adafruit.com/adafruit-huzzah-esp8266-breakout/pinouts
I’ve been programming the board over the serial uart and would like to use the gdbstub with the gdb debugger. I flashed the IoT LEDBlink example without the gdbstub enabled and it worked perfectly. But once I turned on the gdbstub and launched the debugger I got the following:
C:\SysGCC\esp8266\python27\python.exe "C:\SysGCC\esp8266\esp8266-bsp\esptool.py" elf2image "E:\Workspace\BlinkyTest\LEDBlinkDebug\LEDBlinkDebug/Debug/LEDBlinkDebug.elf" --flash_freq 40m --flash_mode qio --flash_size 4m set remotebaud 74880 &"set remotebaud 74880\n" ^done target remote \\.\COM23 &"target remote \\\\.\\COM23\n" ~"Remote debugging using \\\\.\\COM23\n" ~"Ignoring packet error, continuing...\n" &"warning: unrecognized item \"timeout\" in \"qSupported\" response\n" Any suggestions how to get this running?
April 5, 2016 at 19:15 #7888support
KeymasterVisualGDB should normally fix this problem for you. Simply select your port in VisualGDB Project properties and it should get it to work.
April 10, 2016 at 01:46 #7928bdelarre
ParticipantYeah I tried that multiple times, it wasn’t a port problem, since VisualGDB could happily flash the firmware over to the device, so communication was happening. But the gdb connection never worked no matter what I tried.
In the end I bought an Olimex ARM-USB-TINY-H jtag debugger and I now have that up and running instead.
April 11, 2016 at 03:20 #7931support
KeymasterHi,
Good to know it works now. BTW, we have recently released a new toolchain with an updated gdb that should be a bit more stable.
May 8, 2016 at 23:33 #8182EklundJL
ParticipantBdelarre-
I had the same problem (compiles and flashes without the stub, hangs with it) using the gdbstub even with the latest build so I’m considering getting the Olimex debugger.
When you used the Olimex ARM-USB-TINY-H jtag debugger with the Huzzah board did you
- Need to level translate (esp8266 uses 3.3 v)?
- Have problems installing the required drivers (and disabling others)?
May 10, 2016 at 04:49 #8191support
KeymasterHi,
We did not use a level translator; the Olimex debugger worked just fine without it.
If you encounter any driver issues, simply run UsbDriverTool and install the WinUSB driver for your Olimex debugger via right-click.
-
AuthorPosts
- You must be logged in to reply to this topic.