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-C2000: Where does "System_printf" show up at in the IDE?

Part Number: CCSTUDIO-C2000

Tool/software: Code Composer Studio

Where does "System_printf" show up at in the IDE?

I know its a dumb question but I am new to CCS.

Thanks..  Dave

  • David Petryk said:
    Where does "System_printf" show up at in the IDE?

    It will show up in the Console view. The same Console view is used to display the build output when the project is built, as well as any Console I/O output such as printf, System_printf statements in the code. You can toggle between the different Console views using the "Display Selected Console" icon available in the view ( a screenshot is shown here).

  • Thanks for the help Aarti.

    There must be something else that I am not understanding or some compile time switch that is not set correctly. Here is a screen capture of my debug session.

  • Shown here is the console assigned for the project. There is no output from the "System_printf" on line 33 or 35.
    If I change the line to printf or sprintf I get a compile error.
  • David,

    I assume you are using SysMin instead of SysStd System implementation (you can check this in your .cfg file). SysMin stores the characters in an internal buffer which gets flushed to stdout when System_flush() is called or when the application terminates (for example when BIOS_exit() is called). I don't see a call to BIOS_exit() in your program, so that is likely the issue.

    Please take a look at the links referenced in this post for more details on using System_printf.