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/CC430F5137: CCS run a script when debuging

Part Number: CC430F5137


Tool/software: Code Composer Studio

Hi guys,

I am using the Code Composer Studio V6 and the uC CC430F5137.

So, my problem is that i want to write the value from some variable in the main function in a local textfile.

Is there a opportunity to run a script when i load the program on my uC?

Can someone help me :)

Best regards,

Christof

  • Hi Christof,
    There are two options for you. The first is GEL. It is our own 'C' like scripting language use by the debugger. It is commonly used to initialize the target when you launch the debugger. For more information, see:
    processors.wiki.ti.com/.../GEL

    The second is DSS. This is a more robust scripting solution designed for automated testing.
    processors.wiki.ti.com/.../Debug_Server_Scripting

    Which one you choose to use depends on your needs. Both can access target memory but the latter has more file I/O capability (via java file.io) if you wish to read/write contents of target memory to a local text file

    Thanks
    ki