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.

AM5706: Pass data (arguments) between SBL and application

Part Number: AM5706

Hi all,

I have a custom board based on AM5706, booting from QSPI FLASH device. Application runs on MPU and DSP with TI-RTOS. SBL is a modified version of SBL provided by TI in the PDK. I would like to pass few bytes of data from SBL to application. Could you please give me some pointers how to do it?

Thanks,

Marian

  • Hi Marian,

    There is no straight forward way available for this. Can you please provide more details on your use case, we'll be able to provide more pointed suggestion based on that.

    Regards,
    Parth

  • Hi Parth,

    Thanks for quick reply. I want to acheve two things:

    1. We have 2 versions of application software in the QSPI FLASH. SBL chooses the right version, decodes it and transfers execution to it. I want to inform application, which version was chosen by SBL.

    2. I want to detect, wheter application was started by SBL or loaded by JTAG and board initializatin was done by GEL files.

    Regards,

    Marian

  • Hi Marain,

    We have 2 versions of application software in the QSPI FLASH. SBL chooses the right version, decodes it and transfers execution to it. I want to inform application, which version was chosen by SBL

    I am a little confused with this use case here.  If different applications are chosen by SBL then why does application needs to know that it is being run?

    I want to detect, wheter application was started by SBL or loaded by JTAG and board initializatin was done by GEL files.

    You can use a shared memory location and set it to a particular value from SBL and then from application you can read the same address to determine if it is booted from SBL.

    Regards,
    Parth