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.

MSPM0L1228: Is it safe or not if I only add the bimsupport.a?

Part Number: MSPM0L1228
Other Parts Discussed in Thread: MSPM0L2228

Tool/software:

Hi,

In mspm0_sdk_2_03_00_07, Boot Manager has been added IAR compiled library bimsupport.a

\mspm0_sdk_2_03_00_07\source\ti\boot_manager\lib\iar\m0p\bimsupport.a

Would it be safe if I only add the bimsupport.a to my source (using SDK version mspm0_sdk_2_01_00_03) without updating anything else?

I tried to build it, and there was no error. However, is there any risk that may occur when running?

Thanks!

  • Hi Sho,

    I assume you are using IAR for development.

    Since there is no bimsupport.a of IAR version in  mspm0_sdk_2_01_00_03, how do you use the library in this old version SDK?

    And there are some encryption related functions in the library, I think it have no impact to update the SDK version and replace the library. 

    You could check the .map file in your application to see which functions of the lib are used in application.

    Best Regards,

    Pengfei

  • Hi

    Would it be safe if I only add the bimsupport.a to my source (using SDK version mspm0_sdk_2_01_00_03)

    I simply added the "mspm0_sdk_2_03_00_07\...\iar\m0p\bimsupport.a" library to "\mspm0_sdk_2_01_00_03\source\ti\boot_manager\lib\".

    In mspm0_sdk_2_01_00_03, customer_secure_code (\examples\nortos\LP_MSPM0L2228\boot_manager\customer_secure_code) example is only supported by ticlang compiler. 

    IAR users must be comment out the code corresponding to encryption, otherwise the build will fail.

  • Hi Sho,

    Got your point.

    Firstly, the bimsupport.a includes the achievement of some low level APIs such as SHA256, ESDCA, add/sub/mult calculation. The update of the library should not impact your high level application program, and there is also not build problems when you migrate the library. Make sure in CCS/IAR property configuration, you are using the library you want:

    But I will still recommend you to update SDK to the newest version if it will not bring any build problem in your current project. 

    Best Regards,

    Pengfei

  • Hi

    Thanks. I will consider it.

    Best Regards!