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.

how to execute gel script in the CCS v4 simulator environment

Hi,

I tried executing gel script in the simulator environment using CCS v4 to test the functionality of the code after selecting simulator, load symbols and load program options(selecting the .out file) but PC value is showing 00 and gel command is running infinetly

GEL_RUN(PC != function_address);

without running the gel script the debug window is showing the disassembly code and after executing the gel script debug window showing TRAP commands

please guide me the required steps needed to execute the gel script.

 

  • Hello,

    You provided very little details for us to provide any useful suggestions. It would help if you provided:

    -What exact CCS version you are using (provide full version number)

    -What exact simulator you are using

    -Provide a reproducible test case. In this case, that would be the *.out file and *.gel file you are using

    Thanks

    ki

  • Thanks ki for the reply,

    the version of the CCS is 4.1.2.00027 and the simulator is F283x CPU Cycle Accurate Simulator and using windows 7 with 64 bit

    due to the site restrictsions i am unable to add the .out file and only gel file is uploaded. After loading the program and the corresponding cmd file, PC is pointing to the starting address of main and able to perform single step operations and while exeuting gel file the PC content showing 000000.

    6787.GEL_Test.gel

  • Babul Reddy said:
    the version of the CCS is 4.1.2.00027

    Please at least update to CCSv4.2.5.

    Babul Reddy said:
    due to the site restrictsions i am unable to add the .out file

    If it is the forum with the restriction, you can zip the out file and attach the zip

    Babul Reddy said:
    GEL_RUN(PC != function_address);

    Which line in the gel file is it getting stuck? There are several GEL_Run calls.

    Thanks

    ki

  • Hi Ki,

    Is there any specific document which describes about the simulation steps using CCS and Gel script.

    Regards,

    babulu Reddy B

  • Some basics of using GEL with CCS is covered in the below wiki:

    http://processors.wiki.ti.com/index.php/GEL

    For more details on the GEL language itself, check the included Help that comes with CCS

    Thanks

    ki