MKM14Z64 ACHH5 has written a program forbidding the SWD interface.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MKM14Z64 ACHH5 has written a program forbidding the SWD interface.

跳至解决方案
1,809 次查看
jun1
Contributor V

Hello.

I accidentally made this CPU's SWD (PIN 32, 33)
Programmed to I2C0_SCL, I2C0_SDA and written to the flash ROM,

DEFAULT: SWD
ALT5: I2C

Of course, debug connection with CMSIS-DAP is no longer possible.

As for the question, is there a way to revive this, that is, a writing method to make it the default SWD again?

Someone, please teach. Thank you.

P. S.
Sorry, my English is not good

标签 (1)
0 项奖励
回复
1 解答
1,656 次查看
BlackNight
NXP Employee
NXP Employee

You have to try to get control over the microcontroller right after reset before it does the pin muxing.

In MCUXpresso IDE there is a recovery option you could try:

pastedImage_1.png

An even better option is to use the P&E recovery tool. I have used that one sucessfully for the case you have, see Bricking and Recovering FRDM-KL25Z Boards: Reset, SWD Clock and Low Power | MCU on Eclipse 

I hope this helps,

Erich

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,657 次查看
BlackNight
NXP Employee
NXP Employee

You have to try to get control over the microcontroller right after reset before it does the pin muxing.

In MCUXpresso IDE there is a recovery option you could try:

pastedImage_1.png

An even better option is to use the P&E recovery tool. I have used that one sucessfully for the case you have, see Bricking and Recovering FRDM-KL25Z Boards: Reset, SWD Clock and Low Power | MCU on Eclipse 

I hope this helps,

Erich

0 项奖励
回复
1,656 次查看
jun1
Contributor V

Thank you very much.
it is complete.

0 项奖励
回复