me-no-dev / arduino-esp32fs-plugin

Arduino plugin for uploading files to ESP32 file system
GNU General Public License v2.0
544 stars 144 forks source link

wrong flash address for ESP-S3? #51

Open 3ricj opened 7 months ago

3ricj commented 7 months ago

I'm trying to upload to the following board: Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "XIAO_ESP32S3, Disabled, Disabled, QIO 80MHz, 8MB (64Mb), Core 1, Core 1, Hardware CDC and JTAG, Enabled, Disabled, Disabled, UART0 / Hardware CDC, Default with spiffs (3MB APP/1.5MB SPIFFS), 240MHz (WiFi), 921600, None, Disabled"

When I do, I receive the following error; it looks like it's picking the wrong offset or address somehow. Is there some method for changing the start address? I'm trying to upload 130KB of data.

[SPIFFS] data : C:\Users\3ricj\Documents\GitHub\lightmacro\data [SPIFFS] start : 6750208 [SPIFFS] size : 1536 [SPIFFS] page : 256 [SPIFFS] block : 4096 /index.htm /jquery-3.6.0.min.js /rangeslider.css /rangeslider.js /rangeslider.min.js [SPIFFS] upload : C:\Users\3ricj\AppData\Local\Temp\arduino_build_755263/lightmacro.spiffs.bin [SPIFFS] address: 6750208 [SPIFFS] port : COM5 [SPIFFS] speed : 921600 [SPIFFS] mode : dio [SPIFFS] freq : 80m

esptool.py v4.5.1 Serial port COM5 Connecting... Chip is ESP32-S3 (revision v0.1) Features: WiFi, BLE Crystal is 40MHz MAC: dc:54:75:d8:e8:14 Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. Configuring flash size... Auto-detected Flash size: 4MB

A fatal error occurred: File C:\Users\3ricj\AppData\Local\Temp\arduino_build_755263/lightmacro.spiffs.bin (length 1572864) at offset 6750208 will not fit in 4194304 bytes of flash. Use --flash_size argument, or change flashing address. SPIFFS Upload failed!