Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong flash address for ESP-S3? #51

Open
3ricj opened this issue Dec 11, 2023 · 0 comments
Open

wrong flash address for ESP-S3? #51

3ricj opened this issue Dec 11, 2023 · 0 comments

Comments

@3ricj
Copy link

3ricj commented Dec 11, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant