Replies: 1 comment 2 replies
-
The boot partition is stored in ota_data partition (0xE000-0xFFFF). I think we need to erase this. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When a firmware is uploaded via the WebUI it rotates between the two
app
partitions calledota_0
andota_1
. See here for the names and addresses.However if you manually use PlatformIO or
esptool
it will upload the firmware to theboot
partition, so that when EMS-ESP starts up it won't be using the new firmware we just uploaded since the bootloader is still pointing to one of the ota_* partitions. This was driving me mad for a while having to do arestart boot
from EMS-ESP's console.We could probably fix this by adding
board_upload.offset_address = 0x10000
toplatformio.ini
(10000 is the address of the boot/factory partition) but I have yet to test it.Another option is to
erase
the app partitions first, but keep the flash intact, but not sure if that is possible. @MichaelDvP any ideas?Beta Was this translation helpful? Give feedback.
All reactions