Part Number: MSP430F5437A
Good morning,
We have an issue with our MSP430 Gang programmer. We use this programmer in a test jig at production to program 8 positions in same time. I write my own software to access to the gang programmer (using MSP-Gang.dll API). In my software, It's possible to select one or many positions to program. If I select 2 positions or more, I can program them successfully. Otherwise, if I select only one position in my software, I got an error Device Init Err 23. Also, if I remove the 7 other physical cables and I retry to program one position, it works!!!
Also, If all JTAG cables are connected, I select only one position and I use the MSP-Gang Programmer software (latest version) supplied by TI, I can program only one position. So for me, that means that there's a difference with my setup. But I don't understand the difference.
Here is a sequence before starting the programming in my software:
MSPGANG_Set_MCU_Name(PansiChar(prDeviceName));
MSPGANG_SetConfig( CFG_POWERTARGETEN, 1);
MSPGANG_SetConfig( CFG_FLASHERASEMODE, ERASE_ALL_MEM_INDEX );
MSPGANG_SetConfig( CFG_MASSERASE_AND_INFOA_EN, 1 );
MSPGANG_SetConfig( CFG_ERASEINFOA, 1 );
MSPGANG_SetConfig( CFG_FINALACTION_MODE, APPLICATION_TOGGLE_RESET);
MSPGANG_SetConfig( CFG_FINALACTIONRUNTIME, 2);
MSPGANG_SetConfig( CFG_BLOWFUSE, 0);
MSPGANG_SetConfig( 7, 3300 ); // Set VCC
// set targets enabled, config index 10, determines which targets are programmed
MSPGANG_SetConfig( 10, (Form1.pvThreadConnected shr 1) );