I'm working on the nodemcu-firmware and I want to modify the contents of flash (easy) and then have this data visible from a regular data load -- this is the hard part.
There is a cache (of some size) that is used to buffer some amount of the flash to use for returning value for load instructions. Thus if you read a 32 bit flash location (originally erased), you get 0xffffffff. Now write 0 to the flash chip. Now read the same location again and you get 0xffffffff. Now go a do a whole load of other stuff, and do the load again and you get 0.
The question is: How can I flush the cache so that I am guaranteed to get the real value on the next read?
Thanks
How to flush the data cache in front of the Flash chip
Who is online
Users browsing this forum: No registered users and 13 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.