Programming SJC_DISABLE, JTAG_SMODE fuses on iMX8MM

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

Programming SJC_DISABLE, JTAG_SMODE fuses on iMX8MM

2,322 次查看
TBYE
Contributor I

Hi, How can i fuse SJC_DISABLE or enable Secure JTAG on imx8mm

Where can i find the fuse bit, word and bank

0 项奖励
回复
9 回复数

2,301 次查看
Silvarye
Contributor II

Hi, 

yes, so with uboot you can program SJC_DISABLE like this :

=> fuse prog 1 3 0x200000

And for enable Secure JTAG check the fuse Map in the reference manual  at the address 0x470[23:22]

So, for find the fuse bit, word and bank, 

1st, you need to find in the fuse map what you search, after you have the address (for example 0x470[23;22])

2nd, with the address you can find in the OCOTP memory map which word and bank correspond for your address (for example 470 correspond to Value of OTP Bank1 Word3)

3rd, use Uboot : => fuse prog <bank> <word> <bit address>

 

For example, for  SJC_DISABLE it's 0x470[21] 

so 470 --> bank 1 word 3 

bit 21 -> 1 : 0x200000 (1000000000000000000000)

so you have your command : => fuse prog 1 3 0x200000

 

Hope I was clear

Best regards,

Alexandre.

0 项奖励
回复

2,288 次查看
TBYE
Contributor I

@Silvarye  is this address 0x470[23:22] for imx8m mini?

IF yes please share the reference.

0 项奖励
回复

2,277 次查看
Silvarye
Contributor II

I work on the imx8m Nano, but you can do a request for your board : Security Reference Manual for i.MX 8M Mini Applications Processor (nxp.com)

For answer to your question I think it's the same fuse so, yes 0x470[23:22] (JTAG_SMODE) it's for imx8m mini too.

But before burning fuse, when you will have this document check in the Fuse Map for your board, it's more safe.

Best regards,

Alexandre.

1,371 次查看
antho
Contributor III

Hi,

What's register 0x470[23:22] (JTAG_SMODE) value to configure JTAG in mode #1 please ?

I asked NXP for security documentation but have no response yet...

Thanks !

0 项奖励
回复

2,310 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Erza

 

fuses can be programmed using uboot, fuses description were sent via mail.

https://community.nxp.com/t5/i-MX-Processors/FUSE-programming-in-imx8-M-mini/m-p/982011

 

Best regards
igor

0 项奖励
回复

2,241 次查看
TBYE
Contributor I

Hi @igorpadykov 

fuses description you have sent via mail, are these applicable for IMX8M Mini.

Because i could not find the same in imx8mmrm or imx8mmsrm.

 

 

0 项奖励
回复

2,235 次查看
igorpadykov
NXP Employee
NXP Employee

yes they are for i.MX8M Mini.

 

0 项奖励
回复

2,303 次查看
TBYE
Contributor I

How can we calculate fuse bank and word for the same?

0 项奖励
回复

2,259 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复