8 command line interface, 9 command line syntax, Ommand – Maxim Integrated Secure Microcontroller User Manual
Page 143: Nterface, Yntax

Secure Microcontroller User’s Guide
143 of 187
16.8 Command Line Interface
The serial bootstrap loader uses an easy-to-use command line interface that responds to single character
alphabetic commands that are summarized below. There are differences between versions as noted. A
detailed description of each command follows.
COMMAND
VERSION
FUNCTION
C
CRC-16 of RAM
All
D
Dump Intel hex file
All
E
Exit loader
DS5001FP/DS5002FP
F
Fill RAM with a constant
All
G
Get value from ports
All
I
Include CRC
DS5001FP/DS2251T
K
Load 40-bit key
DS5000FP/DS2250T/DS5000(T)
L
Load Intel Hex file
All
N
New - invoke Freshness
DS5001 series
P
Put a value to the ports
All (DS5000 after Rev. D4)
R
Read configuration
All
T
Trace (echo) incoming data
All
U
Unlock security
All
V
Verify RAM against incoming Hex
All
W
Write register(s)
All
Z
Lock
All
^C
Reset loader
All
Xon/Xoff
Flow control of serial transmission
All
Selected commands require arguments and some commands have optional arguments. In all cases,
arguments are expected to be hexadecimal numbers. In addition, an ASCII control-C character (^C)
causes the serial loader to terminate any function currently being executed and display the command line
prompt. An incoming break character (defined as a received null character (00h) with the stop bit = 0)
causes the serial bootstrap loader to be restarted and the baud rate redetermined.
16.9 Command Line Syntax
Single-letter ASCII characters are recognized as commands. Arguments are represented by hexadecimal
numbers. A hexadecimal number is any sequence of hexadecimal characters. A hexadecimal character
may be a digit, 0 through 9, or one of the letters A through F. A byte will always be the right-most two
digits of a hexadecimal number. An address will always be the right-most four digits of a hexadecimal
number.
BYTE CONVERSION
ADDRESS CONVERSION
A
→ 0AH
AB
→ 0ABH
ABC
→ 0BCH
ABCD
→ 0CDH
A
→ 000AH
AB
→ 00ABH
ABC
→ 0ABCH
ABCD
→ 0ABCDH
ABCDE
→ 0BCDEH