• 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 » Stellaris® ARM® Microcontrollers » Stellaris® ARM® LM3S Microcontrollers Forum » JTAG Communication Failures
Share
Stellaris® ARM® Microcontrollers
  • Forum
Options
  • Subscribe via RSS
Helpful Stellaris® LM4F Series Links
  • LM4F Series
  • Stellaris PinMux Utility
  • Stellaris® LM4F120 LaunchPad
  • LM4F MCU Applications
  • LM4F MCU Video
  • ARM Cortex-M4F Whitepaper
  • Stellaris MCU Brochure
  • LM4F232 Eval Kit
  • Forums

    JTAG Communication Failures

    • Sue Cozart
      Posted by Sue Cozart
      on Oct 28 2011 14:25 PM
      Mastermind49630 points

      It is possible to run code on a Stellaris device that causes the device to lose JTAG communication.  The two most common causes are:

      1. Changing the system clock speed to something that the target system does not support.
      2. Changing the function of the Port C[3:0] pins, which are muxed with the JTAG pins.

      If you accidentally do either of these things, you can restore communication with your target device by running the Debug Port Unlock utility in LMFlash Programmer as shown below.  Select the appropriate product class for your device.  If you don't know the class for your device, you can find it by reading the Device Identification 0 (DID0) register at address 0x400F.E000.  Then click on the "Unlock" button.

      On Tempest- and Firestorm-class devices, the MAC address is erased by the Debug Port Unlock utility, so be sure to write down the number before running the utility.

      Regards,

      Sue

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sue Cozart
      Posted by Sue Cozart
      on Nov 21 2011 05:49 AM
      Mastermind49630 points

      For further advice on bringing up a board with JTAG, see this post from cb1.

      Regards,

      Sue

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • alex yu
      Posted by alex yu
      on Mar 13 2012 14:15 PM
      Intellectual270 points

       

      I use  a XDS 100v2 JATG emulator to connect the board. The emulator is made by Blackhawk. It has a cTI 20-pin header.

      I ues a 20e_cTi-20t_ARM pin converter to connect it to a MDL-ADA210-pin to 20-pin JTAG adapter module, and then connect to Board.

      The configuration is shown as below:

       

      JTAG LM Flash Programmer RDK-IDM-SBC LM3S9B92
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sue Cozart
      Posted by Sue Cozart
      on Mar 13 2012 14:22 PM
      Mastermind49630 points

      Alex,

      You cannot use the XDS100 with LMFlash programmer.  You need to use another Stellaris evaluation board to do a debug port unlock sequence.

      Regards,

      Sue

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • alex yu
      Posted by alex yu
      on Mar 13 2012 14:36 PM
      Intellectual270 points

      Sue,

      Could you recommend me what kind of Evakuation board that is duitable for that application ?

      thanks

      Alex

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sue Cozart
      Posted by Sue Cozart
      on Mar 13 2012 14:38 PM
      Mastermind49630 points

      Hi Alex,

      Any one will work, except for the EK-LM4F232 board.  The EK-LM3S811 is the cheapest at around $50.

      Regards,

      Sue

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • alex yu
      Posted by alex yu
      on Mar 13 2012 15:09 PM
      Intellectual270 points

      Hi Sue,

      Is it suitable for febuging and programming LM3s9B92 based applications?

      Alex

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sue Cozart
      Posted by Sue Cozart
      on Mar 13 2012 15:38 PM
      Mastermind49630 points

      Yes it is, Alex.

      Regards,

      Sue

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • alex yu
      Posted by alex yu
      on Mar 15 2012 19:08 PM
      Intellectual270 points

      Hi Sue,

      I have the EKS-LM3S811. And I tried to unlock the board, but it shows an error: unable to initialize target -1! as shown below:

      Could you please tell me what cause the problem. and how to solve it?

      Thanks

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sue Cozart
      Posted by Sue Cozart
      on Mar 20 2012 11:11 AM
      Mastermind49630 points

      Hi Alex,

      I'm sorry for the delay in responding - I was on vacation.  What is your configuration on the front tab?  You have to configure for the target (use EK-LM3S9B92), not the emulator.

      Regards,

      Sue

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • alex yu
      Posted by alex yu
      on Mar 20 2012 14:27 PM
      Intellectual270 points

      Hi Sue,

      Yes, I used LM3SB92 Evaluation Board as the target in confiuration.

      Alex

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sue Cozart
      Posted by Sue Cozart
      on Mar 20 2012 14:44 PM
      Mastermind49630 points

      Alex,

      I'm sorry this is causing you so much trouble!  Did you carefully follow the directions in the "Using the In-Circuit Debugger Interface" section in the EK-LM3S811 User's Guide?  Are you using the MDL-ADA2 to connect the 20-pin JTAG connector to the 10-pin JTAG connector?  As stated in the User's Guide, it is important that even pins 4-20 must be connected to ground.

      Regards,

      Sue

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • alex yu
      Posted by alex yu
      on Mar 20 2012 16:13 PM
      Intellectual270 points

      Sue,

      I did everything as per User's guide.

      Here is the photo of my connection:

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • alex yu
      Posted by alex yu
      on Mar 20 2012 16:38 PM
      Intellectual270 points

      Hi Sue,

      Here is the connection.

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sue Cozart
      Posted by Sue Cozart
      on Mar 22 2012 10:18 AM
      Mastermind49630 points

      Hi Alex,

      It appears you are doing everything correctly.  A couple of questions for you:

      1. Can you tell me the markings on the Stellaris MCU?
      2. How many times have you successfully downloaded new code to your IDM-SBC?
      Regards,
      Sue
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    12
    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