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.

SBW JTAG with MSP430G2203 wont work

Genius 4170 points
Other Parts Discussed in Thread: MSP430F2274, MSP430G2231, MSP430G2203, MSP430G2452

Hello all,

I am running into trouble, I just received a new PCB of mine, on which I wanted very basically use a MSP430F2203 for communication.

Now murphy strikes, and I dont even get the MSP to beeing programmed. I am a little speechless, cannot find my problem or logic error, so maybe you guys and girls can help me out.

I did copy an old PCB file of mine on which the SBW with an MSP430 already working ( I know that for certain, because it went into production :) ) but on this particular PCB it says unknown device. I doubled checked the 4 signals, 3V3, GND, SBWTDIO, SBWTCK, everything is there, no shorts, I even checked with my logic analyzer, the saleae type, I cannot interpret the waveform, but it all looks nice, clock is there as is some data, still unknown device....

So any help appreciated, I assume something must be wrong with communication then, but I got no clue what it could be, I also got 2 PCB built up , same on both of them...

  • #1 Update

    I get suspicious, it maybe tha the G2203 is not at all made for SBW????

    I tell you what works with my PCB:
    If i programm the G2203 with my launchpad ( in socket) pull it out put it into my PCB it will blink an LED ( Testprogram ) so I know my PCB actually works.

    From the JTAG connection on my PCB soldered 4 SBW pins into another costum PCB of mine from ages, where I programmed and tested SBW, on there is an MSP430F2274, this works fine, so I know my actual connection is alright.

    I could really need some help from someone into technical details from TI, I strongly assume there is some fault in the SBW connection present in the Datasheet, I do see that the launchpad schematic is quite similar, but I do not know how the launchpad works in detail, I figure that out now, or even try programming via my SBW PCB on the paunchpad by ( if i can manage) unplugging the emulation part off the TI PCB.
    Also noticed I got the MSP430G2231 this also doesnt work with my PCB

    So feel free to help, someone is going to thank you for that :)
  •  Hi Seb, is C1 from reset line to GND on your board? If yes try remove and post result, on my board I use an 1KOhm resistor in series to capacitor to avoid trouble during debug. If SMD you can assemble a V shaped RC then rework in place of original capacitor.

  • #2 Update

    Guess what, the next Chip in this G2xxx family , pincompatible, is working in SBW mode in my PCB.

    But I do need the MSP430G2203, because it has SPI and I2C, and I do need to use the both of them, that is why I picked it in first place.

    The MSP430G2452, sadly only has one USI module, but can be programmed via SBW.

    Strange thing is, they are both prorammable in the standart Launchpad configuration, but regarding the schematics, I would suggest that the Emulation side, also works in SBW mode with the MSP430, but I quite dont get it what the difference to my board then could possibly be.

    And to tell you the whole picture I wanna do a SPI to I2C converter in this design, as I know there is aonly one IC out there, made by silabs but not produced, so I was trying to do it with a small, cheap MSP430, but obviously the one I did choose doesnt work as I supposed it did
    Fools on me, I should have known it before.

    So again would highly appreciate if an TI employee to help me out, based on my expirience with electronics I would say this is again kind of a voodoo problem, not easy to find a real solution to it, but Id be happy to be proofen wrong.

    Regards, seb
  • Hi Roberto,

    I tried it, putt the MSP-FET430UIF, directly into the launchpad input pins ( via some cables with sharp ends ). Same result, unknown device( i now tested 3 different MSP430G2203s ).

    On the launchpad the 2n2 cap is not even populated, so no cap at all.

    But thanks for advice anyway.
  • #3 Update

    this morning I got on the basic testing again, and got all my MSPs working with different launchpad connectinos to my MSP FET 430 UIF ( not using the emulator of the launchpad ).

    Now finally got more suspicious of my PCB, right now I desoldered the JTAG 2n2 cap and it is working.

    Maybe i soldered a wrong cap, hard to tell :)

    maybe there was a sunstorm yesterday, mabe one of my msp430 is a counterfait part of china, maybe it is my first part broken by ESD

    Anyway I hope some had a good read, and I might add, if you still with me, I hope TI not only gives a "stupid" Jens Michael Gross Day but also pays the guy for his relentless effort in helping out

  • seb said:

    Now finally got more suspicious of my PCB, right now I desoldered the JTAG 2n2 cap and it is working.

    Maybe i soldered a wrong cap, hard to tell :)

     Hi Seb, you issue was a known one from near 2009, 2n2 capacitance it the maximum allowed for programing, also slow SBW has to be selected.

     From that time as I wrote I am adding an 1K resistor in series to 2n2 cap so I can use a 10nF or more capacitor and also use SBW at full speed.

**Attention** This is a public forum