beautypg.com

Checksum, Debugtool copy, Cd checksum crc debugtool copy – Zilog Z8F0130 User Manual

Page 522

background image

Appendix D. Using the Command Processor

UM013037-1212

498

Zilog Developer Studio II – Z8 Encore!
User Manual

cd

The

cd

command changes the working directory to dir. The syntax of the

cd

command is:

cd

"<dir>"

For example:

cd "c:\temp"

cd "../another_dir"

checksum

The

checksum

command calculates the checksum of a hex file. The syntax of the

check-

sum

command is:

checksum

"<filename>"

For example, if you use the following command is:

checksum "ledblink.hex"

The file checksum for the example is:

0xCEA3

crc

The

CRC

command performs a cyclic redundancy check (CRC). The syntax can take one

of two forms:

crc

calculates the CRC for the whole Flash memory.

crc STARTADDRESS="

" ENDADDRESS=""

calculates the CRC for 4K-increment blocks.

STARTADDRESS

must be on a 4K bound-

ary; if the address is not on a 4K boundary, ZDS II produces an error message.

ENDAD-

DRESS

must be a 4K increment; if the end address is not a 4K increment, it is rounded

up to a 4K increment.

For example:

crc STARTADDRESS="1000" ENDADDRESS="1FFF"

debugtool copy

The

debugtool copy

command creates a copy of an existing debug tool with the given

new name. The syntax can take one of two forms:

debugtool copy

NAME

=""