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/CCSTUDIO: Console clear

Part Number: CCSTUDIO


Tool/software: Code Composer Studio

Hi there,

I'm correctly able to print on the CCS console a text with printf function as follow:

how do I clear the console runtime?

Is there a c-command that let me cleare the console screen?

In my example, how do I clear the console output so, after the "System Clock (Hz): 100007936" string, I can print "EMIF Flash EPROM inizializzata" in a clear console (ie without the previous printf)?

Thank you

Stefano

  • Hello Stefano,

    Stefano Carlesi said:
    how do I clear the console runtime?

    Right-click on the console to bring up the context menu. Then select the option to clear

    Stefano Carlesi said:
    Is there a c-command that let me cleare the console screen?

    There is no direct shortcut but you can select the console and then press Shift + F10 followed by 'r' (which simply is the keyboard shortcut for the context menu option)

    Thanks

    ki

  • There is also a clear button on the console toolbar:

  • Hi ki,

    I meant a c-command that would do that.

    This application is a Test software with multiple tast-cases: Hardware test, communication test,...

    I would like that every time I start a new test trough gel hotmenus I have the printf only related to the current test-case.

    For example:

    GetCfi test -> Console related to GetCfi printf function only

    And when I lunch the next script "UpdateFunctional" I can have a line of code on the  UpdateFunctional routine the clears the console before printing the new printf (automatically, without the right clich-> clear.

  • That functionality is not supported.

    What might work for you is to stream C I/O to a file 9which you asked about in another thread) and have a separate file for each test run. You can automate this via javascript and DSS (which I mentioned in another thread of yours).

    Thanks
    ki