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.

[参考译文] LP-MSPM0L1306:如何添加内核命令来更改 BSL 中的 UART 波特率

Guru**** 2393835 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1494128/lp-mspm0l1306-how-to-add-core-command-to-change-uart-baud-rate-in-bsl

器件型号:LP-MSPM0L1306

工具与软件:

团队成员、您好!

我正在使用基于 ROM 的 BSL 演示 "bsl_host_mcu_to_mspm0l11xx_l13xx_target_uart"。  

 使用基于 ROM 的 BSL 时、我知道只能在 Non MAIN 中更改配置。  

然而、由于该器件不支持 在 NVM 中更改 UART 波特率、因此我需要添加命令、我想知道 如何找到该函数。

1.我可以在 drivelib 中找到它吗?

2.如果我将其添加到 bsl_uart.c 文件中并在 main.c 文件中调用它、我是否需要更改 syscfg?

3.对于插件和第二个 BSL 等开源 BSL、我可以在 syscfg 中更改它吗?

感谢您的支持  

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

    你好、Robin、

    如果您要使用 ROM BSL、则不能更改波特率。 为了解决此问题、您可以使用闪存 BSL 或 BSL 插件。

    [报价用户 id="638035" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1494128/lp-mspm0l1306-how-to-add-core-command-to-change-uart-baud-rate-in-bsl "]对于插件和第二个 BSL 等开源 BSL、我可以在 syscfg 中更改它吗?

    syconfig 中没有配置可更改波特率、您只能在代码中更改波特率。

    此致、

    Zoey