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 file OnTargetConnect

All:

I am porting a C6713 application from CCS3.3 to CCS5.5, and I have a question about the OnTargetConnect() function in a generic GEL file - since there is no longer a connection at Debug-->Connect, doesn't StartUp() do about the same thing?

Are there old Gel functions that do not make sense in the CCS5 environment?

StartUp() ?

OnTargetConnect() ?

OnReset() ?

OnPreFileLoaded() ?

OnRestart() ?

I have read http://processors.wiki.ti.com/index.php/GEL to see options no longer used (deprecated), but I am not sure about some of the above items...

 

  • Todd Anderson78572 said:
    I am porting a C6713 application from CCS3.3 to CCS5.5, and I have a question about the OnTargetConnect() function in a generic GEL file - since there is no longer a connection at Debug-->Connect, doesn't StartUp() do about the same thing?

    there is an action where after the debugger is up, you connect to the target. However that action is automated in v5 when you use the "Debug [project]" button (the button that looks like a bug). You can configure v5 to not auto-connect when debugging a project so that you can do it manually. Also, when starting a project-less debug session, there will be no auto-connect by default

    So v3 and v5 behave the same way. The main difference is that in v5, launching the CCS application will launch the GUI but the debugger isn't started until a debug session is launched. In v3, launching the CCS application will launch the debugger (since IDE and debugger is tightly integrated).

    So StartUp() is called when the debugger is launched for both v3 and v5. In v3, it is when you launch CCS. In v5, it is when a debug session is started. OnTargetConnect() works the same- when the target is connected.

    Todd Anderson78572 said:

    Are there old Gel functions that do not make sense in the CCS5 environment?

    StartUp() ?

    OnTargetConnect() ?

    OnReset() ?

    OnPreFileLoaded() ?

    OnRestart() ?

    All those calls are relevant and work the same in both v3 and v5. Nothing really changed.

    Thanks

    ki