How to disable JTAG on i.MX 8M?

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

How to disable JTAG on i.MX 8M?

ソリューションへジャンプ
4,788件の閲覧回数
christian_mauderer
Contributor III

The i.MX 8M reference manual mentions a JTAG_SMODE[1:0] and a SJC DISABLE e-fuse that are necessary to disable JTAG access. But I can't find the address or location of the fuses. Where can I find them? Is there some document describing it?

ラベル(1)
タグ(2)
0 件の賞賛
1 解決策
3,584件の閲覧回数
bernhardfink
NXP Employee
NXP Employee

Here is the description of these fuse bits:

Fuse AddressFuse NameFunctionSetting
0x470[21]SJC_DISABLEDisable/Enable the Secure JTAG Controller module. This fuse is used to create highest JTAG security level, where JTAG is totally blocked.0 - Secure JTAG Controller is enabled
1 - Secure JTAG Controller is disabled
0x470[23:22]JTAG_SMODE[1:0]JTAG Security Mode. Controls the security mode of the JTAG debug interface00 - JTAG enable mode
01 - Secure JTAG mode
1x - No debug mode

元の投稿で解決策を見る

13 返答(返信)
3,599件の閲覧回数
Nocker
Contributor II

Hi,

I have the exact same question, can someone let me know the answer please?

And I agree with what someone else has posted, it is not very useful when the answer results in a private email.

Regards,

Chris

0 件の賞賛
3,585件の閲覧回数
bernhardfink
NXP Employee
NXP Employee

Here is the description of these fuse bits:

Fuse AddressFuse NameFunctionSetting
0x470[21]SJC_DISABLEDisable/Enable the Secure JTAG Controller module. This fuse is used to create highest JTAG security level, where JTAG is totally blocked.0 - Secure JTAG Controller is enabled
1 - Secure JTAG Controller is disabled
0x470[23:22]JTAG_SMODE[1:0]JTAG Security Mode. Controls the security mode of the JTAG debug interface00 - JTAG enable mode
01 - Secure JTAG mode
1x - No debug mode
3,718件の閲覧回数
M_J
Contributor I

Hi @igorpadykov 

Could you forward to me details as well?

Kind regards,
Marcin

0 件の賞賛
3,637件の閲覧回数
bernhardfink
NXP Employee
NXP Employee

Meanwhile these fuse bits have been documented in the Security Reference Manuals of 8M Nano and 8M Plus. It's the same structure as in 8M and 8M Mini.

I will check

  • Why we haven't updated it for 8M Mini and 8M yet
  • Why it is not part of the OTP fuse description in the normal Reference Manual


Regards,
Bernhard.

0 件の賞賛
4,500件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Christian

one can look at

Understanding how to burn eFuses on i.MX8 and i.MX8x families - i.MXDev Blog 

https://community.nxp.com/thread/505184 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
4,500件の閲覧回数
christian_mauderer
Contributor III

Hello Igor,

thanks for the reply. My problem is not how to set a fuse in general. It's more the problem where this specific fuses are located.

For example: The reference manual tells me that BT_FUSE_SEL is at 0x470[28] and it tells me that this is bank 1 word 3. But it doesn't tell me a location for JTAG_SMODE[1:0] and SJC DISABLE. For i.MX6 or i.MX7 there is another document that tells me the location (https://www.nxp.com/docs/en/application-note/AN4581.pdf ). But I didn't find one for i.MX8.

Best regards

Christian

0 件の賞賛
4,500件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Christian

I sent additional details by mail.

Best regards
igor

2,218件の閲覧回数
xuxa
Contributor I

Can you also send me the additional details?

Thank you.

0 件の賞賛
2,191件の閲覧回数
bernhardfink
NXP Employee
NXP Employee

I marked my answer from last year as solution, so that it's easier to find.

0 件の賞賛
3,801件の閲覧回数
marcusfolkesson
Contributor I

Please post the solution here instead of sending it to one single recipient. There are too many threads here that end with "I sent you a mail". The thread is useless for everyone but the thread creator.

I would like to have this information as well.

Thanks,
Marcus

0 件の賞賛
4,013件の閲覧回数
tgs
Contributor I

Hi Igor

Can you please send me the same information as well.

Thanks in advance,

TG

0 件の賞賛
4,500件の閲覧回数
marcelziswiler
Senior Contributor I

Thanks, igorpadykov, very helpful to answer this by mail!

How about others like us who are also wondering about all this?

0 件の賞賛
4,500件の閲覧回数
christian_mauderer
Contributor III

Hello Igor,

thank you. That solved my question.

Best regards

Christian

0 件の賞賛