Checksum, Debugtool copy, Cd checksum crc debugtool copy – Zilog ZUSBOPTS User Manual
Page 395

UM017105-0511
Supported Script File Commands
Zilog Developer Studio II – ZNEO™
User Manual
367
cd
The
cd
command changes the working directory to dir. The following example presents
the syntax of the
cd
command:
cd "<dir>"
For example:
cd "c:\temp"
cd "../another_dir"
checksum
The
checksum
command calculates the checksum of a hex file. The following example
presents the syntax of the
checksum
command:
checksum "<filename>"
For example, if you use the following command:
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 boundary; if the
address is not on a 4K boundary, ZDS II produces an error message.
ENDADDRESS
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: