Intel iUP-200A User Manual page 71

Universal programmer
Hide thumbs Also See for iUP-200A:
Table of Contents

Advertisement

iUP-200A/201A
Two different command formats are used to transmit information from the host to
the universal programmer: commands with parameters and commands without
parameters.
The following are commands with parameters.
Download (D) command
Lock (L) command
Program (P) command
Read (R) command
Upload (U) command
The P and D commands require up to 67 additional bytes, three bytes of address
and up to 64 bytes of data. The R and U commands require only four additional
bytes, three bytes of address and a byte that indicates the number of data bytes
(which can be up to 64) to be read (0 bytes is illegal). The L command requires
two additional bytes, one for sequence number and one for the user-entered data
requested by the previous lock acknowledge message. The first L command con­
tains a sequence number of 0; successive commands echo the sequence number of
the previous reply.
Both command formats (with or without parameters) require a 20H start byte fol­
lowed by a byte count prefix of the number of bytes to follow (i.e., ASCII CMD
CHAR through CHECK SUM MSB). The start byte and byte count prefix precede
the control command character (the ASCII character for the command shown in
Table B-2).
Both command formats (with or without parameters) are followed by a 2-byte
check-sum suffix. The check-sum is the 2's complement of the binary sum of the
previous bytes in the record being transmitted. This check-sum does not include
the start byte or the check-sum itself.
Figure B-l shows both host transmit formats.
P OR D COMMAND
SPACE
ASCII
BYTE
CMD
CHAR
COUNT
CHAR
020H
ROR UCOMMAND
SPACE
ASCII
BYTE
CHAR
CMD
COUNT
CHAR
020H
LCOMMAND
ASCII
SPACE
BYTE
CMD
CHAR
COUNT
CHAR
020H
COMMANDS WITHOUT PARAMETERS
SPACE
ASCII
BYTE
CHAR
CMD
COUNT
020H
CHAR
ADDR
ADDR
ADDR
DATA
MOB
LSB
MSB
NUMBER
ADDR
ADDR
ADDR
DATA
MOB
LSB
MSB
BYTES
MAXIMUM VALUE = 64
CHECK
CHECK
SEQ
DATA
SUM
NUM
LSB
CHECK
CHECK
SUM
SUM
LSB
MSB
Figure B -l
Host Transmit Formats
Host Serial Command Protocol
^ CHECK
DATA
SUM
LSB
MAXIMUM 64 BYTES
CHECK
CHECK
SUM
SUM
LSB
MSB
SUM
MSB
CHECK
SUM
MSB
B-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Iup-201a

Table of Contents