Hi,
I want to use the Log_info APIs in my code instead of the System_printf I am using currently, primarily for efficiency reasons.
But the output is not coming to the console. Where does the output go? How can I view it?
Thanks,
Abhishek
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.
Hi,
I want to use the Log_info APIs in my code instead of the System_printf I am using currently, primarily for efficiency reasons.
But the output is not coming to the console. Where does the output go? How can I view it?
Thanks,
Abhishek
Abhishek,
The output from the Log API functions is sent to the respective logger which is configured for the current module. We typically use the logger from XDCtools: xdc.runtime.LoggerBuf. This logger creates a buffer in memory which stores the output from the Log API calls.
To view the data in the logger buffer, halt the processor and then open the RTOS Object View (ROV).
CCS Debug Perspective
Tools > RTOS Object View (ROV)
In the module tree view, select the logger module (LoggerBuf). In the data view, select the Records tab. Then select the logger instance (don't expand it). You should see the output of your LOG API calls.
The SYS/BIOS User Guide, Instrumentation section has more details. You can also import a TI-RTOS instrumentation example from the TI Resource Explorer to look at a working example.
~Ramsey