Dataman 40Pro User Manual
Page 109
PG4UW
109
Serialization .dat file consists of records and serial data section.
Record is line, which begin with one of Txx prefixes as described bellow. Value of “xx”
represents the record type code. Records are used to inform PG4UW software about
serialization status (current and last serial numbers, serialization data and data format, errors,
etc.). Required records are records T01, T02, T03 and T04. Other records are optional.
T01:
Contains current serial number value passed to generator by
command line parameter -N
T02:
Contains next serial number value, that PG4UW will use in next
serialization cycle. This value is generated by serialization
generator and informs PG4UW, which serial number will follow after
current serial number.
T03: Specifies the serialization data format. Following formats are
supported now:
T03:50 or T03:55 ASCII Space data format
T03:99 - Intel Hex data format
T04:
indicates the serialization data will follow from next line to the end of
file. Serialization data are stored in one of standard ASCII data file
formats, for example Intel Hex, ASCII Space and so on. The format
used for data must be specified by record T03.
Example: Typical serialization data file:
T01:000005
T02:001006
T03:99
T04:
:0300000000096B89
:03000300000005F5
:02000C005A0197
:01003F004F71
:00000001FF
The file consists of following information:
line T01 - current serial number 000005h
line T02 - ending (last) serial number 001006h
line T03 - serialization data format after line T04 is Intel Hex
line T04 - serialization data, which will be loaded to buffer of PG4UW before programming
device, data are represented in Intel Hex format
Optional records are:
T05:
and warning or error message is displayed in PG4UW software.
T06:
Current serial number greater than limit
This record causes the serialization is stopped and warning or error
message is displayed in PG4UW software. The reason of turning
serialization off is the current serial number is greater then allowed
maximum ending serial number. This record can be used when -E
command line parameter is specified, it means no zero Last serial value
in dialog Serialization is specified.