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.

[FAQ] [参考译文] [常见问题解答] MSPM0G3507:MSPM0 SWD 访问失败处理方法

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1315204/faq-mspm0g3507-mspm0-swd-access-fail-handle-method

器件型号:MSPM0G3507

调试现象:可能在下载不正确的代码后遇到 SWD 访问失败问题。

错误触发:

解锁方法:

之前的解锁方法:连接 MCU 内核并运行恢复出厂设置。

更新方法:将 MCU 保持在复位模式并保持连接成功、然后将映像加载到 MCU 闪存中。 我们将在更高版本的 CCS 中支持此功能并自动保持解锁。 现在、我们可以首先提供一些测试版、但需要一些少量手动操作。

解锁 MSPM0指南:

步骤1:复制并替换.gel 文件: e2e.ti.com/.../1134.CCS-Gel-Files.zip

第2步:打开 CCS -> View->Target Configurations、启动

步骤3:打开 CCS-> Mailbox_Set 温度曲线

步骤4:打开选择"Texas……、右键单击-> Connect Target"

单击"清除等待、直到在控制台中收到此消息"

步骤5:现在、MCU 内核应已在 Main{}之前暂停、选择 Load、选择正确的映像文件。

在此之前、该 MCU 已解锁、并将新映像加载到闪存中。