beautypg.com

Command line syntax, Command line syntax -6, Table 15-3. alphabetic commands (continued) – Maxim Integrated Ultra-High-Speed Flash Microcontroller User Manual

Page 164

background image

15-6

Ultra-High-Speed Flash

Microcontroller User’s Guide

Table 15-3. Alphabetic Commands (continued)

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 ROM 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 ROM loader to be restarted and the baud rate redetermined.

Command Line Syntax

Single-letter ASCII characters are recognized as commands by the ROM loader. 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 is always the right-most two digits of a hexadecimal number. An address is always the right-most four

digits of a hexadecimal number.

The C, CX, D, and DX commands allow optional addresses to be entered. The syntax [begin-address [end-address]] is used to con-

vey the following meanings:

No arguments: Begin-address is set to 0 and end-address is set to the range.

One argument: Begin-address is set to the argument and end-address is set to the range.

Two arguments: Begin-address is set to the first argument and end-address is set to the second argument. This second

address must not exceed the address value specified by the range.

In the second and third bullets above, an error message is generated if the end address is less than the begin address, either implic-

itly or explicitly. Error messages are transmitted as soon as errors are detected. All messages are preceded by the two characters E:,

and followed by a mnemonic description.

Commands are not processed until an entire command line is entered and terminated with a . No command line may be greater

than 17 bytes. Since a command line is not processed until a is entered, the character can be used to make edits.

Lines longer than 17 characters return an error message and no action is taken for that command line.

Only legal characters are echoed back by the loader. The legal characters are: 0123456789, <:>, , ABCDE-

FGHIJKLMNOPQRSTUVWXYZ, and . Backspaces () are converted to delete characters. The horizontal tab character is

converted to space. Lowercase alphabetic characters are converted to uppercase alphabetic.

The character is executed as a when possible in command mode. This causes the character to be

overprinted on a hard-copy device. The character generates a pair.

BYTE CONVERSION

ADDRESS CONVERSION

A → 0AH

AB → 0ABH

ABC → 0BCH

ABCD → 0CDH

A → 000AH

AB → 00ABH

ABC → 0ABCH

ABCD → 0ABCDH

ABCDE → 0BCDEH

COMMAND

FUNCTION

LX

Load external RAM (Oh–FFFFh).

R

Read configuration.

V

Verify flash memory against incoming hex.

VE

Verify encryption vector against incoming hex.

VX

Verify external RAM against incoming hex.

W

Write register(s).

^C

Reset loader.

Maxim Integrated