Page 1 of 1

SWS for debug text? (8266)

Posted: Sun Jul 14, 2019 5:22 pm
by wecango
Is it possible to use the SWS connection with EVK + Swire for debug text output?

I see swire_putc() in the SDK and commands like tcdb uart l -s 4

Can these work together to allow debug print statements to work via SWS?

If so, are there any examples or documentation on how to make this work?

Many thanks.

Re: SWS for debug text? (8266)

Posted: Mon Jul 15, 2019 6:07 pm
by TL_bloom5
hi wecango,
With swire_putc you will need a extra PC tool to pick up the text log, and the PC tool is not available for now. I would recommend you to use gpio simulate uart tx, which you could find an example in the 8258 SDK feature_test build file app_config.h, with UART_PRINT_DEBUG_ENABLE enabled you can output text log via gpio and use a serial tool to pick up the text log.