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.

MSP430G2553 cannot program

Other Parts Discussed in Thread: MSP430G2553

Hello All,

I am trying to program a custom board which has an msp430g2553. I am using CCS Version: 4.2.4.00033, windows 7, x86 OS.

The problem I am having is, I cannot load the program to the msp430g2553.

I am using SPY by wire to load the code.

This is what happens when I try to debug.

 

 

  • There's a communication problem of some sort. maybe too much capacitance on the RST pin, or not enough supply voltage (during programming, a higher voltage is required than for operation, also the current consumption has peaks of some mA)

  • Hi,

    I'm trying to program a custom board too. I have MSP430G2553 in 28 pin version. If I connect it with TI LaunchPad (rev.1.4), it shows "Device not connected or supported". I'm using CCS 5.3.0. Can be the problem I have 47k resistor and 10nF capacitor on RST pin?

    Thank you for your answers!

  • MSP430G2553 is not supported by Launchpad v1.4. You must update Launchpad firmware.

    http://processors.wiki.ti.com/index.php/MSP430_LaunchPad_Firmware_Update

    MSP430G2553 have same flash parameters like any other MSP430F2xx device, and my programmer don't have any problem with MSP430G253

    D:\msp430>flash -f sbw_test_16.hex -e -w -v

    File "sbw_test_16.hex"
    16384 bytes

    Get Device
    Device: 0  JTID: 89  Fuse: OK  0FF0: 25 53  0FFD: 01 00
    Device: 1  JTID: 89  Fuse: OK  0FF0: F2 27  0FFD: 01 04
    Device: 2  JTID: 89  Fuse: OK  0FF0: 25 53  0FFD: 01 00
    Device: 3  JTID: 89  Fuse: OK  0FF0: F2 27  0FFD: 01 04

    Erase

    Write
    Address: 0C000  Words: 2014
    Address: 0CFBC  Words: 2014
    Address: 0DF78  Words: 2014
    Address: 0EF34  Words: 2014
    Address: 0FEF0  Words: 136
    Size: 16384 bytes  Time: 359 ms  Speed: 44,57 KB/s

    Verify
    Address: 0C000  Words: 8192
    Size: 16384 bytes  Time: 78 ms  Speed: 205,13 KB/s

    Release Device

    Total Time: 547 ms

    D:\msp430>
  • Thank you for your answer, I'll try it. If I'll have any problems with comunication between LaunchPad and MSP430, can I write to you?

    Btw., aren't you from Czech Republic?

  • I updated my LaunchPad firmware, but still doesn't work. For test I tried to load few lines. I enclose a screenshot. Any ideas how to solve this problem?

  • Hi Dalibor,

    Dalibor Sisak said:

    Can be the problem I have 47k resistor and 10nF capacitor on RST pin"

    Yes. For SBW, the capacitor on RST must not exceed 2.2nF. Please see the hardware tool's user's guide diagrams in section 2: www.ti.com/lit/pdf/slau278

    For a quick test you could try simply removing the cap and see if you can now program. If you still have issues, it is a good idea to post the section of your schematic that shows your programming connections.

    Regards,

    Katie

     

  • I tried to find and solve software problems, but forgot fix this. Thank you very much Katie, it finally works. :)

  • I had the same problem, and removing the capacitor in RST solve my problem. Thanks! i will change it for a lower capacitor.

**Attention** This is a public forum