ESP32-DevKitC๏ƒ

ESP32-DevKitC

Sample firmware

  • esp32-wroom-32_hello_world_zephyr_2.7.0.bin: Zephyr RTOS hello world sample for ESP32

  • esp32-wroom-32_bootloader.bin: ESP32 example bootloader

  • esp32-wroom-32_partitions_singleapp.bin: ESP32 example partition table

  • Zephyr Samples > Firmware Binaries

References

Identify and Program ESP32 (UART)๏ƒ

Connection

ESP32-DevKitC - PLT connection๏ƒ

PLT-200A UART/TP pin

PLT signal

ESP32

1

UART0_RXD

ESP32:TXD (GPIO1)

2

UART0_TXD

ESP32:RXD (GPIO3)

3

UART0_CTS

n.c.

4

UART0_RTS

ESP32:EN

5

UART0_VDD

ESP32:3V3

6

GND

ESP32:GND

6

GND

ESP32:GPIO0

../../../_images/plt200a-esp32-devkitc-hookup.jpg

YAML test plan

  • esp32-identify-program-uart0.yaml: Identify, Erase, and Program ESP32 over UART0

suite:
- ident: ICT-T1
  title: Toggle UART0_VDD
  steps:
    # Toggle power to put DUT into programming mode.
    - command: power UART0 on
    - command: sleepms 100
    - command: power UART0 off
    - command: sleepms 100
    - command: power UART0 on
    - command: sleepms 100
- ident: ICT-T2
  title: Identify DUT
  steps:
  - command: identify ESP32_UART UART0
- ident: ICT-T3
  title: Program DUT
  steps:
  # Program bootloader, partition table, and binary.
  - command: program ESP32_UART UART0 0x1000:esp32-wroom-32_bootloader.bin,0x8000:esp32-wroom-32_partitions_singleapp.bin,0x10000:esp32-wroom-32_hello_world_zephyr_2.7.0.bin
- ident: ICT-T4
  title: Power off
  steps:
  - command: power UART0 off