Both the Io and Proteus processor boards can accept a specially designed JTAG board offering hardware debugging. Our JTAG board is based on the FT232H and it enables comprehensive JTAG debugging support. You can use OpenOCD and GDB in combination to use it but our recommendation is to use PlatformIO. PlatformIO has taken away all the hard work of configuring OpenOCD and GDB. You simply select it is your debugging choice as described here. Take a look at how easy it is to use with PlatformIO’s Unified Debugger. Just plug it in and start debugging! No more printing to the terminal!
You can configure the debugging tool using the debug_tool option in platformio.ini. If you are using an Io board (iotbusio in Platformio) or a Proteus board (iotbusproteus in PlatformIO) then you do not need to explicitly set debug_tool as it will be set implicitly:
[env:myenv] platform = ... board = ... debug_tool = iot-bus-jtag
|IOT-Bus JTAG Pin||Board JTAG Pin|
|3V3||Positive Supply Voltage — Power supply for JTAG interface drivers|
|GND||GND - Digital Ground|
|12||TDI - Test Data In pin|
|14||TMS - Test Mode State pin|
|15||TCK - JTAG Return Test Clock|
|13||TDO - Test Data Out pin|
Click image to enlarge.
|Espressif32||Espressif Systems is a privately held fabless semiconductor company. They provide wireless communications and Wi-Fi chips which are widely used in mobile devices and the Internet of Things applications.|
|Arduino||Arduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences.|
|ESP-IDF||Espressif IoT Development Framework. Official development framework for ESP32.|