• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » MSP430™ Microcontrollers » MSP430 Ultra-Low Power 16-bit Microcontroller Forum » MSP430: Error connecting to the target: Unknown device
Share
MSP430™ Microcontrollers
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
MSP430 Resources
  • MSP430 Product Folder
  • MSP-EXP430G2 - MSP430 LaunchPad Value Line Development kit
  • MSP430 Getting Started Guide
  • MSP430 Microcontroller Projects
  • More Resources >
  • MSP430: Error connecting to the target: Unknown device

    MSP430: Error connecting to the target: Unknown device

    This question is answered
    halo
    Posted by halo
    on May 01 2012 22:26 PM
    Prodigy230 points

    I am running Windows 7 and am using CCS 5.1.1 to connect to an MSP-FET430UIF which is in turn connected to a privately designed board containing an MSP430F5529. I have been getting the above error message when I try to connect. A search on this forum came up with a solution to someone else's similar problem, where they were using an MSP430BT5190. The solution was provided by Andreas Dannenberg on 18-Jan-2012 as a zip file: SP_MSP430BT5190_Tue001_17_2012__11_16.zip. The zip file is dated/authored 01/17/2012 Florian Berenbrinker. Reading the enclosed pdf and txt files I get the distinct impression it will not work for other MSP430 devices. Is there a more general solution that works for all MSP430 devices and where can I get it? Regards, Harry.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Katie Enderle
      Posted by Katie Enderle
      on May 02 2012 09:07 AM
      Genius13415 points

      Hi Harry,

      That issue you are referring to (with the patch that Andreas provided) only applied to a small set of devices (the BT5190 and some particular 4xx parts) - I've been using CCS 5.1 myself to program F5529 target boards without any problems. Your issue is more likely being caused by some incorrect connection on your board - have you compared all of your connections against those laid out in the Hardware Tool's user's guide Figure 2-1 (4-wire JTAG) or 2-2 (Spy-bi-wire)?

      Regards,

      Katie

      Please click the Verify Answer button on this post if it answers your question.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • halo
      Posted by halo
      on May 02 2012 18:27 PM
      Prodigy230 points

      Hi Katie, and thanks for your reply.

      Before I designed my board I had looked at Fig 2-1 in the Hardware Tools User's Guide, but my design was actually based on another design I found on the TI website. As with Fig 2-1 in slau278, the TDO,TDI,TMS and TCK tracks are direct connections, but the RST/NMI connection is slightly different. There is a series resistor-capacitor net from the positive rail to ground and this is connected directly as you would expect to the RST/NMI pin on the MCU, but the connection to the JTAG RST pin is via a 220 Ohm resistor. That's the only difference. You can find the design I used in Fig 2-1 on page 65 of slau320d.pdf (MSP430 Programming Via the JTAG Interface). Since I trust TI design implicitly, I think the problem lies elsewhere.

      Things you might like to comment on:

      • The MCU draws about 2.5 mA with DVCC of 3.3V and using default internal oscillator. This seems reasonable.
      • The track lengths for TDO, etc. are approximately 4 inches. Long, but not too long I would have thought.
      • I may not have sufficient bypassing on the DVCC pins (Due to an oversight, I only have 100nF caps on the 2 DVCC pins.) Problem?

      Thanks for any help/suggestions you can give me.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Katie Enderle
      Posted by Katie Enderle
      on May 03 2012 08:42 AM
      Verified Answer
      Verified by halo
      Genius13415 points

      Hi Harry,

      The design you referenced from slau320 is actually the design for the replicator tool, which is basically a custom JTAG programmer that you can make. For future reference the recommended configuration for the programming connections is to match Fig 2-1 from slau278, and to also check the recommended R and C values for the RST line against the recommendations in the user's guide for your part, in this case the 5xx user's guide table 1-3 "connection of unused pins".

      I think the reason that the replicator design has that additional series resistor on RST is because it has a button on that line - you can see this in the schematic labeled as "S2". I think the series resistor is there so that pushing the button would not provide a direct short to ground. The series resistor is not needed for programming, but since it is on the replicator design it probably isn't going to interfere with your programming either. So you are likely encountering some other problem.

      Did you connect the TEST pin? You listed the other JTAG pins (TDI, TDO, TMS, TCK) but you also need TEST connected to the FET tool program this device.

      My next question is whether you are powering your board externally or from the FET tool, and which pin (2 or 4 on the JTAG header) you have connected to Vcc on the MSP430?

      Regards,

      Katie

      Please click the Verify Answer button on this post if it answers your question.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use