• 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 » C2000™ Microcontrollers » C2000 32-bit Microcontrollers Forum » Running from Flash with TMS320F28035 using Dual Motor Development Kit
Share
C2000™ Microcontrollers
  • Forums
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
C2000 Resources
  • Product Folder
  • C2000 Training Portal
  • C2000 Technical Training Catalog
  • C2000 Datasheets, App Notes, User Guides
  • C2000 Hardware Design Kits
  • controlSUITE for C2000 Software Library


  • InstaSPIN Resources
  • What is InstaSPIN?
  • Videos and Support


  • InstaSPIN-FOC and InstaSPIN-MOTION Resources
  • What is InstaSPIN-FOC?
  • What is InstaSPIN-MOTION?
  • Product Folder: F28069F, F28068F, F28062F, F28068M, F28069M
  • User’s Guide
  • Technical User’s Manual
  • Tools
  • Forums

    Running from Flash with TMS320F28035 using Dual Motor Development Kit

    This question is answered
    Jim Alberti99407
    Posted by Jim Alberti99407
    on Aug 20 2012 16:27 PM
    Prodigy50 points

    I am using Dual Motor Development Kit TMDS2MTRPFCKIT and, until a few minutes ago, I had a problem running my program from Flash without the emulator (in stand-alone mode). Turns out that because of the USB isolation circuit (used to communicate with the pc) on the development kit, powering up the board with or without the USB from the computer plugged into the board defaults with the TRSTn pin being held high (which makes the TMS320F28035 DSP believe the JTAG is in control, eventhough no JTAG is connected). This condition is caused by the default output High state of the USB isolator IC ISO7240C when the input is floating or unpowered. The non-isoloated side of the isolator receives power from the non-isolated side when I power up the board, which outputs the High state on the TRSTn signal. When I plug in the USB connector then remove it from the board, the USB powers up the isolated side long enough to drive the TRSTn-ISO / TRSTn signal low so that it releases JTAG control and allows my program to run from Flash in stand-alone mode. What I'm wondering is if anyone else has observed this same behavior and / or is there a tech note on this somewhere that I just missed? This issue took me a couple days to figure out after verifying that my other stuff was configured properly (boot mode pins, configuration files, etc.). Hope this helps anyone else that might be scratching their head.......I wonder if this issue also exists on other development kits?

    EMU_Connect Running from Flash
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • desouza
      Posted by desouza
      on Aug 20 2012 16:52 PM
      Verified Answer
      Verified by Jim Alberti99407
      Guru55850 points

      Hi,

      I have a similar development board (TMDSHVMTRPFCKIT) that has an isolated XDS100v1 - I don't recall seeing this behaviour, but it may have been by chance.

      Interesting note regarding the TRST line... although this line should have a pull-down (check here), per your description it seems the ISO part itself should have a pull down as well...

      In this case I will move this thread to the device forum as well, since the development board experts may have additional comments.

      Regards,

      Rafael


      If my reply answers your question please click on the green button "Verify Answer".
      Search the wiki or go to useful pages for SDOWP, CGT, BIOS, CCSv3, CCSv4, CCSv5
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jim Alberti99407
      Posted by Jim Alberti99407
      on Aug 20 2012 18:21 PM
      Verified Answer
      Verified by Jim Alberti99407
      Prodigy50 points

      According to the ISO7240C datasheet, it won't matter if there is a pulldown resistor on the input side (isolated side) of the isolator when the input side is unpowered. The output will default to the High state in this condition. Only when the input side is powered (through the USB cable) will a low state drive the output Low. That is why I had to momentarily connect the USB cable then remove it to drive a low signal at the input (isolated) side so that it would drive the TRSTn signal low and release the JTAG for my software to run in stand-alone mode.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Brett Larimore
      Posted by Brett Larimore
      on Aug 21 2012 12:40 PM
      Verified Answer
      Verified by Jim Alberti99407
      Mastermind18510 points

      Jim,

      Note that on the F28035 controlCARD (R1.2 and up) there is a switch that can be used to connect/disconnect the TRSTn to the MCU.


      Thank you,
      Brett

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jim Alberti99407
      Posted by Jim Alberti99407
      on Aug 21 2012 14:48 PM
      Verified Answer
      Verified by Jim Alberti99407
      Prodigy50 points

      Thanks Brett. Unfortunately, I have a Rev 1.1 control card that doesn't have the TRSTn switch. I purchased the kit last December, so either I got a kit that's been sitting around  for awhile or Rev 1.2 got released after December. Either way, it's good that TI has a workaround for the later rev boards and I'm glad that I'm aware of the issue and resolved the problem. I wanted to make others aware of the issue to help with their troubleshooting efforts.

      Take care,

      Jim

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Brett Larimore
      Posted by Brett Larimore
      on Aug 21 2012 15:48 PM
      Verified Answer
      Verified by Jim Alberti99407
      Mastermind18510 points

      Jim,

      Too bad, but I'm glad you've now gotten the system to work.  Thanks for posting your resolution too, this kind of thing does help others!


      Regards,
      Brett


      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