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.

CCS/TMS320DM6446: GEL_Load requires file full path name

Part Number: TMS320DM6446

Tool/software: Code Composer Studio

I'm moving from CCS (v3 I believe) to CCS v8. When I run a gel file that includes a GEL_Load call, it fails when the file name does not include a full path. How do I get this to work by using a file name only (no full path prefix)?

  • Hi,

    One question: are you using the macro $(GEL_file_dir) in your paths as in the example below?

    GEL_LoadGel("$(GEL_file_dir)//M4_bootROM//romclean.gel");

    If so, can you send the GEL file you are using so we could verify it?

    Regards,
    Rafael

  • Current OS and CCS versions: Windows 10 Enterprise - CCS v8

    Using an older version of CCS (v3 I believe), I was able to select JTAG_LOAD_ALL and the GEL_Load functions would be happy. See first section of code below.

    When using CCS v8, I now have to add full paths as shown in the second section below.

    BTW, as you can see, a variable was not used in either GEL file

  • Hi,

    I imagine the GEL and the binary files are located in the same directory, right? If not, I don't know how the paths were solved.

    Regardless, did you try the Macro I sent before? This should work for the newer release.

    Regards,
    Rafael
  • yes, the binary files are located in the same folder as the GEL file. As for the macro, I didn't receive anything about a macro
  • Hi,

    Sorry, I meant to say the macro I mentioned before: $(GEL_file_dir)

    Did you try it?

    Regards,
    Rafael
  • Rafael,

    I have not tried the macro approach since this is similar to adding full paths to the GEL files. What I'm hoping to do is avoid editing/updating the GEL files. I did try some things on my own (like adding the GEL file to a project); but nothing worked for me.

    To reiterate my challenge ...

    I have multiple folders (think of each folder holding a different SW load) with the same GEL file, but different image files. I'd like to be able to load a different GEL file and when executed load the corresponding images. An older version of CCS used to find the image files (I'm guessing because they were in the same folder as the GEL file) but CCS v8 cannot find the images. Any idea on how I can get CCS v8 to find the files without updating my GEL files? Worst case, I'll have to update the GEL files; but I'm still hoping to avoid this

  • MARIO GARCIA said:
    I'm moving from CCS (v3 I believe) to CCS v8. When I run a gel file that includes a GEL_Load call, it fails when the file name does not include a full path.

    Seems like there was some regression in behavior since CCSv3. I see the issue also. I will try to get confirmation from the debugger experts and let you know.

    Thanks

    ki

  • After looking at this a bit more, the issue seems to be the active directory between the two versions. In CCSv3, the directory was the GEL file. In CCS Eclipse, it seems to be the directory of the CCS executable: <CCSv8 INSTALL DIR>\ccsv8\eclipse. GEL is looking for files in that location unless you specify the full path.