PSRAM as Flash
Posted: Mon Aug 06, 2018 7:43 pm
Is it possible to use PSRAM instead of flash chip? I mean executing code from PSRAM mapped on 0x400C2000 area.
From datasheets, it seems that read instruction codes are matching.
Of course there has to be a way to load code into PSRAM. This leads to my second question.
Is it possible to boot code from real flash (specified by fuses, or default), then at some point temporarily change flash pinout to use other flash chip (in my case PSRAM)?
My idea is to use SDIO for SD card. SD card would hold many firmware images which you can pick and "run" - by copying it into PSRAM as "fake" flash chip.
This of course implies custom SDIO "bootloader" menu, which would run from real flash.
From datasheets, it seems that read instruction codes are matching.
Of course there has to be a way to load code into PSRAM. This leads to my second question.
Is it possible to boot code from real flash (specified by fuses, or default), then at some point temporarily change flash pinout to use other flash chip (in my case PSRAM)?
My idea is to use SDIO for SD card. SD card would hold many firmware images which you can pick and "run" - by copying it into PSRAM as "fake" flash chip.
This of course implies custom SDIO "bootloader" menu, which would run from real flash.