MKW31Z512 SWD pin disable

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

MKW31Z512 SWD pin disable

跳至解决方案
1,890 次查看
Angletown
Contributor I

Hi 

 

In the K32W061/K32W041 User Manual (https://www.nxp.com/docs/en/user-guide/UM11323.pdf) it is mentioned how to setup the MCU to disable SWD at boot.

 

I cannot seem to find similar information about the MKW41Z/31Z/21Z, specifically the MKW31Z (https://www.nxp.com/docs/en/data-sheet/MKW41Z512.pdf). Is it the same/other procedure, or is it not an available feature for the MKWX1Z family?

Thanks

标签 (1)
0 项奖励
回复
1 解答
1,872 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Angletown,

I hope you are doing great.

The K32W and KW31, in this case, are completely different.

However, you could disable the SWD pins, you could create a routine that selects a different pin functionality in those pins.

Remember, it will be a problem to connect with the debugger after you have disabled the pins.

I am not sure if you want to protect your memory flash, but you could look at the next AN.

https://www.nxp.com/docs/en/application-note/AN4507.pdf

Regards,

Mario

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,873 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Angletown,

I hope you are doing great.

The K32W and KW31, in this case, are completely different.

However, you could disable the SWD pins, you could create a routine that selects a different pin functionality in those pins.

Remember, it will be a problem to connect with the debugger after you have disabled the pins.

I am not sure if you want to protect your memory flash, but you could look at the next AN.

https://www.nxp.com/docs/en/application-note/AN4507.pdf

Regards,

Mario

0 项奖励
回复