Skip to content

wrong flash address for ESP-S3?  #51

Open
@3ricj

Description

@3ricj

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions