How can I ban debug interface? (FSEC)

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

How can I ban debug interface? (FSEC)

跳至解决方案
2,271 次查看
kmh48301
Contributor IV

Hi. I use s32k144.

I need to ban debug interface(JTAG,SWD ... All).

I stuided the FSEC and mass erase in Reference Manual

As I understand, s32k144 can be secured from debug interface. (But I couldn't find 'Ban')

 

==================

According to this link : https://community.nxp.com/t5/S32K/S32k142-Device-is-Secure/m-p/1005273

I think :

Although I secure the flash by FSEC, and disable the Mass Erase, debug interface is still alive.

=================

My think is correct?

 

I need to completely 'Ban' the debug interface.

Please give me a little advice.

 

 

Thanks

Best Regards

Phillip

0 项奖励
回复
1 解答
2,263 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@kmh48301

You need to set FSEC->SEC !=0b10

Senlent_0-1635403519971.png

 

NOTE!
        If the user disables mass erase with no other means to unsecure the device (no backdoor
key and no firmware means of changing the default security options), then that device
will be permanently secured.

 

Know more:

   It is very similar to the security features of the Kinetis family MCUs. You can refer to AN4507 Using the Kinetis Security and Flash Protection Features 
   https://www.nxp.com/docs/en/application-note/AN4507.pdf

BR!

     Jim,

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,264 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@kmh48301

You need to set FSEC->SEC !=0b10

Senlent_0-1635403519971.png

 

NOTE!
        If the user disables mass erase with no other means to unsecure the device (no backdoor
key and no firmware means of changing the default security options), then that device
will be permanently secured.

 

Know more:

   It is very similar to the security features of the Kinetis family MCUs. You can refer to AN4507 Using the Kinetis Security and Flash Protection Features 
   https://www.nxp.com/docs/en/application-note/AN4507.pdf

BR!

     Jim,

0 项奖励
回复