Remote Control Programming User’s Guide
PM024A02 Rev.2
67
VALID FPA index
- ( 1 to 8 ) or 0 (ALL FPAs) executed simultaneously.
Note:
During the verification process either all memory or just the selected part of the memory is
verified, depending on settings specified in the configuration setup
FlashEraseModeIndex
.
Only data taken from the Code file are compared with the target’s flash memory. If size of the
flash memory is bigger then code size then all reminding data in flash memory is ignored.
Syntax:
MSPPRG_API
INT_X F_Memory_Verify( INT_X mode );
mode = 0;
mode = 1 and up - reserved
Return value:
0 - FALSE
1 - TRUE
F_Memory_Read
F_Memory_Read
- Read Flash Memory from selected or all Target Devices
.
VALID FPA index
- ( 1 to 8 ) or 0 (ALL FPAs) executed simultaneously.
Size of the read memory size is defined in the configuration setup
All data will be saved in the internal Read Buffer. Contents from the Read Buffer can be taken using
function
BYTE F_Get_Byte_from_Buffer( INT_X addr );
Syntax:
MSPPRG_API
INT_X F_Memory_Read( void );
Return value:
0 - FALSE
1 - TRUE
Example:
BYTE data[MAX_FLASH_SIZE];
unsigned int addr,n;
....................
st = F_Memory_Read();
if ( st != 0 )
Summary of Contents for FlashPro-CC
Page 10: ...10...