ESP32

SoCs in the ESP32 series use Tensilica Xtensa LX6 or LX9 CPU, or a RISC-V CPU.

Target name

SoC

Probe

ESP32_UART

ESP32

UART

Supported Debug Probes

Programming over UART (USB-CDC)

UART connection for ESP32

PLT Signal

USB-CDC probe Signal

ESP32 Signal

n.c.

UARTx_RXD

TXD (GPIO1)

n.c.

UARTx_TXD

RXD (GPIO3)

n.c.

UARTx_RTS

EN

3V3

n.c.

3V3

GNDx

GND

GND

GNDx

GND

GPIO0

- command: define DUT_UART "UART2" # UART channel for ESP32 UART interaction
- command: define DUT_POWER "3V3"  # Power rail to control ESP32
# - command: define FTDI_VIDPID "0403:6001" # FTDI (generic)
- command: define FTDI_VIDPID "0403:6010" # FTDI FT2232 series

- command: uartCfg %DUT_UART% 115200
  id: "%FTDI_VIDPID%"
  interface: "0"  # FTDI Channel A
  # interface: "1"  # FTDI Channel B
  # path: "7"  # USB Path (7: Front, right connector)

# Power cycle sequence to put ESP32 into programming mode.
- command: power %DUT_POWER% on
- command: sleepms 100
- command: power %DUT_POWER% off
- command: sleepms 100
- command: power %DUT_POWER% on
- command: sleepms 100

- command: identify ESP32_UART %DUT_UART%

# Program bootlader, partition table, and binary.
- command: program ESP32_UART %DUT_UART% 0x1000:esp32-wroom-32_bootloader.bin,0x8000:esp32-wroom-32_partitions_singleapp.bin,0x10000:esp32-wroom-32_hello_world_zephyr_2.7.0.bin

Programming over UART (built-in UART)

UART connection for ESP32

PLT Signal

ESP32 Signal

UARTx_RXD

TXD (GPIO1)

UARTx_TXD

RXD (GPIO3)

UARTx_CTS

n.c.

UARTx_RTS

EN

UARTx_VDD

3V3

GNDx

GND

GNDx

GPIO0

# UART0 (HD78)
# - command: define DUT_UART "UART0" # UART channel for ESP32 UART interaction
# - command: define DUT_POWER "UART0" # Power rail to control ESP32

# UART1 (HD78)
- command: define DUT_UART "UART1" # UART channel for ESP32 UART interaction
- command: define DUT_POWER "UART1" # Power rail to control ESP32

- command: uartCfg %DUT_UART% 115200

# Power cycle sequence to put ESP32 into programming mode.
- command: power %DUT_POWER% on
- command: sleepms 100
- command: power %DUT_POWER% off
- command: sleepms 100
- command: power %DUT_POWER% on
- command: sleepms 100

- command: identify ESP32_UART %DUT_UART%

# Program bootlader, partition table, and binary.
- command: program ESP32_UART %DUT_UART% 0x1000:esp32-wroom-32_bootloader.bin,0x8000:esp32-wroom-32_partitions_singleapp.bin,0x10000:esp32-wroom-32_hello_world_zephyr_2.7.0.bin

Example PLTcloud Projects