In the SDK there are routines to ERASE a sector - but then to read and write absolute addresses.
So my questions are - given that in an OTA situation, an array in normal memory may be in one or two places..
So you ERASE a sector and start writing to it - that's easy enough.
When you write - the destination address is clearly an absolute address with in the (say) 4MBYTES space).
The destination address is clearly an absolute address which I understand has to be on 4 byte boundaries...
But the RAM source address of say, my array of characters - does THAT have to be on a 4-byte boundary ? How would I know?
And when I write - what is the smallest number of bytes I can actually write?
Or am I better off just working in a 4096 RAM buffer and just writing the entire block?
Pete.
【Feedback】Reading and Writing FLASH
Who is online
Users browsing this forum: No registered users and 3 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.