Tool/software:
Hello Everyone,
I am trying print debug message in console through UART(UART2_BASE, 0x4000E000, PORTD Pin 4 & 5 ) using System_printf(), but unfortunately it's not working
When I am doing UART_WRITE() for testing port initialization, it's working fine
In .cfg file, following modification I did to link UART with System_printf()
===================================================
var LoggerIdle = xdc.useModule('ti.uia.sysbios.LoggerIdle');
LoggerIdle.bufferSize = 256;
LoggerIdle.transportFxn = "&loggerIdleSend";
LoggerIdle.isTimestampEnabled = true;
var System = xdc.useModule('xdc.runtime.System');
var SysMin = xdc.useModule('xdc.runtime.SysMin');
SysMin.bufSize = 0x400;
SysMin.outputFxn = '&log2Uart';
System.SupportProxy = SysMin;
===================================================
log2Uart() and loggerIdleSend() implemented in application code
For testing purpose, I put a LED ON function stating to check whether it's getting called or not, but it's not working
So can anyone suggest, how to proceed ahead to link UART with System_printf()
-> Do I need to modify any settings in project
-> Do I need to add anything in .cfg file
Please let me know
Thanks