This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

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

Other Parts Discussed in Thread: TMS320C6678

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 
  • 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

  • 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

  • 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

  • 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

  • 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) .
  • 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

  • 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
  • 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

  • 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

  • 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

  • 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.

     

  • You are right, Rob G.

    Only on Linux install!

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

    Thanks

  • Hello Darian Sale

    I am also getting the similar problem as FeruzM :

    C66xx_0: GEL: Error while executing OnTargetConnect(): identifier not found: DNUM at GEL_TextOut("DSP core #%d\n" , 0, 1, 0, 0, DNUM) [DSP1 - New.gel:1957] at Core_Info() [DSP1 - New.gel:559] at OnTargetConnect() .

    This error comes after I connect the target. Target config (.ccxml) file is getting launched properly.

    I am using CCS v6.0.0 and a custom board containing four TMS320C6678 DSPs. I am able to see DNUM register under Control Registers during the launch of target config (.ccxml) file but not after I connect the target. I have also tried the first two solutions suggested in your answer but nothing has worked. And I have uninstalled CCS and MCSDK and reinstalled them. One thing is MCSDK version is 2_01_02_06 and CCS version is 6.0.0.
    Everything was working properly two days back but once I removed the board and inserted other board, no any board is connecting after that.
    However am able to connect the same board to other PCs in the same condition.
    Please suggest solutions.

    Hoping for a prompt reply

    Thanks and Regards
    Anamika