I wanted to ask which sectors of flash memory can be used for user data storage (ex. configuration, login/password). For now I'm using external memory, but it would be less costly to use some sectors of the on-board flash. I tried to write data in some sectors written with blank.bin, but finally 2 pcs of ESP8266 module were bricked (no possibility to download any application using download tool).
I would be very grateful for a complete memory map and some example codes, explaining how to safely use on-board flash to store custom data.
The purpose is to have a device, configured using web interface (available via AP) and then store data in the flash in order the device to connect in ST mode automatically and also save user password to protect config. changes.
Such software I have prepared but with usage of external memory.
Thank you in advice for any help.
The memory map can be referred here:
Also, in the "2A-ESP8266__IOT_SDK_User_Manual__EN", there mentioned a flash area called "user data" which is safe to read and write your own data.
For the problem of bricking device when overwriting blank.bin, I don't think it could bricks the device. It seems downloading flash is handled by internal ROM, which is not write-able by any chances. Could somebody confirm this?
Requested topics are not available on the URLs.
Please share latest information regarding writing user data on flash.
Who is online
Users browsing this forum: No registered users and 28 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!