If the firmware update is initiated while app1 is running, the update mechanism will overwrite the app2 and boot into it. Those versions are called app1 and app2 respectively. Instead of overwriting the firmware the is currently running, it divides the FLASH memory into 2 regions and keeps 2 versions of the firmware in them. The over-the-air firmware update mechanism has a built-in protection against making the system unusable in case the connection drops during the update.If you now reset the device, you will see the bootloader output stating that it’s running the “user1” firmware from offset 0x1000: If instead of user1 you see user2, try erasing the FLASH memory of esp8266 using the esptool.py.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |