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.

MSP-FET: Interface Issue with MSP-FET

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

Dear Sir/Madam,

Im having trouble downloading a flash image to an MSP430G2553 device using the newer MSP-FET Flash and emulation tool. Im running Windows-10 and have checked the interface connections and they all check out.

I have removed all capacitor on the nRESET line and still nothing. The IDE compiles and detects the FET tool, but I keep getting the following error:

Thu Mar 23, 2017 20:18:21: Using license: Standalone license - IAR Embedded Workbench for Texas Instruments MSP430, 8K KickStart Edition 6.50
Thu Mar 23, 2017 20:18:22: Firmware version 3.8.0.2
Thu Mar 23, 2017 20:18:22: Interface dll version 3.8.1.0
Thu Mar 23, 2017 20:18:27: Unknown device : (OpenDevice) , Device=MSP430G2xx3, PwLength=0x0
Thu Mar 23, 2017 20:18:32: Fatal error: Could not find device (or device not supported) Session aborted!

Can anyone please assist? Im not familiar with the MSP device as such. All help is most welcome.l

Regards,

John

  • Hi Jean!

    Can you please explain the connections between your FET and the MSP430G2553?

    Dennis
  • Hi Dennis,

    Thanks for your reply,

    The interface to the processor via 'SPY BI WIRE' interface using Gnd (pin-9), TEST (Pin-8), RST (Pin-11) and Ive connected the target Vcc to pin-4. I have checked the numbering is correct and can measure 3.3V from the FET between pins 9 and 2.
    From there it goes via the TI MSP-FET flash/emulation tool to the PC which is running windows-10 and IARs IDE.
    Any ideas?

    Regards,
    Jean
  • Connect pin 1 (TDO/TDI) of the FET to RST of the MSP and connect pin 7 (TCK) of the FET to TEST of the MSP. GND is pin 9 and when having a power supply on your target, use pin 4 of the FET to sense the voltage, otherwise use pin 2 in order to power the MSP from the FET.
  • Hi Dennis,

    I have tried to implement as you recommend but no luck. I have put back a 100k pull-up resistor on the RST line and it has a 100pF cap to ground. Apart from that its all straight through to the MCU. Any suggestions?

    Rgds
  • Also, I have upgraded to version 7 of the IAR IDE.
  • Hello again,

    Should I remove the pull-up resistor? I have tried reducing this down to 50k and still no luck. Please note the output of the compiler

    Fri Mar 24, 2017 16:53:56: IAR Embedded Workbench 7.10.1 (C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\430\bin\430proc.dll)
    Fri Mar 24, 2017 16:53:56: Using license: Standalone license - IAR Embedded Workbench for Texas Instruments MSP430, 8K KickStart Edition 7.10
    Fri Mar 24, 2017 16:53:57: Firmware version 3.9.2.15
    Fri Mar 24, 2017 16:53:57: Interface dll version 3.9.2.15
    Fri Mar 24, 2017 16:54:00: Unknown device : (OpenDevice) , Device=MSP430G2xx3, PwLength=0
    Fri Mar 24, 2017 16:54:09: Fatal error: Could not find device (or device not supported) Session aborted!
    Fri Mar 24, 2017 16:54:09: IAR Embedded Workbench 7.10.1 (C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\430\bin\430proc.dll)
  • Jean Orhan said:
    I have put back a 100k pull-up resistor on the RST line and it has a 100pF cap to ground.

    The recommended values are 47k and 2n2, anyway, your 100k and 100p combination will not be the problem. Do you have a schematic of your circuit?

  • Hi Dennis,

    Please see circuit attached:

    From the MCU interface circuit, it goes through an FPC connector (pictures) to the MSP-FET. I have buzzed out all the connections from the MCU pin to the MSP-FET pins and it seems to be correct using the boards power rather than the MSP-FET power (Pin-4). I have since also reduced the 100k pull-up to 47k and removed the 100pF cap from the reset line.

    Regards,

  • In your schematic there is a 100n capacitor at RST - this value would be way too large if populated. Nice board by the way. Although I use much longer cables for programming, some people have problems with too long cables - do you have a shorter one or are you able to solder some wires closer to the MSP? At TP6 and TP8, for example?

  • Hi Dennis,

    Thanks, yes I'm a perfectionist with board layouts. In fact I have remove all the capacitance from tyhe reset line as well as change the 10k to 47k. I will try and solder some wires as you say and get back to you with the results.

    Regards,
  • Hello Dennis,

    I have tried direct soldering wires as you recommended but no joy unfortunately.

    At this stage I'm reasonably desperate as a deadline is looming. Do you think perhaps installing the CCS IDE and trying with that might make a difference? The only thing I can think of is some strange disconnect going on between the T.I tool and the IAR IDE, is this reasonable (please tell me if no)? 

    I have looked online also but there is a lot of confusing information about exactly how the SPY-BI-WIRE operates, in one schematic it shows the addition of a 330R resistor (which Ive tried with no success) . All help is most welcome.

    Regards,

  • Jean Orhan said:
    In fact I have remove all the capacitance from tyhe reset line as well as change the 10k to 47k. I will try and solder some wires as you say and get back to you with the results.

    Long cables with non-standard wires / connectors can couse problems only on higher SBW rates, not on slow speed. But in your case this is irelevant, because FET can not detect (OpenDevice function) target device at all. I guess that something is connected wrong, maybe mixed TEST / RESET lines, or connected together under the chip. 

    Jean Orhan said:
    I have looked online also but there is a lot of confusing information about exactly how the SPY-BI-WIRE operates.

    MSP-Debug Stack (used by FET) is open source (http://www.ti.com/tool/mspds) and there is also slau320, where you san find SBW description / software. You can check by scope what is going on with RESET / TEST lines (answer from target device during Open/Get Device).

  • Hi and thanks,

    I will look at the MCU soldering, in fact replace it. Thanks for the link to the FET data, I will review.

    Regards,
    Jean
  • Jean Orhan said:
    I will look at the MCU soldering, in fact replace it. Thanks for the link to the FET data, I will review.

    Just take MCU from board and try to connect it directly to FET, like on picture.

  • May be tricky with the QFN case I have but can order a DIP sample or something.

  • Hello again,
    I found the MSP-FET was the issue. When I connected to the launchpad and tried it worked (??)
    I dont understand why the MSP-FET AUD167 failed. Is there some way it could have been damaged?

**Attention** This is a public forum