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 can I see the logs from M3 ?

Hi All,

I can see that there is a lot of debugging logs in vpss driver such as GT_1trace(...) or GT_2trace(...).
How can I see these logs ? I couldn't see anything at all on serial console.

Regards,
Wonhong

  • FYI, I've been using VS2 demo application in SDK 1.4 and I'd like to see the logs from VPSS/VIDEO-M3 when VS2 demo application is running.
    Based on some articles in TI Forum, I added the codes as below.

    ducati_mmsw_main_vidm3.c
    ------------------------------------------------------------------
    #include <ti/sdo/utils/trace/gt.h>
    /* trace info: module name, mask */
    #define MOD_NAME "ti.omx.demos.vs2.src.ducati_mmsw_main_vidm3"

    Void Ducati_AppTask(...) {
       /* init trace */
       GT_init();

       /* create a mask to allow a trace-print welcome message below */
       GT_create(&curMainMask, MOD_NAME);

       /* Enable all trace for this module */
       GT_set(MOD_NAME "=01234567");
    ------------------------------------------------------------------

    However, when I compiled whole VS2 application with this change, link error was seen like the following.

    ------------------------------------------------------------------
     undefined  first referenced                                                                                                                
      symbol        in file                                                                                                                     
     ---------  ----------------                                                                                                                
     GT_init    /home/whkwon/work/lion/branches/20110217_lion_temporary_trunk/output/vs2/obj/ti816x-evm/m3video/debug/ducati_mmsw_main_vidm3.oem3
     _GT_create /home/whkwon/work/lion/branches/20110217_lion_temporary_trunk/output/vs2/obj/ti816x-evm/m3video/debug/ducati_mmsw_main_vidm3.oem3
     _GT_set    /home/whkwon/work/lion/branches/20110217_lion_temporary_trunk/output/vs2/obj/ti816x-evm/m3video/debug/ducati_mmsw_main_vidm3.oem3
    ------------------------------------------------------------------