Skip to content

Support for 32-bit addresing with external SPI flash chips (ESPTOOL-1061) #1085

@RELOC-DEV

Description

@RELOC-DEV

Is your feature request related to a problem?

We are trying to use the esptool to preload some data into an external SPI flash (manually configuring the SPI pins with the "--spi-connection" parameter).
The operation works fine with images < 16 MB but always fails with bigger images checking the MD5.

Describe the solution you'd like

Debugging a bit with an oscilloscope I noticed that the ESP stub always uses the SPI commands for 24bit address instead of the 32bit version, de-facto limiting to 16777215 byte (16MB) the addressable size.
However I suspect that this is not the only "missing-element" for the feature.

Are there any plans to support external (but even internal I suppose) flash bigger than 16 MB?

Describe alternatives you've considered

We have two options:

  1. modify the esptool to extend the support (very hard option)

  2. Create our custom solution (the only actual option)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions