-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Operating System
Windows 11
Esptool Version
5.0.1
Python Version
Python 3.13.5
Chip Description
ESP32-D0WD-V3 (revision v3.1)
Device Description
Plain ESP32 Dev Module with CP2102 USB to UART chip.
Upload works seamlessly when used with ESP32 Dev Module based on CH340, or with Esptool 5.0.0.-dev1.
Hardware Configuration
Plain module without any connection. Only USB cable connected to PC for uploading code.
How is Esptool Run
Windows CMD or Arduino IDE, or Platformio (esptool.py)
Full Esptool Command Line that Was Run
C:\Users\User>C:\Users\User.platformio\penv\Scripts\esptool.exe --chip esp32 --port "COM3" --baud 921600 --before default-reset --after hard-reset write-flash -z --flash-mode dio --flash-freq 80m --flash-size detect 0x0 "D:\test\bootloader.bin" 0x8000 "D:\test\partitions.bin" 0xe000 "D:\test\boot_app0.bin" 0x10000 "D:\test\firmware.bin"
Esptool Output
C:\Users\User>C:\Users\User\.platformio\penv\Scripts\esptool.exe version
esptool v5.0.1
5.0.1
C:\Users\User>C:\Users\User\.platformio\penv\Scripts\esptool.exe --chip esp32 --port "COM3" --baud 921600 --before default-reset --after hard-reset write-flash -z --flash-mode dio --flash-freq 80m --flash-size detect 0x0 "D:\test\bootloader.bin" 0x8000 "D:\test\partitions.bin" 0xe000 "D:\test\boot_app0.bin" 0x10000 "D:\test\firmware.bin"
esptool v5.0.1
Serial port COM3:
Connecting.......
A fatal error occurred: Invalid head of packet (0x00): Possible serial noise or corruption.More Information
Upload works seamlessly when used with ESP32 Dev Module based on CH340, or with Esptool 5.0.0-dev1.
Checked with two modules, different USB cables.
Esptool 5.0.1
C:\Users\User>C:\Users\User\.platformio\penv\Scripts\esptool.exe version
esptool v5.0.1
5.0.1
C:\Users\User>C:\Users\User\.platformio\penv\Scripts\esptool.exe --chip esp32 --port "COM3" --baud 921600 --before default-reset --after hard-reset write-flash -z --flash-mode dio --flash-freq 80m --flash-size detect 0x0 "D:\test\bootloader.bin" 0x8000 "D:\test\partitions.bin" 0xe000 "D:\test\boot_app0.bin" 0x10000 "D:\test\firmware.bin"
esptool v5.0.1
Serial port COM3:
Connecting.......
A fatal error occurred: Invalid head of packet (0x00): Possible serial noise or corruption.
Esptool 5.0.0.-dev1
C:\Users\User>C:\Users\User\.platformio\penv\Scripts\esptool.exe version
esptool.py v5.0.0-dev1
5.0.0-dev1
C:\Users\User>C:\Users\User\.platformio\penv\Scripts\esptool.exe --chip esp32 --port "COM3" --baud 921600 --before default-reset --after hard-reset write-flash -z --flash-mode dio --flash-freq 80m --flash-size detect 0x0 "D:\test\bootloader.bin" 0x8000 "D:\test\partitions.bin" 0xe000 "D:\test\boot_app0.bin" 0x10000 "D:\test\firmware.bin"
esptool.py v5.0.0-dev1
Connected to ESP32 on COM3:
Chip type: ESP32-D0WD-V3 (revision v3.1)
Features: Wi-Fi, BT, Dual Core + LP Core, 240MHz, Vref calibration in eFuse, Coding Scheme None
Crystal frequency: 40MHz
MAC: d0:ef:76:46:60:6c
Stub flasher running.
Changing baud rate to 921600...
Changed.
Writing at 0x0006d3ff [█████░░░░░░░░░░░░░░░░░░░░░░░░░] 20.0% 163840/819568 bytes...
Writing at 0x00067780 [█████░░░░░░░░░░░░░░░░░░░░░░░░░] 18.0% 147456/819568 bytes...
Writing at 0x0005fc9b [████░░░░░░░░░░░░░░░░░░░░░░░░░░] 16.0% 131072/819568 bytes...
Writing at 0x00059978 [████░░░░░░░░░░░░░░░░░░░░░░░░░░] 14.0% 114688/819568 bytes...
Writing at 0x00053e5b [███░░░░░░░░░░░░░░░░░░░░░░░░░░░] 12.0% 98304/819568 bytes...
Writing at 0x00047204 [██░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 10.0% 81920/819568 bytes...
Writing at 0x0003bbe9 [██░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 8.0% 65536/819568 bytes...
Writing at 0x00033e73 [█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 6.0% 49152/819568 bytes...
Writing at 0x0002ac1e [█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 4.0% 32768/819568 bytes...
Writing at 0x0001d606 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 2.0% 16384/819568 bytes...
Writing at 0x00010000 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0.0% 0/819568 bytes...
Other Steps to Reproduce
No response
I Have Read the Troubleshooting Guide
- I confirm I have read the troubleshooting guide.