• 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 » Development Tools » Code Composer Studio » Code Composer Forum » CCS: Unable to start debug "Hello World" program on C6A8168EVM... I get device in reset state errors...
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • CCS: Unable to start debug "Hello World" program on C6A8168EVM... I get device in reset state errors...

    CCS: Unable to start debug "Hello World" program on C6A8168EVM... I get device in reset state errors...

    This question is not answered
    Vikram Shivanna
    Posted by Vikram Shivanna
    on Apr 03 2012 05:12 AM
    Prodigy110 points

    Hi TI Community,

                                   I just started with my brand new C6A8168 EVM + with 8 GB SD Card (Linux Kernel 2.6.37) and the EVM came with a display device(a portable DVI connected LCD display). I'm using CCSv5.2 to program/debug. I'm using XDS100v2 JTAG connector.

    What I would like to do is to display "Hello World" on the portable display.

    The problem I'm facing is this:

    1. (Before I added the GEL File to Target Configuration)

        Error connecting to the target: (Error -1180 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.0.635.0)

        -

    2. (After I added the GEL File to target configuration evm816x.gel)

        Error connecting to the target: (Error -1180 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.0.635.0)

        

    Any help will be greatly appreciated.

    Regards

    Vikram

    CCSv5 Device held in reset
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • AartiG
      Posted by AartiG
      on Apr 03 2012 09:23 AM
      Guru69085 points

      Vikram,

      Please have a look and follow the steps at this wiki page to connect to the DSP core on the C6A8168.


      If a post answers your question please mark it with the "Verify Answer" button

      Search the wikis for common questions: CGT, BIOS,  CCSv3, CCSv4
      Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Vikram Shivanna
      Posted by Vikram Shivanna
      on Apr 04 2012 05:37 AM
      Prodigy110 points

      Aarti, I followed the wiki and other threads and I was able to bring the DSP out of reset mode in a No-Project-Debug-Mode.

      After that I started a new Hellow Word project, included a target configuration and inside the target configuration for the C-A8 core I included the GEL file.

      Now when I debug I'm facing a new problem. When loading process starts to load the HelloWorld.out, after the GEL file startup sequence, I get the errors as below:

      
      
      CortexA8: GEL Output: EVM816x Startup Sequence

      CortexA8: GEL Output: PRCM Setup Complete
      CortexA8: GEL Output: Configuring Pad Functions...
      CortexA8: Output: Main PLL Init is in Progress, Please wait .....
      CortexA8: Output: Main PLL Init is Done .....
      CortexA8: Output: EVM816x DDR PLL Init is in Progress for 796 MHz DDR Clock, Please wait .....
      CortexA8: Output: DDR3 Selected.
      CortexA8: Output: DM816x DDR PLL Init is Done .....
      CortexA8: Output: EVM816x DDR2/3 PRCM Init is in progress .....
      CortexA8: Output: EVM816x DDR2/3 PRCM Init is Done .....
      CortexA8: Output: Initializing EMIF1 .....
      CortexA8: Output: DDR3 SWLEVELING DONE FOR EMIF0
      CortexA8: Output: DDR3 SWLEVELING DONE FOR EMIF1
      CortexA8: Output: DM816x EMIF Init is Done @ 796MHz Clock Rate.....
      CortexA8: GEL Output: Startup Complete.

      CortexA8: GEL Output: GEL Reset
      CortexA8: Trouble Writing Memory Block at 0x5c68 on Page 0 of Length 0xc0: (Error -2130 @ 0x5C68) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.635.0)
      CortexA8: GEL: File: D:\CCSv5\HelloWorld2\Debug\HelloWorld2.out: Load failed.

      Help!

      Thank you
      Vikram
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • AartiG
      Posted by AartiG
      on Apr 04 2012 10:31 AM
      Guru69085 points

      Vikram,

      Try starting the debug session in the same manner as you did before (non-project debug session). Right-click on the Cortex A8 core in the Debug view and connect to it. Then go to Run->Load->Load Program and browse to the .out file to load it (assuming the project/.out file is built for Cortex A8).

       


      If a post answers your question please mark it with the "Verify Answer" button

      Search the wikis for common questions: CGT, BIOS,  CCSv3, CCSv4
      Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Vikram Shivanna
      Posted by Vikram Shivanna
      on Apr 04 2012 23:47 PM
      Prodigy110 points
      Aarti,
      I did that. Now I try to load CortexA8 core with HelloWorld.out(also built for C-A8) in a non-project debug session. It did not succeed, kindly look at the errors:
      
      
      CortexA8: GEL Output: EVM816x Startup Sequence

      CortexA8: GEL Output: PRCM Setup Complete
      CortexA8: GEL Output: Configuring Pad Functions...
      CortexA8: Output: Main PLL Init is in Progress, Please wait .....
      CortexA8: Output: Main PLL Init is Done .....
      CortexA8: Output: EVM816x DDR PLL Init is in Progress for 796 MHz DDR Clock, Please wait .....
      CortexA8: Output: DDR3 Selected.
      CortexA8: Output: DM816x DDR PLL Init is Done .....
      CortexA8: Output: EVM816x DDR2/3 PRCM Init is in progress .....
      CortexA8: Output: EVM816x DDR2/3 PRCM Init is Done .....
      CortexA8: Output: Initializing EMIF1 .....
      CortexA8: Output: DDR3 SWLEVELING DONE FOR EMIF0
      CortexA8: Output: DDR3 SWLEVELING DONE FOR EMIF1
      CortexA8: Output: DM816x EMIF Init is Done @ 796MHz Clock Rate.....
      CortexA8: GEL Output: Startup Complete.

      CortexA8: Output: PRCM for C674x is in Progress, Please wait.....
      CortexA8: Output: C674x L2 RAM Accesses are PASSED
      CortexA8: Output: User Can Connect to C674x
      CortexA8: GEL Output: GEL Reset
      CortexA8: Trouble Reading Register CP15_CONTROL_REGISTER: (Error -2131 @ 0x20013F00) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.635.0)
      CortexA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_CONTROL: (Error -2131 @ 0x20023F40) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.635.0)
      CortexA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_0: (Error -2131 @ 0x20023F00) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.635.0)
      CortexA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_1: (Error -2131 @ 0x20023F20) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.635.0)
      CortexA8: Trouble Reading Register CP15_MMU_DOMAIN_ACCESS_CONTROL: (Error -2131 @ 0x20033F00) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.635.0)
      CortexA8: Trouble Reading Register CP15_CONTROL_REGISTER: (Error -2131 @ 0x20013F00) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.635.0)
      CortexA8: Trouble Reading Register CP15_CONTROL_REGISTER: (Error -2131 @ 0x20013F00) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.635.0)
      CortexA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_CONTROL: (Error -2131 @ 0x20023F40) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.635.0)
      CortexA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_0: (Error -2131 @ 0x20023F00) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.635.0)
      CortexA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_1: (Error -2131 @ 0x20023F20) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.635.0)
      CortexA8: Trouble Reading Register CP15_MMU_DOMAIN_ACCESS_CONTROL: (Error -2131 @ 0x20033F00) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.635.0)
      CortexA8: Trouble Writing Memory Block at 0x5c68 on Page 0 of Length 0xc0: (Error -2130 @ 0x5C68) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.635.0)
      CortexA8: GEL: File: D:\VikramD\PhilipsProjects\PMSProject\CCSv5\HelloWorld2\Debug\HelloWorld2.out: Load failed.
      CortexA8: Trouble Reading Register CP15_CONTROL_REGISTER: (Error -2131 @ 0x20013F00) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.635.0)
      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