AM263P4-Q1: SOC Initialization, what is it?

Part Number: AM263P4-Q1
Other Parts Discussed in Thread: AM263P4

Hello,

Our custom PCB is successfully using AM263P4 and Infineon S25FL128 flash chip but I am only able to successfully flash our custom SBL and application and run it after first debugging said custom SBL using a modified load_sbl.js as described here: AM263Px MCU+ SDK: Additional Details 

This got me thinking that perhaps I am missing SOC Intialization.

The "SOC Initialization" section says the following:

image.png

  1. The text implies that this is something that is required to be done only once in the life of the SOC, have I understood that correctly?
  2. If so, what does SOC Initialization actually do?
  3. If so, how does this become a permanent change in the device such that SOC Initialization does not need to carried out thereafter?

Thank you.

  • Hi Kier,

    The SOC INitialization is  same as gel files, you can skip this process either by using 

    1. DEV boot mode with GEL files

    2. OSPI boot mode with your SBL NULL(Then use CCS to load the application .out)  or SBL OSPI+ Application

    • The text implies that this is something that is required to be done only once in the life of the SOC, have I understood that correctly?
    • If so, what does SOC Initialization actually do?

    No its not like that, initialization refers to gel files or SBL to init the SOC, before your application code can take over.

  • Hi Nilabh,

    OK, understood. Thanks.

    The question remains then why I can't seem to write to the external flash chip without first debugging the SBL. I will raise a separate question on that.

    Kier