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.

  • TI Thinks Resolved

RTOS: UART

Tool/software: TI-RTOS

My UART_Printf() sends text to RS232 interface normally, but cout and cerr send the text to the CCS Console in a very slow motion when i have the USB Debug Probe connected.  Without the probe, i only see the texts from UART_printf().

How can I force the outputs from cout and cerr to the RS232 port?

Thanks.

  • I presume you use the TI ARM compiler.  If not, this response does not make any sense.

    I'm not familiar with UART_Printf.  But I can tell from your description that it uses a completely different transport mechanism than cout and cerr.  To get a rough idea of cout and cerr work, search the ARM compiler manual for the section titled The C I/O Functions.

    Jodat Vu
    How can I force the outputs from cout and cerr to the RS232 port?

    To understand that, continue through that same section.  Pay close attention to the sub-section titled Adding a User-Defined Device Driver for C I/O.

    Thanks and regards,

    -George


    TI C/C++ Compiler Forum Moderator
    Please click This Resolved My Issue on the best reply to your question
    The CCS Youtube Channel
     has short how-to videos
    The 
    Compiler Wiki answers most common questions
    Track an issue with SDOWP. Enter your bug id in the Search box.

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.