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.

Error connecting to the target: Unknown device

Other Parts Discussed in Thread: MSP430F2619

I've been trying to program an MSP430 2619 but every time I debug, i get the error message Error connecting to the target:
Unknown device.  I am using the MSP-FET430UIF and have tried downgrading back to V2 and using CCS v4 as well as upgrading to v3 and using CCS v5 all with no luck.  I'm taking over a project, and the board worked about 2 months ago so it isn't the design.  I have also tried two different chips, still with no luck.  Any help would be greatly appreciated!

I forgot to add; it shows up as COM10 in the Device Manager, I have tried switching the ports with no avail.  I have also re-installed the drivers for the FET.  My board has UART/USB on it and when I connect the uC to the computer via the UART I get confirmation (via two Rx/TX LEDs).  A few months ago, the last program loaded was just an ECHO program and as of a few weeks ago that was still working.  Since then I did something to erase the chip because now I still get the blinking LEDs but it doesn't echo my inputs any more.

  • Matthew Affeldt said:
    I've been trying to program an MSP430 2619 but every time I debug, i get the error message Error connecting to the target:

    Unknown device.

    Well, in most of cases this error message is due to a wrong JTAG connection to the Target, specially no proper Vcc connection and/or a wrong R/C configuration (47k / 2.2nF) at the RST/NMI pin.

    Therefore please make sure that your JTAG connection is according to the JTAG circuit (4-wire JTAG) shown on Figure 2-1in the MSP430(tm) Hardware Tools User's Guide (Rev. J)

    Also dont forget the VCC TOOL (pin 2) or VCC Target (pin 4) connection. Note that only one of these two pins should be connected to the Board/Debugger at the same time.

    For your application it means that if you want to power the Target by the FET tool, then the connection to pin 2 (of the FET's JTAG connector) should be made and pin 4 should be left open (unconnected)!

    If the Target device uses a local power supply (or if it is externally power, i.e. Battery powered) then the connection to pin 4 (of the FET's JTAG connector)  should be made and pin 2 should be left open (unconnected).

    Hope this helps.

    BR,

    Mo.

  • Thanks for the reply!

    I've reviewed the documents and did some more tests on the board still with no avail.  I've got a jumper to switch between internal and external power.  When I set it to use the local power supply but don't connect the local power supply I get the expected error of an incorrect voltage but when I correctly set the power supply I still get the 'Unknown Device' error.  I'm in the process of building a second board, although I'm still waiting on parts so I won't have the results for a week or so.

  • Matthew Affeldt said:
    When I set it to use the local power supply but don't connect the local power supply I get the expected error of an incorrect voltage but when I correctly set the power supply I still get the 'Unknown Device' error.

    The issue still seems to be related to Vcc.

    Can we see the schematic?

    Mo.

  • Here is the JTAG portion of the schematic.  When I measure the voltage (using the internal power from the FET) I get 2.94V.  I don't know if that is expected.  Also, would I be getting this error if I had blown the JTAG fuse on accident?  Thanks again for the help so far!

  • Matthew Affeldt said:
    would I be getting this error if I had blown the JTAG fuse on accident

    Even with the fuse blown, the JTAG logic will still accept the bypass command, so I don't think blowing the fuse will change the observed signal levels on the JTAG pins.

  • Jens-Michael Gross said:
    Even with the fuse blown, the JTAG logic will still accept the bypass command, so I don't think blowing the fuse will change the observed signal levels on the JTAG pins.

    As far as I can see it in the datasheet of the MSP430F2619 device, there is no TEST or VPP pin available on this device. So it seems that blowing the JTAG fuse on this device is not possible.

  • Matthew Affeldt said:
    Here is the JTAG portion of the schematic.  When I measure the voltage (using the internal power from the FET) I get 2.94V.  I don't know if that is expected.  Also, would I be getting this error if I had blown the JTAG fuse on accident? 

    The schematic looks fine.

    I would suggest to double check all the JTAG wires and connections.

    Also, Make sure that DVCC2 is connected to 3V3 as well.

    You can also try to observe all the JTAG signals directly at the pins of the F2619 device (specially VCC and RESET).

    From the schematic you posted here, I don't really see any wrong connection. Can you double check the value of C8 ?

    Perhaps you can try it without C8.

    Let me know.

    Mo.

  • Mo. said:
    As far as I can see it in the datasheet of the MSP430F2619 device, there is no TEST or VPP pin available on this device. So it seems that blowing the JTAG fuse on this device is not possible.

    On devices with dedicated JTAG pins, one of the other JTAG pins takes the part for the fuse-blowing. Just like the SBW signal goes to a different pin than TEST when there is no TEST pin on an MSP with SBW support. THings liek this are the reason why teh FET needs to KNOW the device it is supposed to handle.

  • Jens-Michael Gross said:
    On devices with dedicated JTAG pins, one of the other JTAG pins takes the part for the fuse-blowing.

    Yes, that is correct. I have just double checked it. The higher pin count MSP430 devices with dedicated JTAG interface pins use the TDI pin for fuse programming.

    Thank you,

    Mo.

  • CaEngineer said:
    The link is broken.

    because version j has been replaced by newer versions since(the one I have is slau278p, which I downloaded a month ago)

  • Oh cool Jens-Michael! Thanks.

**Attention** This is a public forum