Have the USB bulk driver working with an existing application and like to decommission UART0 currently piping messages out a serial CDM virtual COM port to a terminal emulator running on Windows desktop.
Oddly the USB bulk driver example RX FIFO was getting flooded during the host TX data echo cycle (mangled echo return) and the UARTprintf() RX/TX counts were accelerating so fast it quickly flooded the COM port emulator @115200kb. The fix is posted below for anyone experiencing the same issues.
UARTprintf() handles messages strings versus integer data differently and has many switches %d,i,s,n etc...
USB printf() handles only asscii characters in the Bulk example.
Otherwise Is there a Tivaware library command that can internally redirect all UART0 TX/RX data into USB0 TX/RX?
Thanks for ideas!
/* Flush the RX buffer of any stray data */ USBBufferFlush(&g_sRxBuffer); // // We've processed the data in place so now send the processed data // back to the host. // USBBufferDataWritten(&g_sTxBuffer, ui32Count);