The pins in SWD are inadvertently set to normal GPIO

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The pins in SWD are inadvertently set to normal GPIO

769 Views
jinsheng20
Contributor III

 s32k116 

  • The pins in SWD are inadvertently set to normal GPIO.

  • Now I can't download the program through JLink. I only have JLink on hand. What should I do to resume downloading?
0 Kudos
Reply
1 Reply

753 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

You need to halt the program before the pins are reprogrammed to GPIOs.

There is PE Micro Kinetis Recovery Utility described here:

https://mcuoneclipse.com/2013/06/16/bricking-and-recovering-frdm-kl25z-boards-reset-swd-clock-and-lo...

With J-link, I haven't tested it, but I think you can try this:

Connect reset_b pin to the ground and power-cycle the MCU.

While the MCU is in reset, use J-link commander and the 'unlock kinetis' command.

 

Regards,

Daniel

 

0 Kudos
Reply