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
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.
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).
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.