How does ESP8266 bootloader knows which of the app1 or app2 to load. I know it must be stored somewhere on the flash but where?
I'm using SDK 3.0.1 and bootloader boot_v1.7.bin from the SDK.
Explore... Chat... Share...
Here is the summary printed for the “Two OTA definitions” configuration:
# Espressif ESP8266 Partition Table
# Name, Type, SubType, Offset, Size
nvs, data, nvs, 0x9000, 0x4000
otadata, data, ota, 0xd000, 0x2000
phy_init, data, phy, 0xf000, 0x1000
ota_0, 0, ota_0, 0x10000, 0xF0000
ota_1, 0, ota_1, 0x110000, 0xF0000
There are now two app partition definitions, ota_0 at 0x10000 and ota_1 at 0x110000
There is also a new “ota data” slot, which holds the data for OTA updates. The bootloader consults this data in order to know which app to execute. If “ota data” is empty, it will execute the ota_0 app.
ota (0) is the OTA data partition which stores information about the currently selected OTA application. This partition should be 0x2000 bytes in size. Refer to the OTA documentation for more details.
I guess the main reason is that it's a well adopte[…]
OK, just realised your example comes directly from[…]
I need some help. I have a sonos brand amp that […]
I have an API URL of a JSON response http://inn[…]
Theme Communication between Microsoft Azure and ES[…]
dGrJi-ebZgI What is the difference bewteen the […]
esp8266 Arduino uses esp8266 NonOS SDK functions u[…]
Is there an option to convert pdf or Word documen[…]
I forgot to mention, I'm building with Sloeber, us[…]
Hello! I am using ESP8266 like webserver. I would […]
Where did you get the information from how to use […]
Looks like it indeed.
Excellent, thanks so much for the help, I will che[…]
Hi, I don't remember if there were problems with t[…]
try to erase the flash to clear invalid RF calibra[…]
you can connect more I2C devices to I2C pins, more[…]
Okay so I think I've found a solution and I'll jus[…]
hi i am doing a project to read values from my php[…]
if you are using rc switch, have you tried increas[…]
Hi. I'm looking for easy to use and free iot softw[…]