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.

MSP432_Factory_Reset

Other Parts Discussed in Thread: UNIFLASH

您好, 关于MSP432_Factory_Reset 的问题, 我这边发现目前只有 CCS6.1 的版本是可以正常进行Factory Reset的, 

我还尝试过CCS 8.3.1 和 CCS 10.0.0  都可以正常按照流程去设置, 就是在点击完最后的 MSP432_Factory_Reset 时, 显示是执行成功了, 

但是实际上并没有执行成功,只是触发了Reset ,程序并没有被擦除。 

请问现在这个问题解决了吗?

我最近也要用这个功能。

  • 您使用的是launchpad?

    请您尝试下面的步骤:

    1 Connect the failing LaunchPad/unit to your PC.
    2 Open CCS, assume you already have at least one MSP432 project open.
    3 Go to View > Target Configuration.
    4 Within Target Configuration navigate to your MSP432 project > the .ccxml file.
    5 Right Click > Launch Configuration
    6 Under Debug window you should now see some tree structure starting with the .ccmxl file being the root > something_CORTEX_M4_something (unknown)
    7 Right Click > Show all hidden cores.
    8 Connect only to the Non-Debuggable Devices > DAP.
    9 Go to Script > Factory Reset.
    10 Power cycle and try to restart debug.

    “显示是执行成功了,

    但是实际上并没有执行成功,只是触发了Reset ,程序并没有被擦除。 ”

    您是如何查看的?uniflash?

    我明天会使用launchpad配合CCS 8.3.1 和 CCS 10.0.0 来尝试 MSP432_Factory_Reset,测试之后会给您回复
  • 我今天使用上面给出的步骤,配合CCS 10.0&MSP432P401Rlaunchpad

    在CCS内显示是成功执行MSP432_Factory_Reset的。

    而后连接板子到uniflash,使用read memory查看,之前烧录的程序被清除了。

    若是可以的话,请给出您出现问题的相关截图或者信息,谢谢

  • 我用的是我自己的板子, 不是用的launch pad。
    执行完之后提示如下:
    CS_DAP_0: GEL Output: Mass erase executed. Please terminate debug session, power-cycle and restart debug session.
    然后板子也复位了一下, 因为我板子是带屏幕的,可以看到程序复位,然后程序可以继续正常跑。
    我用CCS8.3的时候也是同样的现象。

    我用CCS 6 的时候,现象就不是这样的,执行完之后屏幕就黑屏了,里面程序没有了。

    我再找个launch pad 试试吧!
  • 好的,期待您的反馈
  • 您好,我是楼主的同事,我在launchpad上下载了gpio_toggle_output的例程,然后用CCS9.3.0和CCS10.1.1都试了,显示上图中的结果,但是实际上并未擦除程序,LED灯仍然在闪,用uniflash也还是能读到flash上有数据,不知道是哪里出了问题?

  • 是完全按照上面的步骤吗?

    1 Connect the failing LaunchPad/unit to your PC.
    2 Open CCS, assume you already have at least one MSP432 project open.
    3 Go to View > Target Configuration.
    4 Within Target Configuration navigate to your MSP432 project > the .ccxml file.
    5 Right Click > Launch Configuration
    6 Under Debug window you should now see some tree structure starting with the .ccmxl file being the root > something_CORTEX_M4_something (unknown)
    7 Right Click > Show all hidden cores.
    8 Connect only to the Non-Debuggable Devices > DAP.
    9 Go to Script > Factory Reset.
    10 Power cycle and try to restart debug.

    我之前也有这样的提示。而后断电后重新上电,然后restart debug,而后再次断电是可以成功的
  • 啊,找到原因了,我们没有点terminate,点过之后就可以成功擦除了,感谢支持!

  • 很高兴能帮到您!若是可以的话,请点击 确认此为答案,谢谢