This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCU-PLUS-SDK-AM243X: How to use SPI boot mode

Part Number: MCU-PLUS-SDK-AM243X
Other Parts Discussed in Thread: UNIFLASH

Hi experts,

   I have an question to consult.

  Because current MX25LM25645G can only used with SPI mode but not OSPI mode. The related problem refer to PLUS-SDK-AM243X: 2434 EVM OSPI FLASH DIAG error

  In this case, I can only use CCS to debug APP. When I download BOOT & APP through default_sbl_ospi.cfg, APP failed to load in BOOT(sbl_ospi project, see the below code).

  For SBL_OSPI, I  tried to modify flash config to SPI MODE and rebuild. And for default_sbl_osip.cfg, I tried to  comment out the last line(... operation=flash-xip). But problem remain.

  How do I need to modify the SBL_OSPI project and the default_sbl_ospi.cfg file?  

int main(void)
{
    ...

        bootHandle = Bootloader_open(CONFIG_BOOTLOADER_FLASH0, &bootParams);
        if (bootHandle != NULL)
        {
            /* @Error:This function blocking forever */
            status = Bootloader_parseMultiCoreAppImage(bootHandle, &bootImageInfo);  
            ...
        }
    ...

}