beautypg.com

10 command summaries, 10 c, Ommand – Maxim Integrated Secure Microcontroller User Manual

Page 145: Ummaries

background image

Secure Microcontroller User’s Guide

145 of 187

16.10 Command Summaries

^C
Interrupt whatever is going on, clear all the buffers, put up a prompt and wait for the next command.
Anything in the type-ahead buffer is removed. All output is stopped. If trace had been on before, it is
cleared. If XOFF had been in effect, it is cleared.

C [begin-address [end-address]]
Return the CRC-16 (cyclic redundancy check) of the NV RAM. This computation is performed over the
Range unless optional start and end addresses are given. The CRC-16 algorithm is commonly used in data
communications.

D [begin-address [end-address]]
Dump memory in Intel hex Format. An optional address range may be specified. Each record will contain
up to 32 data bytes. The last line printed is the end-of-data record.

E
The serial loader is exited. This works if a negative edge on

PROG

was used to invoke it, or a CRC check

failed.

F byte [begin-address [end-address]]
Fill memory with the value of the specified byte. An optional 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 prints DONE when it finishes.

K byte-1 byte-2 byte-3 byte-4 byte-5
Load the encryption key word. The 5 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 discarded before the header character ‘:’ is read.
The rest of the record, defined by the length byte, is then processed. 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 reported 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 is reported, but all the bytes
on the line have been put to memory.

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