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.

How to get debug messages from openmax components of Netra?

Hi,

I would like to know how to get debug print messages from openmax components of VS demo.

I can see debug messages up to "omx_05_00_00_11/packages/ti/omx/domx/DomxCore.c" file, which does have API DomxInit() called by OMX_Init().

The board hangs while calling DomxCore_procInit(eb) from DomxInit() API.

DomxCore_procInit() is implemented in "omx_05_00_00_11/packages/ti/omx/domx/DomxProcMgrIf_BIOS.c" file, where I tried putting printf but print message doesn't come on console.

What is the way to get debug messages at this level ?

Thanks,
Sweta

  • Try  System_printf

  • Hi Eric,

    Thanks for the quick suggestion.

    I tried System_printf but I am not getting any message on debug console.

    Do I need to perform any special step to enable System_printf() ?

    Reason is, I want to enable all debug messages from "omx_05_00_00_11/packages/ti/omx/comp/ctrl/src/tvp/omx_ctrl_tvp_if.c" file.

    This file does already have System_printf() for necessary checking but I am not able to see any of the messages.

     

    Please help me if I have missed anything.

    Thanks,

    Sweta

     

  • I your question concerns messages from DSP side and at least you're using CodecEngine: for me the Log_print1, Log_print2, ... functions worked, I got their output on ARM side by calling the application with CE_DEBUG set before, like calling "CE_DEBUG=2 ./myapp".

    If that produces too much output, you can limit that to the output from explicitely named modules only, for that see this entry by Chris.

    Regards,
    Joern.

  • Sweta,

    It is possible to use a new module called UIA to get these trace messages accessible by the A8 via a shared memory block. I've been using it on the VC3 demo from 5.0.0.11 successfully. I've attached the instructions on how to access UIA and then how to use it.

    Iain 

    Using UIA on SDK 5.0.0.11.docx
  • Iain,

    I was actually interested to know

    • where that sdk 5.0.0.11 can be downloaded,
    • if it is an earlier version of the current EZSDK 5.01.01.80 and 
    • if it is less buggy than EZSDK 5.0.0.59 and
    • if it has any actual advantages comparing the current EZSDK.

    That is because this SDK version is often spoken about here in the forum, but I couldn't find any substantial information about that point.

    Additionally it would be fine if the document you provided would be available also within a less proprietary format than just from Winword 2007 - although OpenOffice is able to read it I find it was more convinient to provide it either as PDF or in an actually open format like ODF.

    Thanks in advance,
    best regards,
    Joern.