esptool cannot connect to my board: Wrong boot mode detected (0x13)
Posted: Tue Jun 10, 2025 8:45 pm
Hi,
If I use the esptool to access something on my ESP32 device (like "esptool flash_id"), it fail and says it cannot connect because the device cannot be switched to bootloader mode. A few times it worked, but most of the time it fails with this error:
This happens only for auto connect. If I manually press the BOOT button while connecting, it succeeds every time !
My setup is: a laptop with Windows 10, and a ESP32-DevKitC-VE with WROVER-E N8R8. The board was purchased from the official Espressif store on Aliexpress and it has auto-upload capabilities (using DTR/RTS). I installed the official CP210x_Universal_Windows_Driver and the board is successfully detected on COM3. Then I installed Arduino IDE and VSCode with the Platform IO extension. Nothing works...
If I use the esptool to access something on my ESP32 device (like "esptool flash_id"), it fail and says it cannot connect because the device cannot be switched to bootloader mode. A few times it worked, but most of the time it fails with this error:
Code: Select all
esptool.py v4.8.1
Serial port COM3
Connecting......................................
A fatal error occurred: Failed to connect to Espressif device: Wrong boot mode detected (0x13)! The chip needs to be in download mode.This happens only for auto connect. If I manually press the BOOT button while connecting, it succeeds every time !
My setup is: a laptop with Windows 10, and a ESP32-DevKitC-VE with WROVER-E N8R8. The board was purchased from the official Espressif store on Aliexpress and it has auto-upload capabilities (using DTR/RTS). I installed the official CP210x_Universal_Windows_Driver and the board is successfully detected on COM3. Then I installed Arduino IDE and VSCode with the Platform IO extension. Nothing works...