Programming SJC_DISABLE, JTAG_SMODE fuses on iMX8MM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Programming SJC_DISABLE, JTAG_SMODE fuses on iMX8MM

2,983 Views
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 Kudos
Reply
9 Replies

2,962 Views
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 Kudos
Reply

2,949 Views
TBYE
Contributor I

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

IF yes please share the reference.

0 Kudos
Reply

2,938 Views
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.

2,032 Views
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 Kudos
Reply

2,971 Views
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 Kudos
Reply

2,902 Views
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 Kudos
Reply

2,896 Views
igorpadykov
NXP Employee
NXP Employee

yes they are for i.MX8M Mini.

 

0 Kudos
Reply

2,964 Views
TBYE
Contributor I

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

0 Kudos
Reply

2,920 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
Reply