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.

MSP GANG ERROR 23: MCU device init programing a MSP430G2210

Other Parts Discussed in Thread: MSP430G2210, MSP-GANG

Hello everyone !!
I'm trying to program this MSP430G2210 but got the error that you can see in the screen shot. Have any idea that I can be wrong ...?

  • Hi Paco,

    Your connections look correct. What about your G2210 board - is there anything else on it (like cap on RST etc)? Are you using the TI target board or your own board?

    You could also try slowing down the SBW speed to see if this will help (click on "Interface Option" and you'll get a pop-up where you can set fast/med/slow speed for Spy-Bi-Wire.

    Regards,

    Katie

  • Hi Katie,

    I'm using my own board directly in the pins.

  • Hi Paco,

    Is there anything else on the board connected to those pins (particularly RST and TEST)? Like caps? pullups? etc?

    In addition, how much current does the board draw? There is a limit on this for different MSP-GANG configurations (using GANG powered from USB vs external power supply, etc).

    -Katie

  • Hi Katie,

    Here you have the schematic and voltage and current getting.

     

    Regards,

    Paco

  • Hi Paco,

    Is the MSP-GANG providing this voltage or is there some other voltage source on your board while you are programming? If the MSP is supplied with some other voltage elsewhere on the board, then you should connect Vcc to pin 4 of the MSP-GANG instead of pin 2.

    In addition, am I reading the dials correctly and it's showing you are drawing ~150mA on your target board (or was this current measured elsewhere)? Is this measurement of the MSP-GANG current, or of the current going to your target?

    If it's the current going to your target, 150mA is extremely high and it is more than the MSP-GANG is going to be able to provide. See www.ti.com/lit/pdf/slau358 p. 10 #4 you'll see "The maximum current for each target device is programmable and can be 30 mA or 50 mA" so 150mA would be quite high.

    If however this measurement was of the current the MSP-GANG consumes, then what I'm actually hoping for you to measure is the current for the MSP430 target board itself being drawn from the MSP-GANG at the DVCC pin.

    Regards,

    Katie

  • Hi Katie,

    * The MSP-GANG provide the source voltage when I do this I connect the VCC in the pin2.

    * In order to see the current getting for the micro I disconnect the MSP-GANG source voltage and I connect a external power supply and I disconnect the Vcc pin2  and I wire to the pin #4..

    The pic that I send you it's of my external supply.

    Paco.

  • If you connect an external power supply directly to your target board (unaltered board without MSP-GANG connected to it at all) and it is consuming 150mA, then I would strongly suspect you have some board issue. That is extremely high current consumption for an MSP design, and I would not be surprised if this could cause you to have problems programming the device.

  • Hi Katie,

    Let me try with other board in order to if the problem it's the board,

    Thanks for you quickly help.

    Francisco,