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:如果我仅添加 bimsupport.a、它是否安全?

Guru**** 2463330 points
Other Parts Discussed in Thread: MSPM0L2228

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1473502/mspm0l1228-is-it-safe-or-not-if-i-only-add-the-bimsupport-a

器件型号:MSPM0L1228
主题中讨论的其他器件:MSPM0L2228

工具与软件:

您好!

在 mspm0_SDK_2_03_00_07中、引导管理器已添加  IAR 编译库 bimsupport.a

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

如果我只将 bimsupport.a 添加 到我的源代码(使用 SDK 版本  mspm0_sdk_2_01_00_03 )而不更新任何其他内容?

我尝试过构建它、但没有错误。 但是、运行时是否存在任何风险?

谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Sho:

    我假设您使用 IAR 进行开发。

    因为中没有 IAR 版本的双支持。A   mspm0_sdk_2_01_00_03、 您如何在此旧版本 SDK 中使用库?

     库中有一些与加密相关的函数、我认为更新 SDK 版本并替换库没有影响。  

    用户可以在应用程序中检查.map 文件以查看在应用程序中使用了库的哪些函数。

    此致、

    Pengfei

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    [报价 userid="59845" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1473502/mspm0l1228-is-it-safe-or-not-if-i-only-add-the-bimsupport-a "]如果我只将 bimsupport.a 添加 到我的源代码中(使用 SDK 版本  mspm0_sdk_2_01_00_03 )[/报价]

    我只添加了 " mspm0_sdk_2_03_00_07 \...\IAR\m0p\bimsupport.a"库更改为"\" mspm0_sdk_2_01_00_03 \source\ti\boot_manager\lib\"

    在 mspm0_sdk_2_01_00_03中、 customer_secure_code (\examples\nortos\LP_MSPM0L2228\boot_manager\customer_secure_code)示例仅 受 ticlang 编译器支持。  

    IAR 用户必须注释掉与加密对应的代码、否则构建将失败。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Sho:

    明白了您的观点。

    首先、bimsupport.A 包括实现一些低级别 API、例如 SHA256、ESDCA、add/sub/mult 计算。 库的更新不应影响您的高级应用程序、并且在迁移库时也不会出现构建问题。 确保在 CCS/IAR 属性配置中、您正在使用所需的库:

    但如果这样不会在当前工程中带来任何构建问题、我仍然建议您将 SDK 更新到最新版本。  

    此致、

    Pengfei

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢。 我会考虑它。

    此致!