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.

[参考译文] MSPM0C1104:辅助 BSL 无法正常工作(I2C、UART)

Guru**** 2394295 points
Other Parts Discussed in Thread: MSPM0C1104, UNIFLASH

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1506561/mspm0c1104-secondary-bsl-doesn-t-work-i2c-uart

器件型号:MSPM0C1104
Thread 中讨论的其他器件: UNIFLASH

工具/软件:

您好 Guru、

如您所知、MSPM0 C 系列没有 ROM BSL。 所以、 我尝试使用辅助 BSL。

我尝试使用 I2C、UART 调用。 但两种通信都无法正常工作。

1. I2C

主机-"bsl_host_mcu_to_mspm0c110x_target_i2c_LP_MSPM0C1104_nortos_ticlang"

目标-"flash_bsl_LP_MSPM0C1104_nortos_ticlang"+"bsl_software_invoke_app_demo_i2c_LP_MSPM0C1104_nortos_ticlang"

主机向目标发送"0x22"、目标看起来会进入 BSL 模式。

但下一个序列是目标发送 NACK 和通信停止。

2. UART

主机-"bsl_host_mcu_to_mspm0c110x_target_uart_LP_MSPM0C1104_nortos_ticlang"

目标-"flash_bsl_LP_MSPM0C1104_nortos_ticlang"+"bsl_software_invoke_app_demo_uart_LP_MSPM0C1104_nortos_ticlang"

首先、主机发送"启动应用程序"命令、即使前一条命令没有结束也是如此

因此、我增加了10ms 的延迟以避免冲突。

增加10ms 的延迟后、解决了信号冲突、目标发送正确的响应。

但目标不会运行。 此外、Uniflash 无法正常工作(可以通过 DSSM 恢复出厂设置来解决)。

您知道 UART、I2C BSL 无法正常工作的原因吗?

提前感谢您!