|
Serial Number |
Top Previous Next |
Tibbo devices currently in production use newer flash memory ICs featuring security register. This is a 128-byte register that has two 64-byte fields. The first field is one-time programmable, and the second field is pre-programmed at the factory and contains a unique serial number.
Sys.serialnum R/O property returns the entire 128-byte serial number or an empty string if the flash IC is of older type and does not have security register. Sys.setserialnum method is used to set the one-time programmable 64-byte field of the register:
Dim s As String
s="SERIAL NUMBER: 0123456789" 'this is the serial number we want to set s=strgen(64-Len(s),"*")+s 'pad the string -- it must be exactly 64 characters in length x=sys.setserialnum(s) 'set the field! ...
|
|
Be careful -- you can only set the programmable portion of the serial number once. There is no way to correct a mistake! |