Using both OTA and normal flashing to update code under development. Occasionally, when I flash new code, I cannot get the new code to execute without deleting one of the partitions using partition table.
Is this expected behavior? Is there a command to select current partition?
Can't change current partition running
Re: Can't change current partition running
Yes it expected.
When you flash with UART you dont change ota_data partition, so when you got updated esp32 with OTA and current active partition is ota1 then your new code wont run.
You can fix it easy with:
When you flash with UART you dont change ota_data partition, so when you got updated esp32 with OTA and current active partition is ota1 then your new code wont run.
You can fix it easy with:
Code: Select all
idf.py erase_otadata
Re: Can't change current partition running
If I have 2 ota partitions defined and no factory partition, does this still work.
I feel like I should know this but haven't found the right docs. Do you have a link that would describe?
I feel like I should know this but haven't found the right docs. Do you have a link that would describe?
Who is online
Users browsing this forum: No registered users and 136 guests