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.

IWRL6432BOOST: sbl_switchtoapp

Part Number: IWRL6432BOOST

Could you provide clarity on the sbl_switchtoapp function?


I want clarity on the entire nook and corner of the code. What is the purpose of assigning value of all the pointer variables with the particular value, as the purpose of Metaheader and the variables present in it, And mainly what is the purpose of masking the value of topPrcmShmCfg with hexadecimal 0,7,38 and 3f. Also, what will happen if the appShmClk is assigned 5,6,9 and A?What is the relation between these values.

  • Hello.

    I am looking into this and will provide an update by end of day Monday.

    Sincerely,

    Santosh

  • Hello.

    0, 7, 38, and 3f all represent how far the CM4 code will be extended into shared memory.  0 means that no code will be extended into shared memory, while 7 represents it will extend into the first 128 KB of shared memory, 38 represents being extended into the second 128 KB shared memory, and 3F represents it extending into the full 256 KB.  This information is also included in the TRM for the register HWA_PD_MEM_SHARE_REG.

    5, 6, 9, and A represent which shared memory clock is enabled.  5 represents enabling the APP_CLK_ICG for both 128 KB regions of shared memory, A represents enabling the HWA_CLK_ICG for both 128 KB regions of shared memory, and 6/9 mix and match the enabling of the clocks.  This information is also included in the TRM for the register APPSS_SHARED_MEM_CLK_GATE.

    Sincerely,

    Santosh