EasyManua.ls Logo

Elprotronic MSP430 - F_Verifyfuseorpassword

Default Icon
119 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Syntax:
MSPPRG_API INT_X F_AutoProgram( INT_X mode );
mode = 0;
mode = 1 and up - reserved
Return value:
0 - FALSE
1 - TRUE
-2 (0xFFFFFFFE) - FPA_INVALID_NO
Example:
............................
if( F_Initialization() != TRUE ) //required API-Dll - initialization
{
// Initialization error
}
int st = F_ConfigFileLoad( “c:\test\configfile.cfg” );
if(( st & 1 ) != TRUE )
{
Info = st & 0xFFFE;
....................
}
F_GetSetup( &config ); //API-DLL - get configuration from the programmer
............................ // modify configuration if required
F_ConfigSetup( config ); // download setup to programmer
F_SetConfig( ....., ..... ) // modify configuration if required
do{
.................... // prepare next microcontroller
F_AutoProgram(0);
.................... //exit if the last microcontroller
// has been programmed
} while(1);
....................
F_VerifyFuseOrPassword
F_VerifyFuseOrPassword -Verify the Security fuse if JTAG/SBW interface is active, or
verify the password access if BSL interface is active.
VALID FPA index - ( 1 to 64 ) or 0 (ALL FPAs) executed simultaneously.
Syntax:
MSPPRG_API INT_X F_VerifyFuseOrPassword( void );
85

Table of Contents