Quit, Rebuild, Reset – Zilog ZUSBOPTS User Manual
Page 409: Savemem, Quit rebuild reset savemem

UM017105-0511
Supported Script File Commands
Zilog Developer Studio II – ZNEO™
User Manual
381
quit
The
quit
command ends the current debug session. The following example presents the
syntax of the
quit
command:
quit
rebuild
The
rebuild
command rebuilds the currently open project. This command blocks the
execution of other commands until the build process is complete. The following example
presents the syntax of the
rebuild
command:
rebuild
reset
The
reset
command resets execution of program code to the beginning of the program.
This command starts a debug session if one has not been started. The following example
presents the syntax of the
reset
command:
reset
By default, the
reset
command resets the PC to symbol 'main'. If you deselect the
Reset
to Symbol 'main' (Where Applicable)
checkbox on the
Debugger
tab of the
Options
– see page 102), the PC resets to the first line of
the program.
savemem
The
savemem
command saves the memory content of the specified range into an Intel hex
file, a binary file, or a text file. The functionality is similar to the Save to File command
available from the context menu in the Memory window (see
page 335). The following example presents the syntax of the
savemem
command:
savemem SPACE="<displayed spacename>" FORMAT=
"<[PATH\]name>"
[STARTADDRESS="<hexadecimal address>"] [ENDADDRESS="<hexadecimal
address>"]
If
STARTADDRESS
and
ENDADDRESS
are not specified, all of the memory contents of a
specified space are saved.
For example:
savemem SPACE="RDATA" FORMAT=BIN "c:\temp\file.bin"
STARTADDRESS="20" ENDADDRESS="100"
savemem SPACE="ROM" FORMAT=HEX "c:\temp\file.hex"