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.

[参考译文] MSPM0G1107:关于 invokeBSLAsm ()

Guru**** 2502205 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1549994/mspm0g1107-about-invokebslasm

器件型号:MSPM0G1107


工具/软件:

您好的团队、

我的客户参考了“bsl_software_invoke_app_demo_uart"工程“工程。 他们发现 invokeBSLAsm() 子例程将擦除 SRAM。 但是、客户需要在 “SRAM 0x20208000“位置保留一个闪存、他们的引导加载程序代码将检查此标志并执行不同的选项。 他们要求如下帮助。

1.在  invokeBSLAsm () 中,他们可以跳过擦除 SRAM 吗?

2.否则,有没有办法保持标志值(在 SRAM 内的某个地方)? 然后、他们的引导加载程序可以检查此标志值。  

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

    您好 Jerry、

    很抱歉耽误你的时间。

    [quote userid=“76143" url="“ url="~“~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1549994/mspm0g1107-about-invokebslasm 在  invokeBSLAsm() 中、它们是否可以跳过擦除 SRAM?

    客户 可以尝试使用、但我们不建议在跳转到 BSL 之前清除 SRAM。  

    [quote userid=“76143" url="“ url="~“~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1549994/mspm0g1107-about-invokebslasm 否则、是否有办法保留标志值(在 SRAM 内的某个位置)? 然后、他们的引导加载程序可以检查此标志值。  [/报价]

    可能客户可以尝试将其存储在 TRM 中如下所示的关断存储器中、 invokeBSLAsm () 将不会清除关断存储器。

    此致、
    彼得

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

    您好、Peter:

    客户询问您是否可以提供如何写入/读取关断存储器? 他们无法从 SDK 中找到示例代码。

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

    您好 Jerry、

    我们提供了示例“ SysCtl_SHUTDOWN SDK 中的_LP_MSPM0xxxx_nortos_ticlang“、如下所示。

    此致、
    彼得