Serial number

Droopy
Benutzer
Avatar
Gender:
Age: 58
Posts: 24
Registered: 01 / 2016
Subject:

Serial number

 · 
Posted: 05.10.2016 - 17:36  ·  #1
Each XMega has a unique serial production code that is read only and not eraseable. Besides the type of AVR, it contains the production lot number, wafer number, and wafer coordinates of the device.
(See manual paragraph 4.3.4 Production Signature Row)

Is there an easy way to read this unique serial number? I thought I read someting about it in the avrco manual but doesn't find it anymore :s I only find the possebility of creating a serial number with the programmer.

Thanks a lot for helping(y)

Peter
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: Serial number

 · 
Posted: 05.10.2016 - 18:07  ·  #2
Hello Peter,

take a look into the sample
XMega_Support
On the file bottom there you can find the serial number readout.

rolf
Droopy
Benutzer
Avatar
Gender:
Age: 58
Posts: 24
Registered: 01 / 2016
Subject:

Re: Serial number

 · 
Posted: 06.10.2016 - 01:05  ·  #3
I had seen it somewhere , but I didn't know where anymore.

Thnx Rolf, I found it with your help :gut:
Droopy
Benutzer
Avatar
Gender:
Age: 58
Posts: 24
Registered: 01 / 2016
Subject:

Re: Serial number

 · 
Posted: 06.10.2016 - 17:39  ·  #4
Rolf,

I found it with your help back in the manual.
Quote
Function ReadDevSerNum: word64;
Computes an 8 byte serial number using the internal Lotnumbers, Wafernumber and Coordinates.

But how is it formed?
The lotnrs are 6 bytes, the wafernr is 1 byte, coor-X are 2 bytes and coor-Y also 2 bytes. Still your serial device number is 'word64' or 8 bytes?
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: Serial number

 · 
Posted: 06.10.2016 - 17:53  ·  #5
Hello Droopy,

the AVRco selects 8 significant bytes out of these 11 bytes and builds the serial number.
Think of the xy-coos. They are two bytes each, but the dimensions (in chip counts) are always less than 256pcs. So here two bytes can be removed...

rolf
Droopy
Benutzer
Avatar
Gender:
Age: 58
Posts: 24
Registered: 01 / 2016
Subject:

Re: Serial number

 · 
Posted: 06.10.2016 - 22:57  ·  #6
Ok, thanks for the clarification. I just wanted to be sure that the 8 bytes were still unique 🔝
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 15 · Cache Hits: 14   111   125 · Page-Gen-Time: 0.05801s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI