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.

MSP430F2122 JTAG connection problems

Other Parts Discussed in Thread: MSP430F2122, MSP430F2131, MSP-TS430PW28, MSP430F2419, MSP430F2618


I've got a new design using the MSP430F2122 but can't seem to get the JTAG connection operational. I've use three different JTAG connectors (TI parallel FET, Olimex parallel and USB) and tried three different IDE/compiler manufacturer's software. I am using pin 8 of the JTAG for the TEST/SBWTCK control as part of the JTAG connection, but none of the software is able to recognize and/or connect to the device. I've tried an MSP430F2131 device which should be rather similar, and had no problems getting the JTAG connection running. I've tried three different hardware implementations of the 2122 and have even placed it a separate board with only the JTAG and power connections but still it will not respond. The 2122 parts I just ordered from Mouser are REV A parts, though the TI datasheet says that REV B parts are being produced. Hope that will cover all the details.

Can anyone suggest what may be going on here?





  • I am not sure what package are these F2122 in, but my recommendation is the following:
    1. Use a TI Target board & USB FET to program The MSP430F2122IPW devices:

    2. See pg 26 of the FET user's guide on what connections are needed for Spy-bi-wire connection:

    3. Use the TI Target board as a guideline to build your custom board to program MSP430 devices.

  • Thanks Harman, Item #3 did the trick.

    I purchased the MSP-FET430U28 kit and put my 2122 parts in the socket, used some of the included IDEs and indeed it worked. Then I worked backwards from there to copy the identical schematic on my board and it started to work. There were later problems when I tried to get it to work with my favorite IDE (Crossworks from Rowley) that involved updating the firmware of the just delivered TI JTAG device. Which then made it stop working with CCE and IAR IDEs. But in the end, seeing it function on the TI kit led me to getting my board working..

  • Hi,

    We experienced what sounds like a very similar problem using the MSP430F2122IPW (28-TSSOP), MSP430F2132IPW (28-TSSOP), and MSP430F2274IDA (38-TSSOP) devices.  We couldn't connect via JTAG using TI's MSP-FET430UIF USB interface.  Interestingly, all of these require the TEST/SBWTCK connection as mentioned above.  However, we had that line connected, so that wasn't the issue.

    We carefully compared our connections to those for a JTAG connection with the MSP-TS430PW28 target board.  We noticed that we had not connected the JTAG RST/NMI line to the MSP430's reset pin.  After connecting it, the JTAG connection for all of the above devices worked perfectly.  Interestingly, on another board (a previous design) populated with the MSP430F2419, the reset connection does not seem to be mandatory, although it is connected on the 64-pin target board for that part.


  • Hi,

    This can be explained due to the different connection methodes. The MSP430F2122IPW and MSP430F2132IPW will initially connect via Spy-Bi-Wire (RST/NMI/SBWTDIO & TEST/SBWTCK), where the MSP430F2419 will connect thru 4-Wire JTAG (TCK, TMS, TDI/TCLK & TDO/TDI).


  • Hi Gerald,

    Can you please explain a little about the shared/multiplexed pins TDI/TCLK and TDO/TDI or point me to a doc that explains this pin multiplexing?  Why do each of these pins have an extra mode of operation (using TDI on the TDO/TDI pin and using TCLK on the TDI/TCLK pin) and what is it used for?  From the MSP430F2618 datasheet, it shows that the pin mode (for these pins) is controlled internally... "Controlled by JTAG".  There is a note in the Application Information figure that says "During Programming Activity and During Blowing of the Fuse, Pin TDO/TDI Is Used to Apply the Test Input Data for JTAG Circuitry"...

    Thanks, Merril

  • Hi Merril,

    I'd like to point you to the MSP430 Memory Programming User's Guide (SLAU265C).
    Especially chapter 8 explains the different connections very well.
    Important to know is that on a device with Spy-Bi-Wire changing to 4-Wire Mode will also require the RST/TEST connection.
    This is due to the init sequence done over Spy-Bi-Wire switching to 4-Wire Mode.

    Just to summarize the connections:
    Spy-Bi-Wire Device - Spy-Bi-Wire Mode: RST/NMI/SBWTDIO & TEST/SBWTCK
    Spy-Bi-Wire Device - 4-Wire Mode: RST/NMI/SBWTDIO, TEST/SBWTCK, TCK, TMS, TDI/TCLK & TDO/TDI
    4-Wire Device - TCK, TMS, TDI/TCLK & TDO/TDI

    Since the MSP430F2618 is a 4-Wire Device, only the last one applies.

    Hope that answered your question. Just let me know, if I can be of further help.

    Best Regards,