How to read i.MX7ULP Unique ID

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

How to read i.MX7ULP Unique ID

Jump to solution
3,511 Views
MrCry0
Contributor II

There are several solutions for 2-words UIDs.

But, according to RM, iMX7ULP provides 5 32-bit registers described as containing bits of the UID: HW_OCOTP_CFG[0-4] (OTP Bank1 Word[3-6]). (https://www.nxp.com/docs/en/reference-manual/IMX7ULPRMB2.pdf 34.7.1.24-28).

What is the correct way to get the UID on iMX7ULP? I failed to find a solution either in RM or on forums.

 

Labels (1)
0 Kudos
1 Solution
3,481 Views
igorpadykov
NXP Employee
NXP Employee

 

1.jpg

 

 

 

 

2.jpg

 

 

 

View solution in original post

4 Replies
3,500 Views
igorpadykov
NXP Employee
NXP Employee

Hi Oleksandr

 

fuses UNIQUE_ID can be found in IMX7ULPRMB2_Rev0_Fusemap.xlsx attached in reference manual,
as described in sect.34.5 Fuse Map : "See the Fusemap attached with this reference manual"

For reading fuses one can try to follow :
https://imxdev.gitlab.io/tutorial/Burning_eFuses_on_i.MX/

 

Best regards
igor

3,492 Views
MrCry0
Contributor II

Well, I'm trying to rephrase the question.

Reading registers is not a problem. The issue is how to assemble a UID from 5 32-bit registers.

If the Fusemap which is said to must have had been attached in the reference manual includes details on how to calculate a UID - that would be enough.

But, unfortunately, I don't see any attached files (especially, the IMX7ULPRMB2_Rev0_Fusemap.xlsx). Could you please provide more detailed instructions about where to find that Fusemap file?

There is no similar xlsx file on the Documentation Page as well (https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-proces...).

0 Kudos
3,482 Views
igorpadykov
NXP Employee
NXP Employee

 

1.jpg

 

 

 

 

2.jpg

 

 

 

3,470 Views
MrCry0
Contributor II

Igor, thank you very much!

Now I see. I used a web browser Chrome to view the RM file, but Chrome doesn't seem to support attaches in PDF files

I've managed to find and open attaches with another PDF viewer. So the Fuse definitions seem clear enough to me.

The only issue remains there is a possible mistake in the RM pdf document.

The Fuse definitions claim there are 4 words used to assemble UID and there is DIR_BT_DIS fuses at the 0x4F0[0] address:

Bank 1, Word 3Redundancy0x04B0[15:0]SJC_CHALL[15:0]/UNIQUE_ID[15:0]16SJC CHALLENGE/Unique ID
Bank 1, Word 4Redundancy0x04C0[15:0]SJC_CHALL[31:16]/UNIQUE_ID[31:16]16
Bank 1, Word 5Redundancy0x04D0[15:0]SJC_CHALL[47:32]/UNIQUE_ID[47:32]16
Bank 1, Word 6Redundancy0x04E0[15:0]SJC_CHALL[63:48]/UNIQUE_ID[63:48]16
Bank 1, Word 7Redundancy0x4F0[0]DIR_BT_DIS1'Direct External Memory Boot Disable
NOTE: Change definition for ULP1'

 

Whereas the RM file IMX7ULPRMB2.pdf claims there are 5 registers contain info about UID and there is no register with the direct external memory boot bit:
34.7.1.24-34.7.1.28 (and in the OCOTP Memory map table [34.7.1.1]). See attached images.

 

Anyway, thanks for your help, my issue is resolved! Have a nice day!

0 Kudos