Maxim Integrated Secure Microcontroller User Manual

Page 146

Advertising
background image

Secure Microcontroller User’s Guide

146 of 187

N
The newness command, N, places the device into freshness mode if V

CC

is removed following execution

of the command. After typing N the device prompts 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 is returned. Deviation from this sequence displays the
message DID NOT CONFIRM and returns to the loader prompt. This command is only available with the
DS5001FP, DS5002FP, or modules based on these parts. This command cannot 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 register, 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 displays the state after
toggling. Initially the state of the toggle is OFF.

U
Clear the security lock. The range is set to 32kB and the partitioning is set to all program memory. Note
that unlocking the security lock clears the encryption registers, vector RAM, and selects

CE1

for the

RAM. The U and Z commands are the only commands that can 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 Partition, Range, MSL, and ECE2 bits. The PAA and
SL bits are unaffected by this command.
DS5001/DS5002:
W [CRC/MCON/MSL/RPCTL] byte
Writes byte to the requested register. The SL bit is unaffected by this command. This command is
discussed in greater detail later in this section.

Advertising