ESP32-P4

[中文]

ESP32-P4 supports two firmware download methods: UART0 and USB. Different boot defaults require different levels for the Straping pin, as detailed below:

Hardware Wiring

When downloading firmware using the UART0 pin, the following wiring conditions need to be met:

VDD     -> 3V3
GND     -> GND   (Common ground with the power board)
EN      -> Pull high   (Used for power-on startup, cannot be left floating)
GPIO36   -> Pull high   (Default floating)
GPIO35   -> Pull low   (Default is ``high level``)
TXD0(GPIO37)    -> RX
RXD0(GPIO38)    -> TX

When downloading firmware using the USB pin, the following wiring conditions need to be met:

VDD     -> 3V3
GND     -> GND   (Common ground with the power board)
EN      -> Pull high   (Used for power-on startup, cannot be left floating)
GPIO36   -> Pull high   (Default floating)
GPIO35   -> Pull low   (Default is ``high level``)
GPIO24(GPIO26)  -> USB_D-
GPIO25(GPIO27)  -> USB_D+

Note

  • After powering on the chip/module, you can check whether it has entered the Download Boot mode through the UART0 serial port. If the chip is powered on and enters the download mode, UART0 will print the following log:

ESP-ROM:esp32p4-eco1-20240205
Build:Feb  5 2024
rst:0x1 (POWERON),boot:0x307 (DOWNLOAD(USB/UART0/SPI))
waiting for download

Startup Conditions

  • The working voltage range of the ESP32-P4 chip is 3.0 V ~ 3.6 V; when using a single power supply, it is recommended that the power supply voltage for the ESP32-P4 series chip is 3.3 V, and the rated output current is preferably 500 mA or above.

When testing with the ESP32-P4-Function-EV-Board development board, you can directly use the USB Type-C cable to connect the USB-UART interface on the development board to download the firmware directly. If you are using the USB interface to download the firmware for the first time, you need to manually pull the GPIO35 pin low, that is, press and hold the Boot button and then power on, to manually enter the download mode.