S32K342 JTAG lock/Unlock

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

S32K342 JTAG lock/Unlock

3,114件の閲覧回数
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,982件の閲覧回数
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,956件の閲覧回数
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,932件の閲覧回数
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,047件の閲覧回数
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,037件の閲覧回数
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 件の賞賛
返信