This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F5437A: MSP430 Gang programmer

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) );

 

  • Hi Christian,
    At first glance, it seems like you are introducing capacitance with the JTAG cables, which is causing issues.

    Which port or you using to program a single MSP? Can you confirm that this is the port you are enabling?
    It could also be that our software is setting the device such at the introduced capacitances don't have the same effect.

    Can you ensure that the last command is also setting the correct index?

  • Hello Cameron,

    Yeah the last command is set correctly.  I tried on position number 1, but I also tried on different position.  If I program on position #3 for example, my software failed with error 0x23.  If I select position #3 and #8 for example, I can program both positions.  If I select position #3 and use your software, I can program properly.  If it's a capacitance issue, I should have the same issue with your software too.   

    I confirm that I am using the right port because I see on the LCD screen that it tried to communicate on the selected port.

    Best regards

  • Christian,
    It could still be a capacitance issue, in that our software may be accounting for this. I looked at the example DLL, and it is doing quite a few more commands that what you've listed above. I'm still looking through these to find which, if any, are doing this. I'll contact Elprotronic to help speed this along.

    Be in touch soon. :-)
  • Christian,
    Can you send me a photo of your physical bench?

**Attention** This is a public forum