Feather Huzzah 32 Debug Shield
Feather Huzzah 32 Debug Shield
NOTE: This requires additional hardware other than just the ESP32 Dev board. Please read the "Additional Required Hardware" section
What is it?
It is a Shield/FeatherWing for the Adafruit Feather Huzzah 32 ESP32 board that breaks out the JTAG pins to allow connecting an external debugger that enables you to debug your Arduino Sketches using Platform.io. With the debugger you can step through code and change the value of variables on the fly.
Why did you make it?
After watching Andreas Spiess' video on debugging your sketches using Platform.io, I thought a board that broke out the appropriate pins to a 10p IDC connector would be really useful. So instead of connecting your ESP32 board to the ESP-Prog via dupont wires, you can just use a 10P ribbon cable.
Additional Required Hardware
You will need the following:
- ESP-Prog JTAG board, available from Aliexpress for around $20 delivered (It is also available on mouser, but shipping is very expensive to me at least)
- Adafruit Feather Huzzah 32.
What comes with the kit?
- 1no. Feather Huzzah 32 Debug Shield PCB
- 1no. 10p IDC connector
Stackable Headers
The ideal headers to pair with this would probably be stackable headers, so you could even potentially use it inline with existing shields/featherwings (once they do not use the JTAG pins). I can not source these at a reasonable price so I would end up having to sell them at a much more expensive cost than Adafruit or other official resellers, so I don't see much point! Here are some links for where you can buy them
Used Pins
There are 4 GPIO pins that are used by this featherwing that can not be used for other purposes while debugging.
NOTE: GPIO13 is also the built-in LED pin on the Huzzah32 so the built-in LED can not be used while using this board.
ESP-Prog | Huzzah32 GPIO |
---|---|
TDI | 12 |
TCK | 13 |
TMS | 14 |
TDO | 15 |
Additional Info
Please note: I could not program the ESP32 (via it's own USB cable) while the ESP-Prog was connected to it. Disconnecting the ribbon cable worked.