ESP-Prog
ESP-Prog is one of Espressif’s development and debugging tools, with functions including automatic firmware downloading, serial communication, and JTAG online debugging. ESP-Prog’s automatic firmware downloading and serial communication functions are supported on both the ESP8266 and ESP32 platforms, while the JTAG online debugging is supported only on the ESP32 platform. Official reference can be found here.
Configuration
You can configure debugging tool using debug_tool option in “platformio.ini” (Project Configuration File):
[env:myenv]
platform = ...
board = ...
debug_tool = esp-prog
If you would like to use this tool for firmware uploading, please change upload protocol:
[env:myenv]
platform = ...
board = ...
debug_tool = esp-prog
upload_protocol = esp-prog
More options:
Drivers
- Windows:
- Mac:
macOS contains default FTDIUSBSerialDriver driver which conflicts with debug tools which are based on this chip. FTDI Chip company recommends removing this default driver from a system. Everything should work after system rebooting. See detailed instruction in official application note (Page 16, Section 4: Uninstalling FTDI Drivers on OS X) AN134: FTDI Drivers Installation guide for MAC OS X
- Linux:
Please install “udev” rules 99-platformio-udev.rules. If you already installed them before, please check that your rules are up-to-date or repeat steps.
Wiring Connections
ESP-Prog JTAG 10-Pin Connector |
JTAG Signal |
ESP32 Pin |
ESP32-S2 and ESP32-S3 Pin |
ESP32-C2, ESP32-C3, ESP32-C6, and ESP32-P4 Pin |
ESP32-H2 Pin |
Description |
---|---|---|---|---|---|---|
1 |
VDD |
VDD |
VDD |
VDD |
VDD |
Positive Supply Voltage — Power supply for JTAG interface drivers |
3 |
GND |
GND |
GND |
GND |
GND |
Digital ground |
2 |
TMS |
GPIO14 |
GPIO42 |
GPIO4 |
GPIO2 |
Test Mode State |
4 |
TCK |
GPIO13 |
GPIO39 |
GPIO6 |
GPIO4 |
JTAG Return Test Clock |
6 |
TDO |
GPIO15 |
GPIO40 |
GPIO7 |
GPIO3 |
Test Data Out |
8 |
TDI |
GPIO12 |
GPIO41 |
GPIO5 |
GPIO5 |
Test Data In |
Tutorials
Platforms
Name |
Description |
---|---|
ESP32 is a series of low-cost, low-power system on a chip microcontrollers with integrated Wi-Fi and Bluetooth. ESP32 integrates an antenna switch, RF balun, power amplifier, low-noise receive amplifier, filters, and power management modules. |
Frameworks
Name |
Description |
---|---|
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. |
|
Espressif IoT Development Framework. Official development framework for ESP32 chip |
Boards
Note
For more detailed board
information please scroll tables below by horizontal.
Name |
Platform |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
External |
ESP32S3 |
240MHz |
16MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
520KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
8MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32S3 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
8MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
16MB |
320KB |
||
External |
ESP32 |
240MHz |
8MB |
320KB |
||
External |
ESP32C3 |
160MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32S3 |
240MHz |
16MB |
320KB |
||
External |
ESP32S3 |
240MHz |
4MB |
320KB |
||
External |
ESP32C3 |
160MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32C3 |
160MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
16MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
16MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32C3 |
160MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32C3 |
160MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
16MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
4MB |
320KB |
||
External |
ESP32C3 |
160MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
16MB |
320KB |
||
On-board |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32C3 |
160MHz |
4MB |
320KB |
||
External |
ESP32C3 |
160MHz |
4MB |
320KB |
||
External |
ESP32C6 |
160MHz |
4MB |
320KB |
||
On-board |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
16MB |
320KB |
||
On-board |
ESP32S3 |
240MHz |
8MB |
320KB |
||
On-board |
ESP32S3 |
240MHz |
8MB |
320KB |
||
On-board |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32 |
240MHz |
16MB |
520KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
8MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32 |
240MHz |
8MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
16MB |
320KB |
||
External |
ESP32S3 |
240MHz |
16MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
On-board |
ESP32S3 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32S3 |
240MHz |
16MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32S3 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
1.25MB |
||
External |
ESP32 |
240MHz |
4MB |
1.25MB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
4MB |
320KB |
||
External |
ESP32C3 |
160MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32C3 |
160MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
16MB |
320KB |
||
External |
ESP32 |
240MHz |
16MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
8MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
1.25MB |
||
External |
ESP32C3 |
160MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
1.25MB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
16MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
16MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32S3 |
240MHz |
16MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
8MB |
320KB |
||
External |
ESP32C3 |
160MHz |
4MB |
320KB |
||
External |
ESP32C3 |
160MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32C3 |
160MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
16MB |
320KB |
||
External |
ESP32S3 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
16MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32C3 |
160MHz |
384KB |
400KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
16MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S2 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32 |
240MHz |
4MB |
320KB |
||
External |
ESP32S3 |
240MHz |
7.94MB |
2.31MB |
||
External |
ESP32S3 |
240MHz |
7.94MB |
8.31MB |