EasyManua.ls Logo

Elprotronic MSP430 - Page 106

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...
....................
do{
.................... // prepare next microcontroller
F_SetConfig( CFG_INTERFACE, INTERFACE_JTAG);//select JTAG interface
F_SetConfig( CFG_BLOWFUSE, 0 )//disable fuse blow option
............................ // modify configuration if required
st = F_AutoProgram(0);
.................... // do extra communication with
// the target device
F_SetConfig( CFG_BLOWFUSE, 1 )//enable fuse blow option
st = F_Blow_Fuse( void ); // Blow the security Fuse
F_SetConfig( CFG_BLOWFUSE, 0 )//disable fuse blow option
....................
.................... // break; if the last microcontroller
// has been programmed
} while(1);
....................
or
do{
.................... // prepare next microcontroller
F_SetConfig( CFG_INTERFACE, INTERFACE_JTAG);//select JTAG interface
F_SetConfig( CFG_BLOWFUSE, 1 )
//enable blow security fuse using F_Blow_Fuse() funtion only.
//The F_AutoProfgram will not blow the fuse.
............................ // modify configuration if required
st = F_AutoProgram(0); // Fuse blow is disabled
.................... // do extra communication with
// the target device
st = F_Blow_Fuse( void ); // Blow the security Fuse
.................... // break; if the last microcontroller
// has been programmed
} while(1);
or
do{
.................... // prepare next microcontroller
F_SetConfig( CFG_INTERFACE, INTERFACE_JTAG);//select JTAG interface
F_SetConfig( CFG_BLOWFUSE, 3 )
//enable blow security fuse when the F_Autoprogram is executed
//(if all passed)
// modify configuration if required
st = F_AutoProgram(0); // Fuse blow is disabled
.................... // break; if the last microcontroller
// has been programmed
} while(1);
106

Table of Contents