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.
are you trying to distribute a binary and allow e[…]
I use deep-sleep mode on these, which means I hav[…]
There are examples of EEPROM emulation librairy he[…]
Yes, best way is to use an external ADC which is c[…]
Additionally, the CH_EN and RST lines are quite hi[…]
That depends on which SPI controller you're going […]
Why not simply create and UDP socket, send your co[…]
I'd like to help you, but I am not using RTOS. Als[…]
Thanks for sharing! Yes it is widely known that t[…]
Just want to say thank you. Your post saved me a l[…]
The code you have are for Atmel microprocessors an[…]
I am also having issues with timers in ESP. I use[…]
OK, It's about 2 years ago, I've posted here about[…]
Thanks! "Set AP Isolated" was not enab[…]
I run the Espressif supplied tools on the files to[…]
Dear Forum, I am trying to understand what is the […]
You would need to add some sort of command within […]
I have the same problem.
Once the command prompt’s black window appears, ty[…]
Here you go. 3 examples. http://lucstechblog.blog[…]