[HUK-576] HUK Is Unavailable

Affected revisions: v0.0 v0.1 v1.0

Description

On ESP32-C5 chips, inrush current during power-on can cause the first HUK recovery attempt to fail with a certain probability.

In the affected chip revisions, the ROM uses the HUK data immediately after power-on to derive flash encryption and decryption keys through the key manager (introduced in ESP-IDF v5.5.2). When HUK recovery fails, the ROM may fail to derive these keys.

Workaround

No workaround.

Solution

Fixed in chip revision v1.2.

The updated ROM re-powers the HUK and retries recovery if the initial attempt fails.