#1170·esptool

Relatively slow flashing of 64MB flash (ESP32-P4 rev 1.3) (ESPTOOL-1339)

Author: Daniel-AbdiCreated Jun 16, 2026Updated Jul 8, 2026
LabelsType: Bug

Operating System

Ubuntu 22.04

Esptool Version

v5.3.0

Python Version

Python 3.10 .12

Chip Description

ESP32-P4 V1.3

Device Description

Hello,

I have a 64MB flash chip (W25Q512NWEIM) attached to a custom ESP32-P4-based board. I'm flashing via USB-JTAG, using esptool v5.3.0 (with the new flasher stub). My ~10MB firmware file takes around 75 seconds to fully flash. Is this a normal and expected flashing time for this size of chip and firmware binary? How can I speed this up, as it's quite slow when flashing at the factory. For reference, the traces from the P4 to the flash chip are approximately 13mm long. Any ideas would be greatly appreciated.

Hardware Configuration

USB JTAG to P4, and QSPI to the flash chip. There are UARTs and I2Cs connected on the board but nothing that would affect the flashing speed in my opinion.

How is Esptool Run

Terminal (Linux)

Full Esptool Command Line that Was Run

esptool --chip esp32p4 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode qio --flash_freq 80m --flash_size detect 0x2000 bootloader/bootloader.bin 0xa0000 app.bin 0xe000 partition_table/partition-table.bin 0x9e000 ota_data_initial.bin

Esptool Output

bash

More Information

No response

Other Steps to Reproduce

No response

I Have Read the Troubleshooting Guide

  • I confirm I have read the troubleshooting guide.