If the debugging port is disabled, the program cannot be written. How to solve this problem?

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

If the debugging port is disabled, the program cannot be written. How to solve this problem?

跳至解决方案
2,603 次查看
kabusiji
Contributor I

As shown in the figure:

Debug.PNG

May I ask that the Debug was closed through PE configuration last time, but it cannot be burned in now, is there any solution?

标签 (1)
0 项奖励
回复
1 解答
2,597 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Please refer the answer in: How to burn the program in KEA8 if SWD is disabled in main.

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,591 次查看
ErichStyger
Specialist I

The easiest way is to use the P&E Multilnk (it can be a 'normal' one), with the PEMICRO Recovery utility, see https://mcuoneclipse.com/2021/05/20/recovering-cortex-m-microcontroller-with-a-power-glitch/ and https://mcuoneclipse.com/2013/06/16/bricking-and-recovering-frdm-kl25z-boards-reset-swd-clock-and-lo...

For the above you need the PEMicro debug probe.

If you have a J-Link, then you can try the 'resurrect locked Kinetis device' in the MCUXpresso IDE, see

ErichStyger_0-1647257501702.png

There is a command line way too, see https://mcuoneclipse.com/2014/10/05/unlocking-and-erasing-flash-with-segger-j-link/

 

I hope this helps,

Erich

0 项奖励
回复
2,578 次查看
kabusiji
Contributor I

Thanks!

0 项奖励
回复
2,598 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Please refer the answer in: How to burn the program in KEA8 if SWD is disabled in main.

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
2,582 次查看
kabusiji
Contributor I

Thanks

0 项奖励
回复