Hi All
We are using CCS4.2, Bios 5_41_10_36 on OMAPL138 with emulator (XDS560v2).
Usual problem is if we add too many LOG_printf's to the system it affects real time behaviour too drastically - we decided to use multiple LOG buffers/pre-defines to overcome this as follows:
#ifdef USE_LOG1
LOG_printf(&log1, "This is LOG buffer 1")
#endif // USE_LOG1
#ifdef USE_LOG2
LOG_printf(&log2, "This is LOG buffer 2")
#endif // USE_LOG2 etc
We enable "combinations" of LOG buffers which don't break the application as would happen if all are enabled... all is good at this point.
HOWEVER:
When we enable more than one LOG buffer the timing sequence is maintained for each LOG buffer "individually" not as a combined display output. ie
----------------------------------------------------------------------------------------------------------------
Time Logger
0 LOG1
2 LOG1
4 LOG1
1 LOG2
3 LOG2
5 LOG2
----------------------------------------------------------------------------------------------------------------
Is there an easy way for the output to be displayed in this manner
----------------------------------------------------------------------------------------------------------------
Time Logger
0 LOG1
1 LOG2
2 LOG1
3 LOG2
4 LOG1
5 LOG2
----------------------------------------------------------------------------------------------------------------
BR
Barry