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.

MSP430FR2311: MSP430FR2311

Part Number: MSP430FR2311
Other Parts Discussed in Thread: MSP-EXP430FR2311, MSP-FET

Hi

With XDS110 do I need to do any configuration for MSP430FR2311 to program it via JTAG? Will it work if I set  SYSJTAGPIN to one and have a dedicated JTAG pins? I tried to set this field to one by SYSCTL |= BIT5;

but when I load my code and look at the SYSCTL register it shows SYSJTAGPIN  as 0-SHARED.

thanks vadim

  • Hi Vadim,

    The MSP430 doesn't support XDS110 programming. You can find more details about MSP430 programming here:

    https://www.ti.com/lit/pdf/slau320 

    BR,
    Leo

  • Hi Leo,

    I am using launchpad MSP-EXP430FR2311 that has onboard eZ-FET emulation. Can I use it? It has  the following JTAG test points 

    TP101   GND; TP102 EZFET_TEST;  TP103 EZFET_TDO;  TP104 EZFET_TDI;   TP105  EZFET_TMS;  TP106  EZFET_TCK;  TP107  EZFET_RST;

    Can I wire those JTAG lines from one board  to  the corresponding pins of 2311  on another one and use the launchpad as an emulator board? I will remove MCU from that board. Do I miss anything else? Do I need only those 7 connections?

    thanks vadim

  • I'm pretty sure those are for programming the ezFET (F5528) device, i.e. they're input to the FET, not output. I suppose it's a factory thing, since CCS programs the chip over the USB.

    Do you really need full JTAG? SBW can't do boundary-scan but I think it can do most everything else.

  • Hi Leo,

    I need an interface for the boards to be programmed and debugged. Is there something similar to XDS110 for MSP430? If not, what is the fastest way to achieve it? Do you have any hardware board available that can be utilized for it with minimum modifications? 

    thanks vadim

  • I found MSP-FET emulator. Is this the right part for debugging and programming?

    thanks vadim

  • An ezFET comes with each (recent) Launchpad. You can program/debug a bare board with an FR2311 on it by patching the USB side of the "bridge" header block to the appropriate pins on the target board. I've done this many times.

    If your target board isn't ready yet you can demonstrate the procedure using two Launchpads (program one using the other).

  • You could also use an MSP-FET, but a Launchpad is quite a bit cheaper.

    [Edit: The "MSP Debuggers" book (SLAU647O) Table 1 is very informative.

    https://www.ti.com/lit/ug/slau647o/slau647o.pdf

    hmmm I guess I can't insert a link using Edit]

  • Thanks Bruce for your help!

    I bought MSP-FET and plan to use it. What interface MSP-EXP430FR2311 uses, full JTAG or 2 Wire JTAG? I would like to use the same as in launchpad. Page 22 of "MSP debugger" shows pin out of the MSP-FET 14 pin connector. I presume that I should connect all the lines with similar names between MCU and this connector for full JTAG. It is not clear how to connect for 2Wire. For 4 Wire JTAG i should  connect 4 Wires: TDO,TDI,TMS.TCK. Do I need to use TEST for 4 wire JTAG? In family user guide "The TEST/SBWTCK pin is used for interfacing to the development tools through Spy-BiWire." So if I do not use 2 Wire should I leave this pin on MCU open? It is not clear how is multiplexing between GPIOs and JTAG happening. 

    thanks vadim

  • The wiring diagrams are in the Hardware Tools manual (SLAU278AF), Figs 2-1 (4-wire) and 2-3 (SBW):

    https://www.ti.com/lit/ug/slau278af/slau278af.pdf

    I haven't used 4-wire JTAG on an FR2 device, nor really any device that didn't have dedicated JTAG pins, so I don't know how the multiplexing works exactly. 

  • Hi Bruce,

    I tried your suggestion and connected two launchpads via bridges. It works fine. I have noticed though that if I remove 3.3V wire between two boards the target board  still has power and works fine. What is the power source for  MCU in that case,leakage from JTAG lines? 

    thanks vadim

  • If you only had power and SBW pins connected, I suppose it had to be the SBW pins leaking, though I don't recall seeing this before.

    If you also had the RXD/TXD  (particularly the RXD) pins connected, I have seen the RXD back-power the MCU.

**Attention** This is a public forum