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.

GEL Script executes slowly

Other Parts Discussed in Thread: CCSTUDIO

I am using GEL scripts to verify some requirements. The problem is the execution of GEL scripts is very slow in my PC whereas in some other pc with same version of CCStudio it executes fast.. Is there any specific settings we need to do for faster execution or is this a driver problem?

I am using CCStudio 4.2.4 and XDS 510 USB emulator.

Thanks,

Varun

 

  • Hi Varun,

    Are the config for all PCs same? Secondly, are you observing the same for the first time or previously it was speedy & only now its become slower?

    Regards,
    Gautam
  • Gautam,
    The PC configurations are same and no, from the beginning it is running at the same speed.
  • Ok, try uninstalling and re-installing the drivers then. There are no specific settings to fasten the execution speed.
    If even that doesn't work... you should try re-installing CCS then!

    Regards,
    Gautam
  • Can I re-install only the drivers?
    I was knowing that the drivers are installed while installing CCStudio only.
  • After plugging in the XDS emulator, you can check the Device Manager for the respective driver and can uninstall.
  • Varun - if everything is similar in both environments (PC, CCS version, emulator, board and application), then there should be no difference.). If you can provide more details on what your GEL files does and where it slows down, that would be helpful

    ki
  • Ki, We use GEL file to automate the testing. We use GEL_Go, GEL_Run, GEL_TextOut, We use a lot of GEL_System to write our outputs into a text file.
    GEL_System execution can be observed on the console wildow also.

    The execution of the test script which we write used to be fast in the old system. In the new system it is slow dispite all the H/W remaining the same. The only difference is in the S/W which we are testing.

    Gautam: Tried reinstalling the emulator drivers but no success.

    Thanks
  • varun nayyar said:
    The execution of the test script which we write used to be fast in the old system. In the new system it is slow dispite all the H/W remaining the same. The only difference is in the S/W which we are testing.

    What are the differences in the SW?


    Also note that your CCS version is very old. Unless you must use that version (because of your software process), I suggest updating to the latest CCS version

    Thanks

    ki

  • Hi Ki,

    The difference in software is like one it is a bigger software in terms of number of lines of code. We used timer based interrupt which was 35 usec last time and this time its 17.5usec.

    I can not use the latest version of CCS due to some constraints.

    I tried changing the CPU (better processor and more RAM) also but it has not given me significant improvements in the GEL_Script execution speed ( there is a little improvement).

     

  • Also Ki/ Gautam, we use a lot of echo commands in GEL_System to redirect the output to our result text file. So is there a possibility that there is a limited buffer to handle such commands and if we can increase that.

  • Also Ki/ Gautam, we use a lot of echo commands in GEL_System to redirect the output to our result text file. So is there a possibility that there is a limited buffer to handle such commands and if we can increase that.
    Is it possible that the systems antivirus (we have symantech end point enterprise s/w) installed in the system is interfering with CCStudio. I had one PC in which the GEL scripts were executing very fast and soon after the admin guys updated the systems antivitus again it got slow.
    There is some issue which is causing the execution slow in the system.