Skip to content

Support for >4MB flash #2323

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

Closed
achook opened this issue Jul 24, 2016 · 3 comments
Closed

Support for >4MB flash #2323

achook opened this issue Jul 24, 2016 · 3 comments

Comments

@achook
Copy link

achook commented Jul 24, 2016

Not really issue, but enhancement.
ESP8266 can support up to 128Mb (16MB) flash memory size, but in Arduino IDE, you can use 4MB max. Some people get it working:
http://www.instructables.com/id/ESP-03-Upgrade-Flash-Memory-to-128-M-Bit/?ALLSTEPS

I also found this in boards.txt

# disabled because espressif's bootloader refuses to write above 4M
# generic.menu.FlashSize.8M=8M (7M SPIFFS)
# generic.menu.FlashSize.8M.build.flash_size=1M
# generic.menu.FlashSize.8M.build.flash_ld=eagle.flash.8m.ld
# generic.menu.FlashSize.8M.build.spiffs_start=0x100000
# generic.menu.FlashSize.8M.build.spiffs_end=0x800000
# generic.menu.FlashSize.8M.build.spiffs_blocksize=8192
# generic.menu.FlashSize.16M=16M (15M SPIFFS)
# generic.menu.FlashSize.16M.build.flash_size=1M
# generic.menu.FlashSize.16M.build.flash_ld=eagle.flash.16m.ld
# generic.menu.FlashSize.16M.build.spiffs_start=0x100000
# generic.menu.FlashSize.16M.build.spiffs_end=0x1000000
# generic.menu.FlashSize.16M.build.spiffs_blocksize=8192

Are you planning to get it working or is it just impossible?

@miky2k
Copy link

miky2k commented Jul 25, 2016

Seems that bootloader(and esptools) is limited to 4Mb, but i suppose if you format spiffs in place(or load it via OTA) it can handle 15Mb of space.

@me-no-dev
Copy link
Collaborator

here is some info
#2351
Needs updated esptool and to be tested :)

@igrr
Copy link
Member

igrr commented Aug 1, 2016

I have merged everything, esptool will also be updated soon.

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

No branches or pull requests

4 participants