I need to debug my RedBear duo WICED application and I don’t have RBlink board.I can’t found any doc or code showing how to setup uart1 or uart2 for WICED SDK.Any help? Thanks a lot
Since the WICED SDK has not implemented the USB CDC, you can not print debug message via the Duo’s native USB connector. Unless you have a USB-UART bridge, then you can print the debug message via UART1 or UART2.
Please let me know if you have a USB-UART bridge so that I can tell how to print debug message via UART.
Yes, I have USB-UART bridge and Segger J-LINK.I don’t have RBLink hardware.
Please connect the USB-UART bridge with Duo as below:
Duo — USB-UART bridge
TX — RX
RX — TX
GND — GND
Open a serial terminal (e.g. PuTTY or Tera Term) and open the comport for your USB-UART bridge. Set the baudrate to 115200.
When your Duo run up, you can see the debug message printed on serial terminal.