Loadable Firmware/Character Generators
Length of the Transfer
Because the bootstrap loader receives binary data, an end character cannot be
used to inform it when the transfer process is ended. For this reason, the length
of the transferred is included in the call of the bootstrap loader. The length
specification is used to determine how much memory must be deleted from the
FLASH EPROM.
The length of the data to be transferred is stored in the file after the file header.
A 48-byte header is stored at the beginning of the file. This ID record has the
following structure:
Offset
Length Contents Meaning
0
5
5
1
6
6
12
1
13
4
17
1
18
8
26
1
27
3
30
1
31
1
32
1
33
1
34
14
48
$MOD$
Identifier
blank
Separator
yymmdd
Release date with the format YYMMDD (941101
for 1.11.94)
blank
Separator
rrvv
Release and release version (1005 for V01.05)
blank
Separator
a..a
Module name (e.g. "5023_STD", "CP15_437")
.
Separator (point)
a.a
Extension (MOD, FRM, FNT, PAR)
00
String terminator
n1
Length byte 1
n2
Length byte 2
n3
Length byte 3 length= n1 + (256*n2) +
(65536*n3)
00..00
reserved
END
T5023/5023+ - Programming Guide
Length of the Transfer
287