__dataflashMemorySave
Syntax
__dataflashMemorySave(start, stop, format, filename)
Parameters
startA string that specifies the first location of the data flash memory area to be saved.
stopA string that specifies the last location of the data flash memory area to be saved.
formatA string that specifies the format to be used for the saved data flash memory. Choose between:
intel-extendedmotorola-s37
filenameA string that specifies the file to write to. 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, even if an error occurred and not all data was written, otherwise 1.
For use with
The C-SPY hardware debugger drivers.
Description
Saves the contents of a specified data flash memory area to a file. 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
__dataflashMemorySave("0xF1000", "0xF1FFF", "intel-extended", "c:\\temp\\saved_memory.hex");