6. Translation Formats
6-50
UniSite-xpi User Manual
Hewlett-Packard UNIX Format, Code 96
This format divides the data file into data records, each with a maximum
size of 250 bytes not including header information. An ID header is
added to the beginning of the first record. Each subsequent record has its
own header section. The section at the beginning of the file contains the
following elements: the header 8004, filename, byte count for the
processor information record, and the processor information record.
The header 8004 identifies the type of file being transferred. The first byte
of this header (80) indicates that this file is binary, and the 04 indicates the
type of file (absolute).
The ID header is followed by a 16-byte filename (not used by the
programmer).
Next is the byte count, which indicates the size (minus one) of the
Processor Information Record that follows. The Processor Information
Record is divided into the following data words: Data Bus Width, Data
Width Base, Transfer Address LS (least significant), and Transfer Address
MS (most significant).
The Data Bus Width represents the width of the target system’s bus (in
bits). The Data Width Base represents the smallest addressable entity
used by the target microprocessor.
The Data Bus Width and Data Width Base are not used by the
programmer during download. During upload, the Data Bus Width will
be set to the current Data Word Width, and the Data Width Base will be
set to 8. The Transfer Address LS and Transfer Address MS are not used
by the programmer.
The data records consist of a header (8 bytes) and the data bytes. The first
2 bytes of the header indicate the size of the data record including the
header (minus one). If the number of data bytes in the data record (not
including the header) is odd, one extra byte will be added to the data
record to ensure that an even number of data bytes exist in the data
record. The maximum value for this field is 00FF hex. The next two bytes
indicate the number of actual data bytes in the record, not including the
header bytes and the extra byte (if present). The maximum value for this
field is 00FA hex. The 4 bytes that follow represent the destination
address for the data in this record. The rest of the bytes in the record are
the data bytes.
This format has no end of file identifier.
Содержание UniSite-xpi
Страница 2: ...981 0014 UniSite Programming System User Manual Also Covering Legacy UniSite Programmers ...
Страница 3: ...UniSite xpi Programming System User Manual Also Covering Legacy UniSite Programmers 981 0014 016 ...
Страница 72: ...2 Setup and Installation 2 42 UniSite xpi User Manual ...
Страница 134: ...3 Getting Started 3 62 UniSite xpi User Manual ...
Страница 238: ...5 Computer Remote Control 5 10 UniSite xpi User Manual ...
Страница 296: ...6 Translation Formats 6 58 UniSite xpi User Manual ...
Страница 402: ...Keep Current Subscription Service 6 Keep Current ...
Страница 412: ...Index Index 10 UniSite xpi User Manual ...