This secondary bootloader enables code execution from OSPI PSRAM by transferring the XIP image from the SD card to the OSPI PSRAM.
Perform the following steps to enable code execution from OSPI PSRAM using SBL SD PSRAM:
- Copy the tiboot3.bin file from the sbl_sd_psram example to the SD card. Rename the .mcelf.hs_fs binary to "app" and the .mcelf_xip binary to "app_xip", and copy them to the SD card.
- Insert the SD card, set the SD boot mode, and power on the EVM.
Note: The above examples only demonstrate the enablement and operation of code execution from OSPI PSRAM. The size of the buffers, the OCRAM (on-chip RAM) region, and the values defined in the above two SBLs can be changed to suit the application.