Hi,
How do you enable dsp side trace to see codec engine GT trace messages? I am trying to run examples/apps/video_copy/dual_cpu on dm6446 with a modified memory map (changed app tcf accordingly) but app.out hangs with the following trace output
# CE_TRACE="*=01234567" TRACE_UTIL_VERBOSE=2 ./app.out in.dat out.dat
TraceUtil> Warning: Failed to open local log file "trace/cearmlog.txt", using stdout
TraceUtil> Warning: Failed to open dsp CE log file "trace/cedsp0log.txt", using stdout
TraceUtil> Warning: Failed to open dsp/bios log file "trace/bioslog.dat", disabling log
@0x00044954:[T:0x4003a6e8] CE - Engine_open('video_copy', 0x0, 0xbefffc78)
@0x00044d6c:[T:0x4003a6e8] CE - rserverOpen('./video_copy.x64P'), count = 0
@0x0004504d:[T:0x4003a6e8] OP - Process_create> Enter(imageName='./video_copy.x64P', attrs=0xbefffbf8)
@0x000455d8:[T:0x40945b60] OP - daemon> thread created.
@0x00046197:[T:0x40945b60] OP - Process_create_d> Enter(proc=0x25548)
@0x000464b5:[T:0x40945b60] OP - Process_create_d> Initializing DSP PROC...
@0x00046f1b:[T:0x40945b60] OP - Process_create_d> Attaching to DSP PROC...
@0x000477fb:[T:0x40945b60] OP - Process_create_d> Opening MSGQ pool...
@0x00047d76:[T:0x40945b60] OP - Process_create_d> Loading ./video_copy.x64P on DSP (2 args)...
@0x000500b3:[T:0x40945b60] OP - Process_create_d> Starting DSP PROC...
@0x00050dcb:[T:0x40945b60] OP - Process_create_d> Opening remote transport...
@0x000512dc:[T:0x40945b60] OP - Process_create_d> return (1)
@0x0005165d:[T:0x4003a6e8] OP - Process_create> return (0x25548)
@0x0005193a:[T:0x4003a6e8] CE - rserverOpen('./video_copy.x64P'): 0x2466c done.
@0x00051c2a:[T:0x4003a6e8] OC - Comm_create> Enter(queueName='video_copy', msgqQueue=0x25528, attrs=0x0)
@0x00052125:[T:0x4003a6e8] OC - Comm_create> return (0x25580)
@0x0005240e:[T:0x4003a6e8] OC - Comm_alloc> Enter(poolId=0x0, msg=0x25534, size=576)
@0x00052730:[T:0x4003a6e8] OC - Comm_alloc> return (0)
@0x000529fc:[T:0x4003a6e8] OC - Comm_locate> Enter(queueName='rmsq', msgqQueue=0x25524)
My current settings are
-----------------------------------
server/video_copy/video_copy.cfg
/* activate BIOS logging module */
var LogServer = xdc.useModule('ti.sdo.ce.bioslog.LogServer');
-----------------------------------
server/video_copy/main.c
changed to
GT_set("*=01234567");
instead of GT_set("servers.video_copy=01234567");
-----------------------------------
app/video_copy/dual_cpu/ceapp.cfg
changed tracing to
TraceUtil.attrs = TraceUtil.FULL_TRACING;
instead of SOCRATES_TRACING
added TraceUtil.attrs.dspTraceMask = "";
-----------------------------------
app/video_copy/dual_cpu/ceapp.c
makes a call to TraceUtil_start(engineName)
Thanks