Getting a unique identifier for IMXRT1062

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

Getting a unique identifier for IMXRT1062

Jump to solution
268 Views
nsi
Contributor III

I'm trying to get a unique serial number for each device and was hoping to rely on the IMXRT's.

In the Reference Manual, I found a Unique ID in the fusemap.

nsi_0-1719254778554.png

 

Based on the answer from camelshoko in this thread, I created a code that read the data from the fusemap.
However, after trying it on several devices, it seems that the "unique id" is common to several devices and the part that changes is at offset 0x430 which is marked as "Reserved" in the RM.

Is reading data at offset 0x430 a reliable way to get a unique value for the chip ? If not is there another "proper" way ?

 

 

Labels (1)
0 Kudos
Reply
1 Solution
234 Views
Habib_MS
NXP Employee
NXP Employee

Hello @nsi ,

The reason that the unique ID is the same in some devices is because the unique ID only changes for different family parts. As mentioned in this post.

At the same time, you can read the offset 0x430 if it helps you to recognize the devices, but the reason of the value is reserved for internal use. As exception of the bits [19:16] that these are the Silicon Revision number as mentioned in the RM.

Also, if you experience any issue, do not hesitate to let me know.

BR

Habib.

View solution in original post

0 Kudos
Reply
5 Replies
235 Views
Habib_MS
NXP Employee
NXP Employee

Hello @nsi ,

The reason that the unique ID is the same in some devices is because the unique ID only changes for different family parts. As mentioned in this post.

At the same time, you can read the offset 0x430 if it helps you to recognize the devices, but the reason of the value is reserved for internal use. As exception of the bits [19:16] that these are the Silicon Revision number as mentioned in the RM.

Also, if you experience any issue, do not hesitate to let me know.

BR

Habib.

0 Kudos
Reply
231 Views
nsi
Contributor III

Hello, thank you for your reply !

Just to confirm :

- Reading at offset 0x430 is not a reliable way to do it since the actual meaning of the value won't be communicated

- There are no identifier unique to the device available ?

 

0 Kudos
Reply
202 Views
Habib_MS
NXP Employee
NXP Employee

Hello again @nsi

Define whether it is viable or not depends totally on your application, if the Silicon Revision number bits help you to have a difference, you can use these bits.

Also, unfortunately we have not a unique identifier to each device available.

Sorry for the inconvenience this may cause.

BR,
Habib.

0 Kudos
Reply
177 Views
MultipleMonomials
Contributor III

Wait... so, you're saying that the value described as a UNIQUE_ID in the datasheet is not, in fact, a unique ID?  That contradicts both this post from Diego Charles and this text from AN12419:

This Device ID is unique for each IC and can be read from the OCOTP registers HW_ OCOTP_CFG0 and HW_ OCOTP_CFG1. The eFuses are programmed during manufacturing.

We currently have implemented a system that relies on the unique ID via CFG0 and CFG1 to identify devices, and it has seemed to work fine on the devices we have tested.  However, we haven't started using it en masse yet, so I suppose we might not have noticed if there were occasional duplicates.  If we need to change how this system works, it's better to do it now rather than later.

Could you please double check whether this is the case and, if the ID is not, in fact, unique, could we please update AN12419 and the MIMXRT datasheet and/or errata sheets in order to indicate this?  Thank you!

0 Kudos
Reply
192 Views
nsi
Contributor III

Thank you for the information, I will look for another way to device that identifier.

0 Kudos
Reply