Other Parts Discussed in Thread: SYSCONFIG
Dear TI Team
I am trying to use the Log Framework with LogSinkUART.
What I would like to ask is what configuration and tooling I can use to get a valid log visualization.
My setup
- LP-EM-CC2340R5 LaunchPad connected to the XDS110 Debug Probe.
- The debug probe is connected to my Linux Host via USB.
- Log Example project from SIMPLELINK-LOWPOWER-F3-SDK V7.40.00.64 modified to use the LogSinkUART in LogModule_App1
Modifications to the sample project
- Edited the LogModule_App1 to use /ti/log/LogSinkUART:

- Changed Baud Rate to 115200 and set Use Hardware to XDS110 UART.

- Added to log.c:
#include <ti/log/LogSinkUART.h>
- Removed from log.c:
#include <ti/log/LogSinkITM.h>
Read Log output
I read the log output from the terminal on my linux host using the following settings:
- Baud Rate 115200
- Data length 8 bits
- Parity None
- Stop bits 1 bit
- Flow Control None
The output is not what I am expecting from the project code:

In the LogSinkUART.h File Reference I read that the data must be decoded by the host and I suspect, this is why I am seeing no readable output, is this correct?

I saw that you have a TI Log Tool User's Guide where the tilogger UART description mentions that is intended for the UART LogSink module.

The user guide also states:

Am I correct in assuming, that I must use this tool in order to decode the log output from UART? And if this is the case, do you know if there is/will be an option to read the log from UART using a Linux system?
If there is anything I did wrong in the setup of the log project or the visualization of the log I would be very thankful if you could point me into the right direction.



