Search found 22 matches

by aschweiz
Wed Nov 30, 2016 2:38 pm
Forum: Report Bugs
Topic: Inconsistency between bootloader and OTA update code?
Replies: 1
Views: 2278

Inconsistency between bootloader and OTA update code?

Hi, I'm trying to boot from the factory partition. It seems the bootloader and the OTA code make different assumptions about when to boot from the factory partition: - The OTA code (specifically, the function esp_ota_set_boot_partition) seems to assume that by erasing the otadata partition, it can s...
by aschweiz
Wed Nov 30, 2016 2:27 pm
Forum: Report Bugs
Topic: esp_ota_set_boot_partition doesn't work for factory partition
Replies: 1
Views: 2440

esp_ota_set_boot_partition doesn't work for factory partition

The function esp_ota_set_boot_partition returns ESP_ERR_INVALID_ARG if I call it with the factory partition. I guess the issue is with this call: return esp_partition_erase_range(find_partition, find_partition->address, find_partition->size); After a quick look at esp_partition_erase_range, I guess ...

Go to advanced search