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.

MSP430G2413 test pin during JTAG programming

Other Parts Discussed in Thread: MSP430F1121, MSP430F6638

Can someone confirm this for me? I am working on a design with G2413 and I need to know if pulling TEST pin high during programming will activate the JTAG IO? I dont want to have to tie the TEST pin to the FET430UIF programmer. I once took this approach (pulling TEST pin high) for a MSP430F1121 design I worked on and I was successful but when I tried to do the same for MSP430F6638 I wasn't successful. This is why I need to confirm if this approach will work for G2413. 

  • rodtalicc said:
    I need to know if pulling TEST pin high during programming will activate the JTAG IO?

    Yes. It has an internal pulldown and should be left floating when JTAG is not used.

    rodtalicc said:
    I need to confirm if this approach will work for G2413. 

    The G series is usually programmed using SBW, where RST and TEST (or one of the other JTAG pins if there is no TEST pin, but G series always has one due to the low pin count) is used for the actual JTAG access.

    However, I don't understand what your problem is. Maybe you're asking the wrong question. you should state your final goal, not your (maybe wrongly choosen) intermediate step and the problems you have to get there. I mean, don't ask 'how do I change dollars in Euros' when you final goal is to get rich, not to get Euros. because getting Euros might be the wrong way to get rich and the proper answer to your question won't get you any closer to your goal.

  • Thanks...let me try to rephrase this again. If I connect the TEST/SBWTCK pin on the G2413 to 3.3Vcc, Will I be able to program/debug the micro through its JTAG pins (RST,TCK,TMS, TDI,TDO,GND)?

  • rodtalicc said:
    If I connect the TEST/SBWTCK pin on the G2413 to 3.3Vcc, Will I be able to program/debug the micro through its JTAG pins

    Yes. However, you won't be able to use the SPI or I2C functionality of the USCI, as this requires the very same pins.
    This is why the G series should be programmed through SBW which only requires RST and TEST pin and does NOT use the JTAG pins.
    So better use SBW and don't connect the JTAG pins to the FET.

  • Thanks for your response. This project wont be using USCI. However I like the idea of using SBW but I havent used it in the past. On FET PRO430 (standalone app I use to reflash MSP430s in production) I can setup the programmer to use SBW or 4 line JTAG interface by selecting the appropriate option in the utility. How do I select SBW in CCS during development so I can debug with SBW?  

  • rodtalicc said:
    How do I select SBW in CCS during development so I can debug with SBW?  

    In CCS 5.2 there is no method of selecting SBW or JTAG.

    CCS 5.2 leaves the MSP430.dll as providing the default automatic selection of either JTAG or SBW. Not exactly how the automatic selection is handled.

  • Thanks everyone. I will go ahead and prepare my board for both 4 wire and SBW debug/programming for my first protos. That way I will be able to experiment with SBW if I see issues, I will go back to the 4wire I am accustomed to using. I appreciate all the help in this matter

  • rodtalicc said:
    I will go ahead and prepare my board for both 4 wire and SBW debug/programming for my first protos.

    Keep in mind that if the software you use for flashing (e.g. CCS) doesn't have an oprtion to explicitely switch between SBW and 4-wire JTAG, the library will try 4-wire first and if it works, you'll never knwo whether SBW would have worked too.

    The Elprotronic free software Lite FET-Pro430 has an option to explicitely choose the interface even if both are wired.

**Attention** This is a public forum