• 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 » JTAG and SCI Flash programming errors
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?
  • InstaSPIN Simulation Tool
  • Product Folder: F28069F, F28068F, F28062F, F28068M, F28069M
  • User’s Guide
  • Technical User’s Manual
  • Tools
  • JTAG and SCI Flash programming errors

    JTAG and SCI Flash programming errors

    This question is not answered
    Jacob Bjorke
    Posted by Jacob Bjorke
    on Jul 26 2012 14:27 PM
    Prodigy180 points

    Just received some custom boards using an F28335.  These boards are set up for flash programming using either JTAG (currently using a Blackhawk USB2000) or using an SCI port using the c2prog utility.

    After powering up and checking power supplies, ect., I attempted to program these boards and received the following errors

    JTAG:

    C28xx: Flash Programmer: Error erasing Flash memory.
    C28xx: Flash operation timed out waiting for the algorithm to complete. Operation cancelled.
    C28xx: Trouble Writing Memory Block at 0x324a8f on Page 0 of Length 0x484
    Cannot write to target

    Please note that at 0x324a8f on Page 0 is where my .cinit section is located...

    SCI

    *** PLEASE RESET TARGET IN SCI BOOT-LOADER MODE ***
    Connecting with target (autobaud)... OK.
    Bootloading... failed (no response)!

    However I am able to connect to the MCU by going to:

    • Target Configuration
    • right clicking my .ccxml file and selecting 'Lauch Selected Configuration'
    • This opens the debug perspective in the Debug window I right click 'Thread[main](Disconnected(Unknown))' and select 'Connect Target' 

    At this point I am able to connect to the controller and I am seeing assembly in the Disassembly window.  I have tried to erase the Flash, and program the flash using the 'On Chip Flash' tools but have not had any luck.  I was hoping that maybe someone here would be able to help me out with something I may be over looking.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Trey German
      Posted by Trey German
      on Aug 10 2012 14:30 PM
      Genius14770 points

      Jacob,

      I've seen similar issues when the flash is not correctly powered.  Can you confirm that VDD3VFL is powered correctly to 3.3V?  Ground are equally important as well.  Do both F28335's on the board behave the same way?  (I've seen the schematics...)


      Regards,

      Trey

      Trey German

      C2000 Applications

      If a post answers your question, please mark it with the "verify answer" button.
      Visit these helpful C2000 Links!
      C2000 TI Wiki Pages
      TI Forum Sitemap
      ControlSUITE
      C2000 Getting Started
      CLA FAQs
      Workshop Material!
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jacob Bjorke
      Posted by Jacob Bjorke
      on Aug 10 2012 14:59 PM
      Prodigy180 points

      Hello Trey,

      The power supplies are providing 3.3V.  And we have not been able to detect any grounding problems to this point. 

      The work around that we were able to find was that we jumpered the two GPIO84 pins for both DSPs together, then jumpered them to ground which allowed us to flash these devices using C2Prog.  After they have been programed with this utility we have no issues connecting the JTAG.

      We have not been able to see how we are unable to erase or write to flash initally.

       

      Thanks,

      Jake

      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