Can I replace a >32Mbit SPI flash on ESP8266 module?

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
User avatar
water
Posts: 75
Joined: Sun Sep 24, 2017 9:16 am

Can I replace a >32Mbit SPI flash on ESP8266 module?

Post by water » Tue Oct 10, 2017 4:34 pm

I want to replace a >32Mbit SPI flash(e.g W25Q128) on ESP8266 module with ISP bus connected,not HSPI external, is it work?
the normal firmware v1.9.2 is support it ?
how biggest size of SPI flash supported on ESP8266 ?

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Can I replace a >32Mbit SPI flash on ESP8266 module?

Post by Roberthh » Tue Oct 10, 2017 6:18 pm

You can replace the 32MBit (4 MByte) flash on an esp866 with an 128Mbit (16MByte). I did that, end technically it worked. However, the ESP8266 firmware does not use the memory beyond 4 MByte, and the code must not grow beyond 1 MByte. You could use that for storage, using the flash primitives of the esp module. I had the plan to modify flashbdev.py to use the full physical memory. It must however skip a few pages at the 4 MByte border, since that is used by the ESP firmware. Then the file system would have a size of about 15 MByte. But until now this was not really needed.

User avatar
water
Posts: 75
Joined: Sun Sep 24, 2017 9:16 am

Re: Can I replace a >32Mbit SPI flash on ESP8266 module?

Post by water » Wed Oct 11, 2017 10:14 am

Roberthh wrote:... ... I had the plan to modify flashbdev.py to use the full physical memory.
concern.

:idea:

Post Reply