Hello,
I am writing the C674x DSP code for a DM816x. We're using sysbios 6.32.05.54, and CCS 5.1.0.09000.
We have messages going between the ARM and the DSP using sysLink. I am trying to get a DSP log/print string to appear in the Android logging which is dumped when running "logcat" in the serial port connected to our board. I know that this mechanism works because I have a DSP executable available (not my own) which is doing this kind of logging. It produces strings like this in the logcat output:
"D/mengine ( 802): DEBUG dsp[0] #:00030 T:0000000e|81370a65 M:xdc.runtime.Main S:Got something: argc 2 arg "
I am missing something in my own DSP code and cannot get similar output.
I have settings in my .cfg file which seem to be fairly standard. I have put them in the attached file:
I have tried calls in the DSP code of the forms given below, getting the results in the JTAG console window shown in the comment:
ModTrace(pMod, "ModTrace: received cmd msg: \"%s\"\n", pCmdMsg);
printf("printf: received cmd msg: \"%s\"\n", pCmdMsg);
LOGINFO("ACMSC", "what the fruit\n");
Log_print1(Diags_USER1, "what the fruit?", pcmChanHandle);
/* console output
[C674X_0] DEBUG ti[1]: AudCtrlMod[0]: ModTrace: received cmd msg: "rxDgAdjust -3"
[C674X_0] printf: received cmd msg: "rxDgAdjust -3"
[C674X_0] INFO ti[1]: ACMSC: what the fruit
*/
However I do not see the LOGINFO or Log_print1 output in the "logcat" output in the serial port.
I have looked at the example file simpleTask.c in this folder:
C:\CCStudio_v5.1\uia_1_00_03_25\packages\ti\uia\examples\evmti816x
In this file the call is as follows:
Log_print1(Diags_USER1, "count = %d", count++);
What DSP function should be called in order for the logging to be sent via loggerSM to the shared memory which is accessed by my host code? If there is another reference I should look at please let me know. I have been looking at the CCS online help and the System Analyzer User's Guide (spruh43b.pdf).
Thank you,
Annie