Mitsubishi Motors DS5000TK User Manual

Page 137

Advertising
background image

USER’S GUIDE

050396 136/173

137

F byte [begin–address [end–address]]

Fill memory with the value of the specified byte. An op-
tional address range may be specified.

G

Data is read from ports 0, 1, 2 and 3 and is printed as four
pairs of hexadecimal digits.

I

A CRC–16 is computed from 0 to CRC_RANGE minus 2
and the computed CRC is put into CRC_RANGE minus
one and CRC_RANGE. This is used when power–on
CRC checking is desired. This command will print
DONE when it finishes.

K byte–1 byte–2 byte–3 byte–4 byte–5

Load the encryption key word. The five bytes are
echoed before they are put into the registers.

L

Load standard Intel Hex formatted data into memory.
Only record types 00 and 01 are processed. Each line of
the file is treated the same way. All characters are dis-
carded before the header character ‘:’ is read. The rest
of the record, defined by the length byte, is then pro-
cessed. Control returns to the command prompt after an
Intel End Record is encountered. Each byte put to
memory, is read back to verify it is there. If the byte read
back is different, an error is reported. All errors are re-
ported immediately after the character is received which
caused the error. The program will then read characters
until a colon is found and then attempt to process the
data input from the command line. Note that all bytes are
put to memory as they are encountered. This means
that if a bad checksum is found, an error will be reported,
but all the bytes on the line will have been put to memory.

M

Toggle the status of the modem available bit (MDM in
the CRC register). This will display either AVAILABLE
or UNAVAILABLE. This command is only available with
the DS5001FP or DS2251T.

N

The Newness command, N, will place the device into
freshness mode if V

CC

is removed following execution

of the command. After typing “N” the device will prompt
CONFIRM:. At this point the host system must reply
FRESH, followed by a carriage return, to complete the
process. If completed successfully, the message

POWER DOWN TO MAINTAIN FRESHNESS will be
returned. Deviation from this sequence will display the
message DID NOT CONFIRM and return to the loader
prompt. This command is only available with the
DS5001FP, DS5002FP or modules based on these
parts. This command may not be executed when talking
through the modem to the serial loader.

P

DS5000:
P <P0 value> <P1

value> <P2 value> <P3 value>

Writes

values to all ports simultaneously.

DS5001/DS5002:
P <port> <value>
Writes

value to the requested port.

R

DS5000:
Displays the value of the MCON register.
DS5001/DS5002:
Displays the values of the MCON register, RPCTL reg-
ister, MSL bit, and CRC registers in the following form:
MCON:XX RPCTL:XX MSL:XX CRC:XX.
The CALIB register is no longer supported and should
be ignored. CRC is not displayed on DS5002.

T

Trace by echoing the incoming Intel Hex data. This is a
toggle command and will display the state after toggling.
Initially the state of the toggle is OFF.

U

Clear the Security Lock. The Range is set to 32K and the
partitioning is set to all program memory. Note that un-
locking the Security Lock clears the encryption regis-
ters, Vector RAM, and selects CE1 for the RAM. The U
and Z commands are the only commands that may be
executed when the chip is locked.

V

Verify current contents of memory with the Intel Hex
coming in. This command operates similar to the Load
command, except that it does not write to RAM; it simply
compares the byte in memory to the byte in the data
stream. A message is reported if an error is detected.

W byte

DS5000:
Writes

byte to the MCON register to configure the Parti-

tion, Range, and ECE2 bits. The PAA and SL bits are

Advertising
This manual is related to the following products: