The pins in SWD are inadvertently set to normal GPIO

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

The pins in SWD are inadvertently set to normal GPIO

669 次查看
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 项奖励
回复
1 回复

653 次查看
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 项奖励
回复