Mitsubishi DS5000TK Bootstrap Loader Initialization, Command Line Interface, Command Line Syntax

Models: DS5000TK DS907x SIP

1 174
Download 174 pages 46.43 Kb
Page 135
Image 135

USER'S GUIDE

BOOTSTRAP LOADER INITIALIZATION

When loader mode is invoked, the device will await an incoming <CR> character at a valid baud rate through either the serial port (in Serial Program Load mode) or via the parallel interface (in Parallel Program Load mode). At this point, the bootstrap loader will transmit a

banner to the host to indicate that it has been invoked. The banner will appear similar to the one shown below, but will vary between specific members of the Secure Microcontroller family and between revision levels. The banner will be followed by a ª>º prompt which indicates the device is ready to receive a command.

DS500X LOADER VERSION X.X COPYRIGHT (C) XXX DALLAS SEMICONDUCTOR

>

COMMAND LINE INTERFACE

The Secure Microcontroller family implements an easy- to±use command line interface which is very similar to those found in debugging environments. The Serial

Bootstrap Loader responds to single character alpha- betic commands which are summarized below. There are differences between versions as noted. A detailed description of each command follows.

COMMAND

FUNCTION

VERSION

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 com- mands have optional arguments. In all cases, argu- ments are expected to be hexadecimal numbers. In addition, an ASCII control±C character (^C) will cause the Serial Loader to terminate any function currently be- ing executed and display the command line prompt. An incoming break character (defined as a received null character (00H) with the stop bit = 0) will cause the Seri- al Bootstrap Loader to be restarted and the baud rate re- determined.

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 hexa- decimal number. For example, the following hexadeci- mal numbers will result in the following bytes:

A 0AH

AB 0ABH

ABC 0BCH

ABCD 0CDH

COMMAND LINE SYNTAX

Single±letter ASCII characters are recognized as com- mands. Arguments are represented by hexadecimal

050396 134/173

135

Page 135
Image 135
Mitsubishi DS5000TK Bootstrap Loader Initialization, Command Line Interface, Command Line Syntax, Command Function Version