esp_rcp_update with ESP32H2

sGuitton85
Posts: 7
Joined: Tue Aug 03, 2021 8:25 am

esp_rcp_update with ESP32H2

Postby sGuitton85 » Tue Mar 31, 2026 9:47 am

Hi all,

I am using the basic thread border router with an ESP32S3 and an ESP32H2 in RCP.

I would like to activate the secure boot on the ESP32H2.
Is it possible to do it through the rcp_update?

Otherwise I tried by programming directly the H2, I had to midify the basic partition to add the nvs_keys:
# Name, Type, SubType, Offset, Size, Flags
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
nvs, data, nvs, 0x9000, 0x5000,
nvs_custom_key, data, nvs_keys, , 0x1000,
phy_init, data, phy, , 0x1000,
factory, app, factory, 0x10000, 1M,

Once secure, if I try to update via esp_rcp_update
I get this log:
I (2803) RCP_UPDATE: Erasing flash (this may take a while)...
DEBUG: Flash size detection failed, falling back to default

And then a MD5 does not match


Is it possible to update a H2, through esp_rcp_update once it is encrypted? If it is what would be a good way to do it?

Thank you,

Sylvain

Who is online

Users browsing this forum: Applebot, Google [Bot], PetalBot and 5 guests