Regaining debug after reconfiguration of SWD pins

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

Regaining debug after reconfiguration of SWD pins

2,132 次查看
AdrianR
NXP Employee
NXP Employee

I just want to share a possible solution in case you have "bricked” an S32KxxxEVB by running a code that reconfigures the debug pins (SWD_CLK, SWD_DIO) to other functions.

All you need is an external probe - P&E Multilink and the P&E Recover utility.

The procedure is the same as described for Kinetis devices in Erich Styger's blog:

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

Thanks to a customer for pointing to that solution.

(I've not tried it yet, I'll update when checking it on my own board)

标记 (1)
0 项奖励
回复
2 回复数

1,774 次查看
sinu_isac
Contributor I

Hello,

I am facing the same issue and unfortunately there is no P&E Multilink with me. Is there a way to do the same with Lauterbach debugger? Please share the steps if this is tried out.

Thanks

Sinu

0 项奖励
回复

1,774 次查看
AdrianR
NXP Employee
NXP Employee

You can do it with other debugger too: Lauterbach, Segger Jlink.

If reset pin is also reconfigured, the point is to do repeated POR (eg. by using a jumper J107, J10), until the debuger gets to hold the core, before your code re-configures the pins.

Steps:

- set a debugger loop to reset and hold

- manually power on reset the board until the debugger gets to hold the core

0 项奖励
回复