Remote Control Programming User’s Guide
PM024A02 Rev.2
56
Other Index values - reserved for the future option.
Check Sum is calculated as an arithmetic sum of the 16-bits unsigned words form the valid code
bytes. If the only one byte is present in the calculated word, then other byte is taken as a 0xFF.
Check Sum result is 32 bits.
For example from the following code
address
data
0x0300
0xF2
0x12
0x23 0x34 0x78
Check Sum calculation
Word 1
0x12F2
Word 2
0x3423
Word 2
0xFF78
---------------------------------
CS = 0x0001468D
Return value:
Calculated check sum.
F_ConfigFileLoad, F_Config_FileLoad
F_ConfigFileLoad
- Modify programmer’s configuration setup according to data taken
or
F_Config_FileLoad
from the specified configuration file.
VALID FPA index
- ( 1 to 8 ) or 0 (ALL FPAs) executed sequentially.
The
F_ConfigFileLoad
function can download the programmer setup from the external setup
file. Setup file can be created using standard FlashPro-CC (GUI) Flash Programmer software.
When the setup from the file is downloaded, then old configuration setup is overwritten. The
new setup can be modified using
F_GetSetup
and
F_ConfigSetup
functions.
Location path and file name of the config file must be specified.
Syntax
:
MSPPRG_API
INT_X F_ConfigFileLoad( char * filename );
MSPPRG_API
INT_X
F_ConfigFileLoad( Cstring filename );
Содержание FlashPro-CC
Страница 10: ...10...