__dataflashMemoryRestore
In this section:
Syntax
__dataflashMemoryRestore(filename)
Parameters
filenameA string that specifies the file to be read. The filename must include a path, which must either be absolute or use argument variables. For information about argument variables, see Argument variables.
Return value
0 if something was written to data flash memory, even if an error occurred and not all data was written, otherwise 1.
For use with
The C-SPY hardware debugger drivers.
Description
Reads the contents of the specified file and writes it to data flash memory. The address ranges are checked, and addresses which are not part of the data flash memory are skipped, while valid addresses are processed.
Invalid addresses result in a warning and the processing continues.
Example
__dataflashMemoryRestore("c:\\temp\\saved_memory.hex");