ESP32S3 wroom 模组无法烧写大于4MB的文件问题
Posted: Thu Aug 04, 2022 10:45 am
如下日志,我买了几个ESP32S3模组的开发板,一个是ESP32-S3-DevKitC-1 v1.1,一个是ESP32-S3-Korvo-2 V3.0。我在烧写带语音识别的代码时,启用有一个4150KB的模组镜像。我发现在烧写的时候,32MB模组的flash大小都读取不到,那么在烧写的时候就烧写失败,日志如下。麻烦确认一下是什么问题,是否可以通过修改配置文件解决。
--------------------------ESP32-S3-Korvo-2 V3.0------的日志-------
PS D:\software\Espressif\frameworks\esp-idf-v4.4.1> esptool.py -p COM22 flash_id
esptool.py v3.3-dev
Serial port COM22
Connecting....
Detecting chip type... ESP32-S3
Chip is ESP32-S3
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e7:7a:a8
Uploading stub...
Running stub...
Stub running...
Manufacturer: c8
Device: 4018
Detected flash size: 16MB
Hard resetting via RTS pin...
--------------------------------------------ESP32-S3-DevKitC-1 v1.1--------------32MB版本的开发板日志----------------
PS D:\software\Espressif\frameworks\esp-idf-v4.4.1> esptool.py -p COM5 flash_id
esptool.py v3.3-dev
Serial port COM5
Connecting....
Detecting chip type... ESP32-S3
Chip is ESP32-S3
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e1:10:c4
Uploading stub...
Running stub...
Stub running...
Manufacturer: c2
Device: 8039
Detected flash size: Unknown
Hard resetting via RTS pin...
-------------------------------------烧写失败的日志-----------------------------------
esptool.py v3.3-dev
Serial port COM5
Connecting....
Chip is ESP32-S3
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e1:10:c4
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Warning: Could not auto-detect Flash size (FlashID=0x3980c2, SizeID=0x39), defaulting to 4MB
A fatal error occurred: File model.bin (length 4251648) at offset 2752512 will not fit in 4194304 bytes of flash. Use --flash_size argument, or change flashing address.
--------------------------ESP32-S3-Korvo-2 V3.0------的日志-------
PS D:\software\Espressif\frameworks\esp-idf-v4.4.1> esptool.py -p COM22 flash_id
esptool.py v3.3-dev
Serial port COM22
Connecting....
Detecting chip type... ESP32-S3
Chip is ESP32-S3
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e7:7a:a8
Uploading stub...
Running stub...
Stub running...
Manufacturer: c8
Device: 4018
Detected flash size: 16MB
Hard resetting via RTS pin...
--------------------------------------------ESP32-S3-DevKitC-1 v1.1--------------32MB版本的开发板日志----------------
PS D:\software\Espressif\frameworks\esp-idf-v4.4.1> esptool.py -p COM5 flash_id
esptool.py v3.3-dev
Serial port COM5
Connecting....
Detecting chip type... ESP32-S3
Chip is ESP32-S3
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e1:10:c4
Uploading stub...
Running stub...
Stub running...
Manufacturer: c2
Device: 8039
Detected flash size: Unknown
Hard resetting via RTS pin...
-------------------------------------烧写失败的日志-----------------------------------
esptool.py v3.3-dev
Serial port COM5
Connecting....
Chip is ESP32-S3
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e1:10:c4
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Warning: Could not auto-detect Flash size (FlashID=0x3980c2, SizeID=0x39), defaulting to 4MB
A fatal error occurred: File model.bin (length 4251648) at offset 2752512 will not fit in 4194304 bytes of flash. Use --flash_size argument, or change flashing address.