Skip to content

espflash support for large flash sizes >16Mb? #810

@AdamHeavens

Description

@AdamHeavens

Does espflash support larger then 16Mb flash sizes? I see parameters to specify 128Mb but I get the following and nothing over 16Mb will flash?

espflash flash --partition-table=partitions.csv --baud 921600 --chip esp32s3 --port /dev/ttyUSB1 --flash-size 128mb target/xtensa-esp32s3-espidf/release/app-name

[2025-03-20T20:28:57Z INFO ] Serial port: '/dev/ttyUSB1'
[2025-03-20T20:28:57Z INFO ] Connecting...
[2025-03-20T20:28:57Z INFO ] Using flash stub
[2025-03-20T20:28:59Z WARN ] Setting baud rate higher than 115,200 can cause issues
Chip type:         esp32s3 (revision v0.1)
Crystal frequency: 40 MHz
Flash size:        128MB
Features:          WiFi, BLE
MAC address:       70:04:1d:ae:cf:e4
Partition table:   partitions.csv
Error:   × Failed to parse partition table
  ╰─▶ The partition table is invalid
python3 $IDF_PATH/components/partition_table/gen_esp32part.py partitions.csv partitions.bin
Parsing CSV input...
Verifying table...
Partitions.csv
# Name,   Type, SubType,  Offset,   Size
nvs,data,nvs,0x9000,0x24000
otadata,data,ota,0x2d000,0x2000
factory,app,factory,0x30000,0x600000
app0,app,ota_0,0x630000,0x600000
app1,app,ota_1,0xC30000,0x600000
storage,data,spiffs,0x1230000,0x4000000
nvs_key,data,nvs_keys,0x5230000,0x400000

Thanks

Adam

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions