S32K342 JTAG lock/Unlock

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

S32K342 JTAG lock/Unlock

3,110 次查看
Ramu1983
Contributor I

Hello,

Could you please let me know process how to lock/unlock JTAG/Debug port via software with password for S32K342 micro controller.

Thanks

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

2,978 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Could you please let me know how to program the DCF record and Life cycle state?

The DCF records are programmed to UTEST flash.

For DCF please refer to Chapter 37 Device Configuration Format (DCF) records of reference manual

For Life cycle to chapter 32.5.2 Address LC configuration word

Is it directly through application programming or through JTAG scripts we need to lock/unlock?

You can use both. For more details please refer to chapter 32.5.2 Address LC configuration word.

Could you please direct to me if we have any application notes related to this topic.

There is no application note directly for LC. In case you are not using HSE, then it is directly trough IVT, like 32.5.2 express.

In case of HSE, then it is trough HSE services.

Best regards,

Peter

0 项奖励
回复

2,952 次查看
Ramu1983
Contributor I

Hello,

Can we use Fls_Write() function to write DCF record and LC state?

If not, could you please direct me the function which need to be used from SDK for writing these records in to UTest memory.

Also, could you please let me know how to unlcok JTAG after locking?

Thanks.

0 项奖励
回复

2,928 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Can we use Fls_Write() function to write DCF record and LC state?

I am not familiar with these drivers, but I expect that the answer is yes since I see the UTEST covered by RTD FLS user manual and also there are functions for operation with UTEST. As UTEST is just a block of normal flash only protected by PEASAD bit. Please check the

petervlna_0-1692950569219.png

Also, could you please let me know how to unlock JTAG after locking?

This is different for the debug vendors. Please contact your debugger vendor to see how it is done in his environment.

Best regards,

Peter

0 项奖励
回复

3,043 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

You simply program DCF record (Debug password(CUST_DB_PSWD_A)) in UTEST memory and advance life cycle

or in case you have HSE FW installed:

petervlna_0-1691993484016.png

Best regards,

Peter

 

0 项奖励
回复

3,033 次查看
Ramu1983
Contributor I

Hello,

Thanks for the information.

Could you please let me know how to program the DCF record and Life cycle state?

Is it directly through application programming or through JTAG scripts we need to lock/unlock?

Could you please direct to me if we have any application notes related to this topic.

Thanks,

 

0 项奖励
回复