Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

MSPM0L1306: Motorola file to initialize nonmain on IAR

Part Number: MSPM0L1306
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi team,

My customer would like to reset the nonmain region to its initial value but the motorala file only generated when the nonmain modified such as disabling BSL.

Do you know how to generate file with initial values for the nonmain area on IAR ?

IAR version:

Best regards,

Kenley 

  • Hi, Kenley

    My customer would like to reset the nonmain region to its initial value but the motorala file only generated when the nonmain modified such as disabling BSL.

     

    You mean that only we change nonmain region configuration, motorala file will has nonmain, right?

    Where do you change these nonmain config?

    You can directly declare an array with nonmain initial values ​​directly in the code and fix its address to the nonmain area.

    For this array, you can refer to Systemcfg generated code.

    Regards,

    Helic

  • Hi Helic

    Yes, only we change the nonmain region configuration, the motorola file will be generated for nonmain.

    Customer changed the BSL configuration to disable BSL.

    In this case the non-main region configuration will be changed and the motorola file could be generated.

    So customer need to change the code directly ? There is no way to automatic generate the code ?

    Best regards,

    Kenley

  • Hi

    Does customer use a System configuration tool?

    For System configuration tool,

    Whether S19 file has nonmain or not, it is depending on C source file that generated by SYSCFG.

    -------------

    At my side, from my test, once you enable the Configuration NVM, syscfg will generate the boot_config.c and .h file, which will contain the Nonmain default configuration.

    I am using the latest MSPM0 SDK and CCS theia and system configuration tool.

    Best regards,

    Kenley

  • Hi Helic,

    How to generate the motorola file then on IAR ?

    The issue is when they do not change any configuration NVM on sysconfig, the motorola file for nonmain could not be generated on IAR.

    Best regards,

    Kenley

  • Hi, 

    Please let customer check whether these two file will be generated or not when using default NVM configuration: 

    boot_config.c and .h

    If not, customer can manually add it to project folder.

    Or, there are boot_config.c and .h files, but there is no change in S19 file.

    How to generate the motorola file then on IAR ?

    Customer can not generate S19 in IAR? I am not familiar with IAR, how customer generate S19 file now?

    Regards,

    Helic

  • Hi Helic 

    Thank you for your support.

    Seems like customer could clear this issue soon.

    Best regards,

    Kenley