LPC54102 Have UID to differentiate device?

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

LPC54102 Have UID to differentiate device?

Jump to solution
1,636 Views
ratheesht
Contributor II

Hi,

       I have LPCXpresso 54102 LQFP64 Rev A (OM13077) development board. 

I have 7 numbers of LPC54102 board and want to differentiate each devices with some UID's.

So I want to know 54102 has Unique ID (UID) or not ?

I have seen the reference manual of LPC54102 (UM10850), it has the following in Chapter 31: LPC5410x Flash API
   1. 31.5 USART ISP commands

           it has section 31.5.15 with Read UID

   2. 31.6 IAP commands

              it has section 31.6.9 with Read UID

I  don't know, What is the use of above two section of Read UID for my use? or it has other UID for my usage?

Please suggest me some ideas related to my usage ?

Labels (3)
0 Kudos
1 Solution
1,222 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hello Ratheesh T,

   1. 54102 has Unique ID (UID) or not ?

Yes, LPC54102 have the UID, each chip have different UID number.

  2. What is the use of above two section of Read UID for my use? or it has other UID for my usage?

IAP and ISP read UID is just two different ways to get the chip UID. ISP can use the ISP, take an example, UART, and associate with the flash magic software(read device signature) to get the UID. IAP is the command you can used it in the code. Actually, UID is the same, just read method different.

 But, please take care, in lpc54102, the errata has some description about it:

http://www.nxp.com/documents/errata_sheet/ES_LPC5410X.pdf 

pastedImage_2.png

So, just like the workaround, pleas read the flash address directly.

Take an example, I use the JLINK commander to read these bytes:

pastedImage_4.png

You also can try it like this, I also use teh LPCXpresso54102 revA, OM13077.

Wish it helps you!

If you still have question, please let me know!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
7 Replies
1,223 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hello Ratheesh T,

   1. 54102 has Unique ID (UID) or not ?

Yes, LPC54102 have the UID, each chip have different UID number.

  2. What is the use of above two section of Read UID for my use? or it has other UID for my usage?

IAP and ISP read UID is just two different ways to get the chip UID. ISP can use the ISP, take an example, UART, and associate with the flash magic software(read device signature) to get the UID. IAP is the command you can used it in the code. Actually, UID is the same, just read method different.

 But, please take care, in lpc54102, the errata has some description about it:

http://www.nxp.com/documents/errata_sheet/ES_LPC5410X.pdf 

pastedImage_2.png

So, just like the workaround, pleas read the flash address directly.

Take an example, I use the JLINK commander to read these bytes:

pastedImage_4.png

You also can try it like this, I also use teh LPCXpresso54102 revA, OM13077.

Wish it helps you!

If you still have question, please let me know!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
1,222 Views
ratheesht
Contributor II

Hi Kerry,

             Thank you for your quick response

I will try this and give update

0 Kudos
1,222 Views
ratheesht
Contributor II

Hi Kerry,,

I have installed J-link612 software in my PC (WINDOWS 7 OS) and connected the LPC54102 board

When i open the J-link-commander, it shows the following error

j-link-error-lpc-w.png

there is no name or ip related to lpc54102 in  connection method tap. .

What i have to change to make this as work?

0 Kudos
1,223 Views
brendonslade
NXP TechSupport
NXP TechSupport

Have you flashed your board with the J-link firmware, and repowered the board to boot with that firmware (remove the DFU jumper)? Use LPCScrypt to do that (nxp.com/lpcscrypt). J-link firmware is not installed by default (CMSIS-DAP) is.

BTW, you don't have to use J-link to use the ID. Kerry is just showing you a way to leverage the Segger software to easily see the ID. Another way to do that is to use the free Flash Magic tool (www.flashmagictool.com).

0 Kudos
1,223 Views
ratheesht
Contributor II

Hi,

   Thanks for your reply, i will check and update

0 Kudos
1,223 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hello Ratheesh T,

   Flash Magic is using the ISP, just as I told you, ISP to read the UID have bug.

   About the JLINK commander problem, you must use your board is using the JLINK firmware at first.

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,223 Views
ratheesht
Contributor II

Hello kerry & Brendon ,

                    Thank you , i have validated and it is working fine.

0 Kudos