Page 1 of 1

Use only PSRAM instead of FLASH and PSRAM

Posted: Mon Jul 26, 2021 8:08 pm
by ihouses
Hello,

I have a doubt that I would like to be clarified:

If a use a PSRAM chip that contains the program flash (written somehow by another microcontroller).

Is it possible to use and boot an Esp32 with a PSRAM where the lower 4MB are the flash code and the upper 4MB could be the actual PSRAM?

I guess it would be necessary to change the bootloader in order to look for flash in the lower part of the memory and the upper part let it be for PSRAM. Is it possible such a thing with the existing ESP32 chips?

Thanks!

Re: Use only PSRAM instead of FLASH and PSRAM

Posted: Tue Jul 27, 2021 12:53 am
by ESP_Sprite
No. For one, the boot ROM expects a flash chip to load the program from, and a psram chip has a different and incompatible command set.