Espressif  Systems has just published a bug advisory for ESP32-C5 chips that identifies and fixes three bugs related to PSRAM ...
The source code is coming soon.