| |||
Home > DS-5 Debugger commands > DS-5 Debugger commands listed in alphabetical order > restore |
This command reads data from a file and writes it to memory.
restore
filename
[binary] [[[offset
] start_address
] end_address
]
Where:
filename
Specifies the file.
binary
Specifies
binary format. The file format is only required for binary files. All
other files are automatically recognized by the debugger. See the append
command
for a list of the file formats supported by the debugger.
offset
Specifies an offset that is added to all addresses in the image prior to writing to memory. Some image formats do not contain embedded addresses and in this case the offset is the absolute address where the image is restored.
start_address
Specifies the minimum address that can be written
to. Any data prior to this address is not written. If no start_address
is
given then the default is address zero.
end_address
Specifies the maximum address that can be written
to. Any data after this address is not written. If no end_address
is
given then the default is the end of the address space.