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.

TMS570LC4357: printf() function problem

Part Number: TMS570LC4357

dear e2e,

I am using printf() function in my code.

When I am trying to display string ( Ex : printf( " hi\n\r")) , I can see the output in terminal and console screen.

When i am trying to display any data ( Ex : printf( "  %d " , data)) , I can see output in console . I am not geeting any thing in terminal.

can u tell the reason for above problem? Is there any setting in ccs?

Thanks & Regards

Prasanna

  • Hi Prasanna,

    printf() (in stdio library) will not send the string and data to terminal. If you want to print something to terminal, you need to use the functions defined in sci.c.

    Regards,
    QJ