In my application, UART1 is used to connect another board. so it’s occupied by the embedded OpenAT application(no uart2 to save the IO board cost).
however we can afford the IO/USB board during development. That is that UART2 is also availabe during application debugging.
my quenstion is that there is a way I can dump the trace to UART2.
for example it’s easy to dump the winip debug information to UART2 by
r = wip_netInitOpts(
WIP_NET_OPT_DEBUG_PORT, WIP_NET_DEBUG_PORT_UART2, /* WIP traces on UART2 */
I know that I can use FCM to open uart2 and send any data that I like to display to uart2.
just wondering is there an easy way to do it so that I have UART1 as an data port, UART2 as an debug port, or even better, can input AT command through uart2 which is connected to an pc terminal.