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.
Hi I have been successfully using ESP32httpUpdate.[…]
Hello, I know this is old but do you have a sample[…]
In Arduino IDE "Tools" menu there is an […]
Found SPIFFS was getting corrupted; I believe by w[…]
Hey thanks that worked at first i had an issue lik[…]
The only way esp8266 works is on 2.4GHZ band WPA/W[…]
The system doesn't like 74880. You really need t[…]
Thanks...that solved, 2.4.2 Arduino Core for esp8[…]
I'm wondering if one of my ESP8266's has been bric[…]
i am not sure ... i am trying todo the same thing,[…]
An ESP8266 that's not actively transmitting (but i[…]
Basically at the moment I use Particle.io devices […]
1) You need a delay also after the "digitalW[…]
WoW, it runs now on one D1 Mini for testing. But i[…]
From your wiring arrangement, it looks like you h[…]
I ordered an ESP01 module (black version, 1MB flas[…]
I think it will be more effective to file a compla[…]
Interesting reading stuff, thx Davy! I am not usi[…]
This sounds like a bug me. Could you create an iss[…]
Moved to the Arduino section.