Serial number

Droopy
Benutzer
Avatar
Geschlecht:
Alter: 59
Beiträge: 24
Dabei seit: 01 / 2016
Betreff:

Serial number

 · 
Gepostet: 05.10.2016 - 17:36 Uhr  ·  #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
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: Serial number

 · 
Gepostet: 05.10.2016 - 18:07 Uhr  ·  #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
Geschlecht:
Alter: 59
Beiträge: 24
Dabei seit: 01 / 2016
Betreff:

Re: Serial number

 · 
Gepostet: 06.10.2016 - 01:05 Uhr  ·  #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
Geschlecht:
Alter: 59
Beiträge: 24
Dabei seit: 01 / 2016
Betreff:

Re: Serial number

 · 
Gepostet: 06.10.2016 - 17:39 Uhr  ·  #4
Rolf,

I found it with your help back in the manual.
Zitat
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
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: Serial number

 · 
Gepostet: 06.10.2016 - 17:53 Uhr  ·  #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
Geschlecht:
Alter: 59
Beiträge: 24
Dabei seit: 01 / 2016
Betreff:

Re: Serial number

 · 
Gepostet: 06.10.2016 - 22:57 Uhr  ·  #6
Ok, thanks for the clarification. I just wanted to be sure that the 8 bytes were still unique 🔝
Gewählte Zitate für Mehrfachzitierung:   0

Registrierte in diesem Topic

Aktuell kein registrierter in diesem Bereich

Die Statistik zeigt, wer in den letzten 5 Minuten online war. Erneuerung alle 90 Sekunden.
MySQL Queries: 15 · Cache Hits: 14   111   125 · Page-Gen-Time: 0.033522s · Speichernutzung: 2 MB · GZIP: ein · Viewport: SMXL-HiDPI