ESP32-C5 bug advisory identifies and fixes PSRAM and sleep coexistence issues

ESP32-C5 Bug Advisory

Espressif  Systems has just published a bug advisory for ESP32-C5 chips that identifies and fixes three bugs related to PSRAM and sleep coexistence stability.

New microcontrollers often have issues when they are first released, leading companies to issue errata listing bugs and potential fixes, as we’ve previously seen with the Raspberry Pi RP2350 A4 stepping, which fixes the E9 GPIO Erratum with a new revision of the silicon.

Espressif identified three issues with the ESP32-C5:

  1. PSRAM Reset Hang – When ESP32-C5 series chips run ESP-IDF v5.5.1 with PSRAM enabled, CPU or digital reset operations may hang. This triggers a secondary RTC WDT reset. If the rollback feature (CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE, disabled by default) is enabled, this sequence may result in an OTA rollback.
  2. AES and SHA Access to PSRAM – When ESP32-C5 chips run ESP-IDF v5.5.1, PSRAM data may be corrupted when AES or SHA hardware accesses buffers that are not aligned to a 16-byte boundary.
  3. Sleep Coexistence Stability – When ESP32-C5 series chips run ESP-IDF v5.5.1 with ESP_WIFI_ENHANCED_LIGHT_SLEEP enabled, task watchdog timeouts may occur during Wi-Fi/BLE/IEEE 802.15.4 dual-mode or tri-mode coexistence, and the system may fail to recover after a CPU reset.

The good news is that all three already have fixes or mitigations in the ESP-IDF framework without requiring a new silicon revision.

If your firmware is based on ESP-IDF v5.5.1, v6.0-beta1, or the master branch, you’d need to upgrade to v5.5.2, v6.0 release, or v6.1 once they are released, or just upgrade to the patched ESP-IDF version listed in the tables in the AR2025-008 advisory.

ESP-IDF ESP32-C5 PSRAM Sleep Coexistence Patched version

Here are the links to the ESP-IDF v5.5 commits since I assume that’s what most people are using (stable release): PSRAM Reset Hang (ddb9f5d), AES/SHA access to PSRAM (86bd3d3), and Sleep coexistence stability (e3d0b19). In case you encounter any issues during the upgrade process, provide the ESP-IDF version number or Commit ID, and Espressif says they will confirm and handle it.

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress. We also use affiliate links in articles to earn commissions if you make a purchase after clicking on those links.

Radxa Orion O6 Armv9 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
1 Comment
oldest
newest
Boardcon MINI1126B-P AI vision system-on-module wit Rockchip RV1126B-P SoC