请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:MSPM0C1104Thread 中讨论的其他器件: UNIFLASH
工具/软件:
您好、
我针对的是 8 引脚 MSPM0C1104 器件。
在调用 SYSCFG_DL_init () 之前、我已禁用 SWD 引脚以在~15 秒的延迟内将其用于 SPI;
通过执行 POR 序列并使用 LaunchPad 开发板刷写代码、我能够多次成功地对器件进行编程和重新编程。
在我(认为)在编程序列期间碰到器件后、我现在无法对器件进行编程。
我已安装 UniFlash 工具并尝试运行 DSSM 恢复出厂设置(手动和自动)、但收到以下错误:
[9/2/2025, 3:43:01 PM] [INFO] CS_DAP_0: GEL Output: Initiating Device Factory Reset
[9/2/2025, 3:43:01 PM] [ERROR] CS_DAP_0: Trouble Writing Register SECAP_TCR: (Error -2131 @ 0x20204) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 20.2.0.3575)
[9/2/2025, 3:43:01 PM] [ERROR] CS_DAP_0: GEL: Error while executing GEL_DAPInit_SECAPCommand(): Target failed to write register SECAP_TCR at 'REG'::SECAP_TCR=command [mspm0_cs_dap_init.gel:234] at GEL_DAPInit_sendCommand('GEL'::gDAPSecAPCmd) [mspm0_cs_dap_init.gel:403] at GEL_DAPInit_SECAPCommand()我的设备坏了吗?
我已经添加了一个与 Launchpad 复位线路串联的外部复位开关、以确保在 POR 时复位线路保持低电平超过 1 秒、但除了上述错误消息外、我尝试过的任何东西都不会导致抗干扰。