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.

TMDS64EVM: SBL to switch and launch user applications

Part Number: TMDS64EVM

Hello TI support team.

Is it possible for SBL to switch and launch user applications on CA53?

For example, suppose there are two applications (example0, example1) of a53ss0-0 in flash in different areas.
Is it possible to start example0 or example1 with SBL, or switch between them?

For example, SBL reads the flash value, and if the value is 0, it starts example0, and if it is 1, it starts example1.


Best regards,
Kiyomasa Imaizumi

  • Hi Kiyomasa,

    Yes, it is possible. Taking SBL OSPI as an example from MCU+ SDK v9.1, one way to meet your requirement is:

    1) Add a bootloader instance in the Sysoncfig with the flash address of your 2nd application. Assuming the 2nd application is flashed at 0x200000, this would look like:

    2) Add the logic in the source code to determine which image to boot. A sample code is shown below

    Based on the flag value, the Boot Handle will be initialized with particular Bootloader instance. The rest of the boot flow remains the same.

    Regards,

    Prashant