ESP32
SoCs in the ESP32 series use Tensilica Xtensa LX6 or LX9 CPU, or a RISC-V CPU.
Target name |
SoC |
Probe |
---|---|---|
|
ESP32 |
UART |
Supported Debug Probes
Any of the built-in UART channels of the PLT (
UART0
,UART1
).USB-CDC probes with HW flow control (
RTS
) signals:
Programming over UART (USB-CDC)
PLT Signal |
USB-CDC probe Signal |
ESP32 Signal |
---|---|---|
n.c. |
|
|
n.c. |
|
|
n.c. |
|
|
|
n.c. |
|
|
|
|
|
|
|
- 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
See also
Programming over UART (built-in UART)
PLT Signal |
ESP32 Signal |
---|---|
|
|
|
|
|
n.c. |
|
|
|
|
|
|
|
|
# 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