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?
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 VuHow 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,
TI C/C++ Compiler Forum ModeratorPlease click This Resolved My Issue on the best reply to your questionThe CCS Youtube Channel has short how-to videosThe Compiler Wiki answers most common questionsTrack an issue with SDOWP. Enter your bug id in the Search box.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.