How to disable JTAG on i.MX 8M?

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

How to disable JTAG on i.MX 8M?

跳至解决方案
5,619 次查看
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 解答
4,415 次查看
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 回复数
4,430 次查看
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 项奖励
回复
4,416 次查看
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
4,549 次查看
M_J
Contributor I

Hi @igorpadykov 

Could you forward to me details as well?

Kind regards,
Marcin

0 项奖励
回复
4,468 次查看
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 项奖励
回复
5,331 次查看
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 项奖励
回复
5,331 次查看
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 项奖励
回复
5,331 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Christian

I sent additional details by mail.

Best regards
igor

3,049 次查看
xuxa
Contributor I

Can you also send me the additional details?

Thank you.

0 项奖励
回复
3,022 次查看
bernhardfink
NXP Employee
NXP Employee

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

0 项奖励
回复
4,632 次查看
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,844 次查看
tgs
Contributor I

Hi Igor

Can you please send me the same information as well.

Thanks in advance,

TG

0 项奖励
回复
5,331 次查看
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 项奖励
回复
5,331 次查看
christian_mauderer
Contributor III

Hello Igor,

thank you. That solved my question.

Best regards

Christian

0 项奖励
回复