Debugger Engine Commands
Debugger Commands
817
Microcontrollers Debugger Manual

SAVE

The SAVE command saves a specified block of memory to a specified file in Freescale S-
record format. The memory block can be reloaded later using the load S-record (SREC)
command.
NOTE If no path is specified, the destination directory is the current project directory.
Usage
SAVE range fileName [offset][;A]
offset: an optional offset to add or subtract from addresses when writing S-records.
The default offset is 0.
;A: appends the saved S-records to the end of an existing file. If this option is
omitted, and the file specified by fileName exists, the file is cleared before saving
the S-records.
Components
Debugger engine.
Example:
in>SAVE 0x1000..0x2000 DUMP.SX ;A
The memory range 0x1000...0x2000 is appended to the DUMP.SX file.

SAVEBP

The SAVEBP command saves all breakpoints of the currently loaded .ABS file into the
matching breakpoints file. Also, the matching file has the name of the loaded .ABS file
but its extension is .BPT. (For example, the Fibo.ABS file has a breakpoint file called
FIBO.BPT. This file is generated in the same directory as the .ABS file, when the user
quits the Simulator/Debugger or loads another .ABS file.)
If on is set, SAVEBP stores all breakpoints defined in the current application in the
matching .BPT file.
If off is set, SAVEBP does not store all breakpoints defined in the current application in
the matching .BPT file.
This command is only used in .BPT files and is related to the checkbox Save & Restore
on load in the Controlpoints Configuration Window. It is used to store currently defined