Hello,
I try to flash my ESP32-S2FNR2 (just buy on aliexpress) and I can't flash it.
I saw some of users had already this problem but I don't find or understant how fix this issue.
I tried on Windows 10 and ubuntu I have the same problem.
It's my fist time with ESP32 so I really need help.
[Codebox]
esptool.py v4.7.0
Serial port COM4
Connecting.......
Detecting chip type... Unsupported detection protocol, switching and trying again...
Detecting chip type... ESP32-S2
Chip is ESP32-S2FNR2 (revision v1.0)
Features: WiFi, Embedded Flash 4MB, Embedded PSRAM 2MB, ADC and temperature sensor calibration in BLK2 of efuse V2
Crystal is 40MHz
MAC: 80:65:99:4a:8f:bc
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00001000 to 0x00006fff...
Flash will be erased from 0x00010000 to 0x000c0fff...
Compressed 3072 bytes to 103...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 218.0 kbit/s)...
Hash of data verified.
Unexpected chip id in image. Expected 2 but value was 0. Is this image for a different chip model?
Warning: Image file at 0x1000 is protected with a hash checksum, so not changing the flash size setting. Use the --flash_size=keep option instead of --flash_size=4MB in order to remove this warning, or use the --dont-append-digest option for the elf2image command in order to generate an image file without a hash checksum
Compressed 24016 bytes to 14877...
Wrote 24016 bytes (14877 compressed) at 0x00001000 in 0.6 seconds (effective 322.3 kbit/s)...
Hash of data verified.
Compressed 723248 bytes to 447613...
Wrote 723248 bytes (447613 compressed) at 0x00010000 in 16.1 seconds (effective 358.5 kbit/s)...
Hash of data verified.
Leaving...
WARNING: ESP32-S2FNR2 (revision v1.0) chip was placed into download mode using GPIO0.
esptool.py can not exit the download mode over USB. To run the app, reset the chip manually.
To suppress this note, set --after option to 'no_reset'.
[/Codebox]
Best regards
ESP32-S2 can not exit the download mode over USB
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-S2 can not exit the download mode over USB
The bigger issue here is that you seem to be flashing an image meant for the 'classic' ESP32 into an ESP32-S2 board. That won't work; the chips aren't compatible with eachother on a binary level. If you're using ESP-IDF, try changing the target to ESP32-S2 (idf.py set-target esp32s2) and rebuild the project.
Who is online
Users browsing this forum: ignisuti and 112 guests