← index #12703Issue #8659
Likely Duplicate · medium · value 4.633
QUERY · ISSUE

OTA partitions in ESP32-C3

openby pbdaranopened 2023-10-16updated 2023-10-25
bugport-esp32

I am trying to enable OTA partitions in ESP32-C3 by changing the custom partition file in sdkconfig file.
But it's not getting enabled. Can you please help?

CANDIDATE · ISSUE

OTA in esp32-c3

closedby robbietree8opened 2022-05-12updated 2022-05-13

hello,

It seems the port to esp32-c3 does not support OTA, but I found there is GENERIC_OTA port, the difference between them is mpconfigboard.cmake file, so I tried to add line boards/GENERIC_OTA/sdkconfig.board to mpconfigboard.cmake file in GENERIC_C3, and builds the firmware locally.

Unfortunately, when I implemented OTA via bluetooth, the partition of ota_1 is updated successfully, but it does not boot ok, following error occurs:

E (68) esp_image: Segment 0 0x3fcd6100-0x3fcd6fa0 invalid: overlaps bootloader stack
E (69) boot: OTA app partition slot 1 is not bootable

Demo project can be found in micropython-ota-example

Appreciate if anyone can take a look.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied