This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

system log about xm4c1294NCPDT

Other Parts Discussed in Thread: EK-TM4C1294XL, SYSBIOS

my hardware is EK-TM4C1294XL RevD, I hope to add the function of system logging by uart..first i import the example of TCP echo.it can work normal, Then i  do just as chapter instrumentation with TI-RTOS of TI-RTOS user guide. beacuse i hope to log event by UART. So i use example of  UART Logging for TM1294. I copy the file  UARTUtils.c and UARTUtils.c to directory of my project, I set the transport function as UARTUtils_loggerIdleSend. Then i compile the project successfully, Then i download to EK-TM4C1294XL,but the Output of uart is error, Many strange code  was displayed on the console, I change the baud rate setting of console.But it couldn't get right result, who can give me advice about such problem thanks , the content about logging events of my cfg script was listed as following:

var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
var LoggerIdle = xdc.useModule('ti.uia.sysbios.LoggerIdle');
var UART = xdc.useModule('ti.drivers.UART');

LoggingSetup.loggerType = LoggingSetup.LoggerType_IDLE;
LoggerIdle.transportFxn = "&UARTUtils_loggerIdleSend";
LoggerIdle.bufferSize = 1024;

CCS is 6.0.1.00040, TI-RTOS for TivaC is 2.0.2.36,XDCTOOLS is 3.30.1.25_core

  • This is just a guess… but is it possible that there is too much data being sent, so that what gets displayed on the console is only pieces of the data that is actually intended?  Have you maybe tried sending small amounts of data, or increasing the buffer size, to see if that works as expected?

    If this is not the issue, can you please post your entire application .cfg file so we can look at it?

    Thanks,
    Scott