7.7.8.61. GEL_MemorySaveHex()ΒΆ
Saves a block of memory to file in various hex formats
Syntax
GEL_MemorySaveHex( "fileName", "formatType", page, startAddress1, length1, startAddress2, length2, ... );
Parameters
lengthN: defines the number of items to save.
Only one startAddress and length pair is required. Subsequent pairs are optional.
startAddressN: is the first address in the block.
page: identifies the type of memory to fill: 0 (Program memory), 1 (Data memory) or 2 (I/O space)
For processors that do not have more than one type of memory, use 0 for this parameter.
formatType: is a string that represents the hex format in which memory words will be written to the specified output file. The formatType must be enclosed in quotation marks. Choose from INTELHEX, TI-TXT.
fileName: names the file to store the target data. The fileName must be enclosed in quotation marks.
Description
This function can be used to save a block of target memory to a specified file in varying hex formats. The block(s) of data are specified by the startAddress and length pairs.
Synchronous
Synchronous from GEL: Yes
Completely synchronous: Yes
Related Topics