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.

Console not showing System_printf

Hi,

I am using code composer and XDS560 to debug my program. But the System_printf does not show anything on the console when I am stepping through the program. Can someone help me with this problem.

Thank you.

  • I'm going to guess that you did not include the header file when you compiled it so the function was actually removed altogether.

    Do you have this line of code?:

    #include <xdc/runtime/System.h>

     

    And your "System Support Proxy" should be SysStd by default -- so unless it has been set to "null" or something to that effect in the configuration, you shouldn't need to worry about that

  • thank u twentz. The "System Support Proxy" will be already assigned with some value(System.SupportProxy = SysCallback) in .cfg file, so don't forget to remove/comment that line. These two lines should be added to .cfg file var SysStd = xdc.useModule('xdc.runtime.SysStd'); System.SupportProxy = SysStd;