Possibility to automatically detect Octal/Quad PSRAM?
Posted: Mon May 06, 2024 1:27 am
Hello all,
I designed a prodcut with ESP32S3NxR2 and the firmware was set to using quad PSRAM lines. However, due to stock issue a recent batch was assembled with ESP32S3NxR8. While I was told the R8 version is compatible with R2 in quad mode, it turned out to be not true and I was getting
Now I have to maintain two separate versions of firmware. I wonder if there is possibility for esp-idf to detect different PSRAM line mode and automatically fallback to the correct mode? Otherwise, is it possible to perform the detection and switch in runtime? (I saw octal and quad are conditionally compiled)
Regards,
YW
I designed a prodcut with ESP32S3NxR2 and the firmware was set to using quad PSRAM lines. However, due to stock issue a recent batch was assembled with ESP32S3NxR8. While I was told the R8 version is compatible with R2 in quad mode, it turned out to be not true and I was getting
Code: Select all
E (323) quad_psram: PSRAM ID read error: 0x00ffffff, PSRAM chip not found or not supported, or wrong PSRAM line mode
E (324) cpu_start: Failed to init external RAM, needed for external .bss segment
Regards,
YW