MCU-PLUS-SDK-AM263PX: AM263P4 - HSM Runtime

Part Number: MCU-PLUS-SDK-AM263PX

Tool/software:

Hi,

I understand that, while SBL is executing and before fetching main application code, HSM Runtime is loaded.

What exactly is HSM Runtime, where is it loaded from?

Is it also stored in external flash along with Main application code and SBL code?

How is it loaded into L2 memory before Eclipsing ? Does it use OSPI or UART boot mode to fetch the HSM Runtime code?

Thanks

Geetha K

  • Hi Geetha,

    The HSM Runtime firmware is part of the SBL binary, which is included in the same as hsmRtImg.h in your SBL code.

    So, once the RBL is eclipsed by SBL, then the SBL loads the HSMRT onto the M4 core using Bootloader_socLoadHsmRtFw() API.

    Hope this answers your query.

    Thanks and Regards,

    Nikhil Dasan

  • Hi Nikhil,

    Thanks for the explanation.

    The HSM Runtime firmware is part of the SBL binary, which is included in the same as hsmRtImg.h in your SBL code.

    Is there any fixed location that HSM Runtime firmware is always stored?

    Can we modify this HSM Runtime firmware as per our requirements?

    Thanks and Regards,

    Geetha K

  • In the SBL, the hsmrt is placed in the section .rodata.hsmrt which is placed in L2 OCRAM, 

    This can be seen in the linker file of the sbl project

    Thanks and Regards,

    Nikhil Dasan