2500_Users_Manual - 第339页

Trans lation Fo rmats ProM aster 25 00 User Manua l D-9 The 5-Level BNPF Format, Codes 08 or 09 Except for the start and end codes, the same character set and specifications are used for th e ASCII-BNPF and 5-level BNPF …

100%1 / 448
Translation Formats
D-8 ProMaster 2500 User Manual
The record ends with a checksum field initiated by the tag character 7 or
8, a 4-character checksum, and the tag character F. The checksum is the
two’s complement of the sum of the 8-bit ASCII values of the characters,
beginning with the first tag character and ending with the checksum tag
character (7 or 8).
Data records follow the same format as the start-of-file record but do not
contain a file header. The end-of-file record consists of a colon (:) only.
The output translator sends a CTRL-S after the colon.
During download or input from disk operations the destination address
for the data is calculated in the following manner:
Memory address =
(load address x 2) – I/O address offset + begin address
During upload or output to disk operations the load address sent with
each data record is calculated in the following manner:
Load address = I/O address offset / 2
The Memory begin address, I/O address offset, and User data size
parameters represent bytes and must be even values for this format. The
upload record size must also be even for this format (default is 16).
Note: If the data will be programmed into a 16-bit device to be used in a
TMS320 processor-based system, the odd/even byte swap switch must be
enabled.
Translation Formats
ProMaster 2500 User Manual D-9
The 5-Level BNPF Format, Codes 08 or 09
Except for the start and end codes, the same character set and
specifications are used for the ASCII-BNPF and 5-level BNPF formats.
Data for input to the programmer are punched on 5-hole Telex paper
tapes to be read by any paper tape reader that has an adjustable tape
guide. The reader reads the tape as it would an 8-level tape, recording the
5 holes that are on the tape as 5 bits of data. The 3 most significant bits are
recorded as if they were holes on an 8-level tape. Tape generated from a
telex machine using this format can be input directly to a serial paper
tape reader interfaced to the programmer. the programmer’s software
converts the resulting 8-bit codes into valid data for entry in RAM.
The start code for the format is a left parenthesis, (Figs K on a telex
machine), and the end code is a right parenthesis, (Figs L on a telex
machine). The 5-level BNPF format does not have addresses.
Note: Data without a start or end code may be input to or output from the
programmer by use of the alternate data translation format code, 09. This
format accepts an abort character (10 hex) to abort the transmission.
Translation Formats
D-10 ProMaster 2500 User Manual
Formatted Binary Format, Code 10
Data transfer in the Formatted Binary format consists of a stream of 8-bit
data bytes preceded by a byte count and followed by a sumcheck, as
shown in Figure D-3. The Formatted Binary format does not have
addresses.
The programmer stores incoming binary data upon receipt of the start
character. Data are stored in RAM starting at the first RAM address
specified by the Memory Begin Address parameter and ending at the last
incoming data byte.
Figure D-3
An Example of Formatted Binary
Format
2 BYTE HEX SUMCHECK (02FB)
2 NULLS
BINARY DATA
BIT
8
BIT
1
RUBOUT (START CODE)
4 NIBBLE HEX BYTE COUNT
1 NULL
ARROW
HEAD
08
49
2A
1C
08
0
2
0
0
0020 HEX
(32 DECIMAL)
HIGH
ORDER
LOW
ORDER
0075-2