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.

evmk2h gel files to use

Other Parts Discussed in Thread: TCI6638K2K

I am perparing for our custom Keystone 2 board and I want to learn how to use the emulator GEL files. I am starting using the EVMK2H board, But I can't figure out which is the appropriate GEL file for the board. Can you point me to it and any supporting documentation for CCS/GEL noobs?

I am using MCSDK 3.01.01.04, CCS5.5.0.00077, and the TI emupack for keystone 2 version 1.1.0.0.

I found and tried a couple of GEL files, but they have given various errors and I don't know if it's because they are not correct for the board or I am doing something wrong. Eventually I want to create a GEL file for my board using the EVMK2H as a starting point.

Thanks,

Lance

  • Hi Lance Jump,
    Just a quick question, Do you see the errors with K2HEVM (or) Custom Board and gel files supplied on MCSDK 3.x?
    If errors apprears with EVM, Could you please post them here for further investigation? 
    Thank you.

  • Hi Lance,

    here's a good starting point on GEL:

    You find the proper GEL file in:

    C:\ti\ccsv6\ccs_base\emulation\boards\xtcievmk2x\gel

    Kind regards,

    one and zero

  • Rajasekaran,

    The error is while using the TI/Advantech EVMK2H board -- I don't yet have custom board. Below is the console output when I connect:

    CortexA15_1: GEL Output:
    Connecting Target...
    CortexA15_1: GEL Output: TCI6638K2K GEL file Ver is 1.3
    CortexA15_1: GEL: Error while executing OnTargetConnect(): identifier not found: DNUM     at (DNUM==0) [xtcievmk2x.gel:630]     at Global_Default_Setup_Silent() [xtcievmk2x.gel:565]     at OnTargetConnect() .

    I am connecting to CortexA15_1 using a target configuration with the following initialization script:

    ../../emulation/boards/xtcievmk2x/gel/xtcievmk2x.gel

    Thanks,

    Lance

  • One and zero,

    Thank you for the response. I tried that gel file and I get an error (see previous post). I also tried:

    ./boards/tcievmk2l/gel/tcievmk2l.gel

    and got the same error. Have you gotten the gel file to work? By the way, how do you know which is the correct one to use?

    Thank you also for the link. I had found that in a google search, but thought it was little out of date. I'll review it again.

    Thanks,

    Lance
  • Hi Lance,

    the Gel File is designed to be used with core 0. You could change/modify it to run on core 1 as well, but typically you'd want to use core 0 as a master initializing the SoC.

    Kind regards,

    one and zero

  • Rajasekaran,

    I think I have discovered why I am getting the error and it brings up another question. First, I believe the that gel file (identified for me by one and zero -- thank you) is for the DSP core and does not run on the ARM core. This is why I get an error for the DNUM reference -- the ARM doesn't have that register.

    So the question now is: is there a GEL file for the ARM core?

    Thanks,

    Lance
  • Hi Lance,

    I'm not aware of a GEL-File for the ARM. In case the DSP is the bootmaster you should use the GEL for the DSP to initiallize the ARM cores as well.
    If the ARM is the boot master typically Linux is booted. I guess that's why there's no GEL file for the ARM ....

    Kind regards,
    one and zero
  • Hi Lance,
    Yes. The gel file is for DSP core and there is no gel file for ARM core.
  • Hi,
    Please refer below e2e thread for connecting ARM cores from CCS,
    e2e.ti.com/.../384698
  • Rajasekaran,

    Thanks for the information. We will not be using the DSP cores at all. I only wanted to use the emulator and GEL files to initially get the DDR3 up and running on the new board. I thought might be easier than trial and error in u-boot. Given your (and one and zero's) answers, it seems that I will have to use the DSP core to use the GEL file in the emulator. That's fine since it is the same DDR3 registers in any case.

    Thanks again for your quick responses.

    Lance