MKM14Z64 ACHH5 has written a program forbidding the SWD interface.

cancel
Showing results for 
Search instead for 
Did you mean: 

MKM14Z64 ACHH5 has written a program forbidding the SWD interface.

Jump to solution
207 Views
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

Labels (1)
0 Kudos
1 Solution
54 Views
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

View solution in original post

0 Kudos
2 Replies
55 Views
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

View solution in original post

0 Kudos
54 Views
jun1
Contributor V

Thank you very much.
it is complete.

0 Kudos