S32K144 change FSEC

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

S32K144 change FSEC

1,460件の閲覧回数
pangyun
Contributor II

I am developing on a S32K144 , usually in debug mode with the device unsecured.

I use S32 Design Studio for S32 Platform Version: 3.4 for developing.

The hardware is segger jlink.

In order to secure the device I set the SEC bits of FSEC reg. from "10" to "11" in the starup.S file as below .

pangyun_0-1744182010197.png

 Program the device by s32ds debug ,but I finally found the SEC bits is always 10b.

Please tell me reason and how can I program by S32DS debug with J-LINK to set the SEC bits of FSEC reg. from "10" to "11".

 

タグ(1)
0 件の賞賛
返信
3 返答(返信)

1,432件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @pangyun

Please look at this community post: Solved: S32K144 Setting FSEC bits to Secure - NXP Community. It mentions the same issues, which was fixed by programming in unsecure and secure modes.

Best regards,
Julián

0 件の賞賛
返信

1,412件の閲覧回数
pangyun
Contributor II
I see that,but he used the Multilink Universal (PEMicro) to program,my device is J-LINK. So please tell me reason and how can I program by S32DS debug with J-LINK to set the SEC bits of FSEC reg. from "10" to "11".
0 件の賞賛
返信

1,368件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @pangyun,

Are you using S32DS to flash or the J-Link tools (such as J-Flash)?

Modify the FSEC register in startup_S32K144.S file and generated a .hex file with S32DS. Then, select allow security in J-Flash, you should be able to secure it:

Julin_AragnM_0-1745615711405.png

Julin_AragnM_2-1745615742474.png

Best regards,
Julián

0 件の賞賛
返信