• 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 » Digital Signal Processors (DSP) » C6000 Multicore DSP » Keystone Multicore Forum (C66, 66A, AM5) » urgent, need help.... Core_Info() gel error?
Share
C6000 Multicore DSP
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Training Available
TI provides self-paced online training that introduces the primary components of the KeyStone II family of SoC devices.

  • KeyStone II SoC Overview >
  • KeyStone II Software Overview >
  • KeyStone II ARM Cortex-A15 Corepac Overview >
  • More Information >
  • Check out
    Multicore Mix blog
    • $core_v2_blog.Current.Name

      Geeks UNITE for Geek Pride Day

      Posted 10 hours ago
      by Lauren Reed1
      Happy Geek Pride Day from the Processors team! We wanted to celebrate...
    • $core_v2_blog.Current.Name

      OpenMP - All aboard!

      Posted 2 days ago
      by Debbie Greenstreet
      With so many end products today relying on multicore DSPs for...
    • $core_v2_blog.Current.Name

      A look back: Two years of Multicore Mix

      Posted 3 days ago
      by Lauren Reed1
      A big thank you to everyone who participated in our contest last...

    urgent, need help.... Core_Info() gel error?

    urgent, need help.... Core_Info() gel error?

    This question is answered
    FeruzM
    Posted by FeruzM
    on Mar 21 2012 05:10 AM
    Intellectual705 points

    Hi everybody,

    First time I have a strange error.

    I made target configuration file for c6678 and attach gel file from ../../emulation/boards/evmc6678l/gel/evmc6678l.gel

    whenever I connect I get following error...

    C66xx_0: GEL Output: 
    Connecting Target...
    C66xx_0: GEL: Error while executing OnTargetConnect(): identifier not found: DNUM
    at GEL_TextOut("DSP core #%d\n", 0, 1, 0, 0, DNUM) [evmc6678l.gel:1961] 	at Core_Info() [evmc6678l.gel:610] 	at OnTargetConnect() .
    
    
    Note that I didn't change anything from gel file, I suppose this should always work unless I did something wrong?
    Could you please help me out?
    Thank you!
    
    
    Regards,
    Feruz 
    C6678 Core_Info gel onTargetConnect
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • MJovi
      Posted by MJovi
      on Mar 21 2012 05:34 AM
      Intellectual2425 points

      Hi Feruz,

      please see provided suggestions on silimar post vailable at:

      http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/106033.aspx

       

      Regards,
      Majda

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • FeruzM
      Posted by FeruzM
      on Mar 21 2012 07:20 AM
      Intellectual705 points

      Hi Majda,

      Thank you for your reply.

      But I am not even loading program, trying to connect to target.

      Any ideas, why this could be happening?

      Regards,

      Feruz

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Aravind Batni
      Posted by Aravind Batni
      on Mar 21 2012 09:24 AM
      Intellectual1240 points

      Feruz,

      It appears to me that DNUM register is not getting recognized in your CCS setup (for some reason). Can you do the following experiment?

      1. Open CCS and connect to the target

      2. Open Register tab (using View->Register menu option in CCS 5.1)

      3. Find out if you are seeing DNUM under CoreRegisters group.

      -Aravind

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • FeruzM
      Posted by FeruzM
      on Mar 21 2012 09:32 AM
      Intellectual705 points

      Hi Aravind,

      I did follow steps yes indeed I have no DNUM there.

      Just to mention, error is occurring while connection to the target! What would be the case?

      Thanks,

      Feruz

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • FeruzM
      Posted by FeruzM
      on Mar 21 2012 09:35 AM
      Intellectual705 points

      details:

      connect target error:

      C66xx_0: GEL: Error while executing OnTargetConnect(): identifier not found: DNUM at GEL_TextOut("DSP core #%d\n", 0, 1, 0, 0, DNUM) [evmc6678l.gel:1961] at Core_Info() [evmc6678l.gel:610] at OnTargetConnect() .

      after this I guess I will stay connected, but then load program error altogether:

      Connecting Target...
      C66xx_0: GEL: Error while executing OnTargetConnect(): identifier not found: DNUM at GEL_TextOut("DSP core #%d\n", 0, 1, 0, 0, DNUM) [evmc6678l.gel:1961] at Core_Info() [evmc6678l.gel:610] at OnTargetConnect() .
      C66xx_0: GEL Output: Invalidate All Cache...
      C66xx_0: GEL Output: Invalidate All Cache... Done.
      C66xx_0: GEL: Error calling OnPreFileLoaded(): identifier not found: IER at IER=0 [evmc6678l.gel:681] at OnPreFileLoaded()
      C66xx_0: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
      C66xx_0: Trouble Writing Register PC: (Error -1176 @ 0xD720) 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.623.0)
      C66xx_0: GEL: Error while executing OnRestart(0): identifier not found: DNUM at (DNUM==0) [evmc6678l.gel:822] at OnRestart(0) .
      C66xx_0: GEL: Error while executing OnFileLoaded(0, 0): identifier not found: DNUM at (DNUM==0) [evmc6678l.gel:718] at OnFileLoaded(0, 0) .
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Aravind Batni
      Posted by Aravind Batni
      on Mar 21 2012 09:40 AM
      Intellectual1240 points

      If you don't have the register there then the GEL file can not read/write to those Registers. AFAIK, all versions of CCS should have this register in core register. Not sure if something got corrupted in your CCS setup? (just guessing).

      What is the CCS version you are using? Is it possible for you to update to later CCS versions?

      Note: When you are uninstalling the current CCSV5 version, please delete ccsv5 directory after you uninstalled it manually. (Just to make sure everything got cleaned up) and then reinstall it.

      -Aravind

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • FeruzM
      Posted by FeruzM
      on Mar 21 2012 09:44 AM
      Intellectual705 points
      It is latest I guess....
      Code Composer Studio 

      Version: 5.1.0.201201061800
      Build id: N201201061800
      .........................................................
      Thanks, I try to reinstall! Though I wish there would be other way!?
      
      
      Feruz
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Aravind Batni
      Posted by Aravind Batni
      on Mar 21 2012 09:51 AM
      Intellectual1240 points

      I will discuss this internally. However, it is better to give another try by reinstalling the CCS. If it works, I assume there was some issue while installing the CCS.

      -Aravind

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Darian Sale
      Posted by Darian Sale
      on Mar 21 2012 10:26 AM
      Verified Answer
      Verified by FeruzM
      Expert3185 points

      Feruz,

      I believe you've installed a patch on top of CCS which defines additional registers for the 6678, mostly for all of its peripherals.  As part of that patch, some of the registers originally defined in the core registers group were moved to another group.  Unfortunately GEL requires that registers are accessed using <register group name>_<register name> unless it's in the core registers group (in which case it's just <register name>), and the GEL file hasn't been updated to do that. 

      We're aware of this issue and are planning a fix for the updated xml files so that original GEL files will continue to work.  In the mean time, you have three options:

      1. Find out where DNUM is now defined in your setup.  You can hit ctrl + f to search in the register view for "DNUM" (expect the search to take a while to load the first time).  Once found, you can modify the GEL files to access it using groupname_DNUM instead of just DNUM.
      2. Define DNUM as a hidden register, as hidden registers can also be accessed without a group name.  You can do this by editing <install>\ccsv5\ccs_base\common\targetdb\Modules\64x+NotVisible.xml and adding a new line like the following: <register id="DNUM" acronym="DNUM" width="32" description="">. 
      3. If you know that you don't need the step in the GEL file that's using DNUM, then you can just comment out that line.  (I'm guessing this isn't the case, but I thought I'd mention it just in case...)

      It looked from your one post that you had a similar issue with the IER register.  The same 3 options would apply to it.

      Darian

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • FeruzM
      Posted by FeruzM
      on Mar 22 2012 03:17 AM
      Intellectual705 points

      Hi Darian,

      Thank you for your answer!

      I did follow 2. option and did some changes in xml file, then IER not found, same sort of error, I add IER as well.

      Now, it seem to working fine!

      Thank you!

      Feruz

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Rob G.
      Posted by Rob G.
      on Mar 22 2012 08:54 AM
      Intellectual390 points

      I'm getting this same issue, btw, but only on my Linux install.   It works fine on my Windows install.  Both were downloaded from the site (not used from the included CD) in the past week, so they're as current as can be.

       I also used option 2, and the demo (image edge detect) now works.

       

      ==============================================================
      TMSC320C6678 with Blackhawk XDS560v2 USB mezzanine on a TMDXEVMPCI, openSuse 12.1
      DM8168x/C6A816x/AM389x Evaluation Module (TMDXEVM8168)
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • FeruzM
      Posted by FeruzM
      on Mar 22 2012 09:48 AM
      Intellectual705 points

      You are right, Rob G.

      Only on Linux install!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Thomas Brown
      Posted by Thomas Brown
      on Mar 12 2013 08:21 AM
      Prodigy480 points

      Same for me, only see this in Linux version.  Option 2 fix also did the trick for me.

      Thanks

      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