Length of the transfer – Tally Genicom T5023+ User Manual

Page 297

Advertising
background image

Loadable Firmware/Character Generators

Length of the Transfer

T5023/5023+ - Programming Guide

287

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

$MOD$

Identifier

5

1

blank

Separator

6

6

yymmdd

Release date with the format YYMMDD (941101
for 1.11.94)

12

1

blank

Separator

13

4

rrvv

Release and release version (1005 for V01.05)

17

1

blank

Separator

18

8

a..a

Module name (e.g. "5023_STD", "CP15_437")

26

1

.

Separator (point)

27

3

a.a

Extension (MOD, FRM, FNT, PAR)

30

1

00

String terminator

31

1

n1

Length byte 1

32

1

n2

Length byte 2

33

1

n3

Length byte 3 length= n1 + (256*n2) +
(65536*n3)

34

14

00..00

reserved

48

END

Advertising
This manual is related to the following products: