ESP32 enter download mode but ESP Flash Tool Fail to recognise

mossfromit
Posts: 2
Joined: Thu May 27, 2021 12:57 pm

ESP32 enter download mode but ESP Flash Tool Fail to recognise

Postby mossfromit » Thu May 27, 2021 1:06 pm

Hi

I connect the ESP32 with a minimum circuit. i.e. VCC TX RX GND, and GPIO0 to GND, EN to VCC through 5.1k resistor.

In my serial port, I can see the ESP32 enter the download mode successfully.

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download


But the flash tool (v3.8.5 and v3.8.7) fails to recognise anything.

Code: Select all

ESP32
C:\Users\majia\AppData\Local\Temp\_M1233~1\download_panel_info.py:191: wxPyDeprecationWarning: Call to deprecated item BitmapFromImage. Use :class:`wx.Bitmap` instead
test offset :  0 0x0
case ok
C:\Users\majia\AppData\Local\Temp\_M1233~1\download_panel_info.py:499: wxPyDeprecationWarning: Call to deprecated item BitmapFromImage. Use :class:`wx.Bitmap` instead
C:\Users\majia\AppData\Local\Temp\_M1233~1\download_panel_info.py:480: wxPyDeprecationWarning: Call to deprecated item BitmapFromImage. Use :class:`wx.Bitmap` instead
======
CONNECT BAUD: 115200
============
....._____....._____....._____....._____[2021-05-27 13:49:13,950][ESP8266Loader_spi[1]][espDownloader.py][line:410][ERROR]: Chip sync error: Failed to connect to ESP32: Timed out waiting for packet header
[2021-05-27 13:49:13,957][ESP8266Loader_spi[1]][espDownloader.py][line:570][ERROR]: ESP32 Chip sync error esp_sync_blocking.
no log file output ...
test offset :  0 0x0
case ok
======
CONNECT BAUD: 115200
============
....._____....._

The esptool can recognise the device but stuck at stub.

Code: Select all

(base) PS D:\flash_download_tool_v3.8.5\bin\ESP32-WROOM-32_AT_Bin_V2.1.0.0\ESP32-WROOM-32_AT_Bin_V2.1\factory> esptool --port COM7 write_flash 0x00 factory_WROOM-32.bin
esptool.py v3.1
Serial port COM7
Connecting........_____....._____.....____
Detecting chip type... ESP32
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 9c:9c:1f:cb:32:48
Uploading stub...
Running stub...
The same has happened before with another ESP8266. Until I found a very old flash tool. V0.9.6 which can recognise and download every single time.

What can I do to download it?
Thanks

mossfromit
Posts: 2
Joined: Thu May 27, 2021 12:57 pm

Re: ESP32 enter download mode but ESP Flash Tool Fail to recognise

Postby mossfromit » Thu May 27, 2021 9:24 pm

I finally manage to download the firmware by enabling tracing. This might relate to introducing some delay...
--no-stub is still not working.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 138 guests