User`s manual

96
zero. The serialization program should return error record T06 in the serialization .dat file, if
the current serial number is greater than ending serial number. For details look at section
Serialization .dat file format.
Serialization .dat file format
Serialization .dat file generated by serialization generator must meet following text format.
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:<serial number> Contains current serial number value passed to generator by
command line parameter -N<serial number>.
T02:<serial number> Contains ending (or last) serial number value passed to generator
by command line parameter -E<serial number>.
T03:<data format code> 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:<message> Warning or error message. This record causes the serialization is stopped
and warning or error message is displayed in Pg4uw software.
T06: Current serial number greater than limit