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.

Log_print0 output

SDK used :ti-esdk-5_05_02_00
Target board:netra 8168 EVM.

We are trying to run the syslink DSP ex01_helloworld example from the linux filesystem. Our question is how do we view the output of Log_print0 messages coming out of DSP application?

Thanks,
Shilpa.

  • Hi Shilpa,

    The simplest answer to your question is to use CCS to attach to the DSP and then use ROV to view the contents of your Log.

    Another simple approach is to configure the example (through its .cfg file) to use LoggerSys for the Log implementation and use SysStd as your System.SupportProxy, and again use CCS to attach to the DSP then view the output in CCS's "console" window (the "console" window is where printf() output goes, which is what SysStd uses), which will show Log_print()s as they happen (but affecting realtime performance).

    If you're asking how to view DSP Log_print() output programatically from a Linux app, the solution becomes much more complicated, there is no simple "canned" approach.  This method would require modifications to the DSP example and matching coding in the Linux app, and there are myriad ways in which to slay that beast.  If you need to go this route then I could expand on some methods, although none are for the "faint of heart".

    Regards,

    - Rob

  • Rob,

    Thank you so much for your detailed answer. The first two solutions worked fine for us.

    Shilpa.