2419361_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2419361_en-US

2419361_en-US

S32K142 cannot disable debug interface

Hello, the chip I'm using is the S32K142, and the FSEC configuration is as follows:

/* Flash Configuration */
.section .FlashConfig, "a"
.long 0xFFFFFFFF /* 8 bytes backdoor comparison key */
.long 0xFFFFFFFF /* */
.long 0xFFFFFFFF /* 4 bytes program flash protection bytes */
.long 0xFFFF7FFF /* FDPROT:FEPROT:FOPT:FSEC(0xFE = unsecured) */

However, I can still debug after power failure and restart. The data at address 0x0_040C is 0xFFFF7FFE. Why is the configuration not effective?

Re: S32K142无法关闭调试接口

Hi @minsky1 

There are two ways to enable the security feature on S32K1 devices:

  1. Modify the Flash Configuration Field directly in the startup_S32K1xx.s file of your application project. Make sure that the lowest two bits of the FSEC field at address 0x40C (FSEC[SEC]) are set to a value other than 10b, which is the default unsecured state.
  2. Configure the security settings using a programming tool, such as Cyclone. This method is often used during production programming and can be easily automated through programming scripts.

Also, if you are working with Lauterbach, please note that it does not allow the FSEC field to be modified unless a specific command is issued. This is an protection against unintended modification.

There have been a few discussions on this topic in the past. You may find the threads below helpful, as they cover similar situations and could provide additional insights.


BR, VaneB

タグ(1)
評価なし
バージョン履歴
最終更新日:
金曜日
更新者: