Codec_engine_1_10_01 On Tue, May 5, 2009 at 11:58 AM, Ring, Chris <cr...@ti.com> wrote: > Sorry if I missed it... what version of Codec Engine are you using? > > Seems like it's been there forever, but CE_DEBUG was only added in CE 2.x and > later. > > Chris > >> -----Original Message----- >> From: davinci-linux-open-source-boun...@linux.davincidsp.com >> [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com >> ] On Behalf Of bhushan >> Sent: Monday, May 04, 2009 11:17 PM >> To: Balagopalakrishnan, Anand >> Cc: davinci-linux-open-source@linux.davincidsp.com >> Subject: Re: Codec engine hangs when during TraceUtil_start function >> >> Hello Anand, >> I set the CE_DEBUG parametr to 2 and 3 value which must basically >> enable all the traces from teh ARM and DSP side. Still I am unable to >> see the DSP side traces. >> Bhushan >> >> On Tue, May 5, 2009 at 11:02 AM, Balagopalakrishnan, Anand >> <ana...@ti.com> wrote: >> > What are the attributes configured for TraceUtil in the XDC >> cfg file? By default, the CE traces will be redirected to >> /tmp/cearmlog.txt. It looks like you have set the environment >> variables CE_TRACEFILE so it gets redirected to >> trace/cearmlog.txt. If the directory "trace" doesn't exist, >> there would be errors. >> > >> > If you don't *need* TraceUtil specifically - if you just >> want to observe the DSP side traces for debugging, a better >> (and easier) option would be to use CE_DEBUG: >> > http://tiexpressdsp.com/index.php?title=CE_DEBUG >> > >> > When using CE_DEBUG, the traces will automatically come to >> the console. There is no need to change the ARM application code. >> > >> > Best Regards, >> > Anand Balagopalakrishnan >> > Texas Instruments >> > India >> > >> > -----Original Message----- >> > From: >> davinci-linux-open-source-boun...@linux.davincidsp.com >> [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com >> ] On Behalf Of bhushan >> > Sent: Monday, May 04, 2009 5:07 PM >> > To: davinci-linux-open-source@linux.davincidsp.com >> > Subject: Codec engine hangs when during TraceUtil_start function >> > >> > Hi, >> > I am developing an application based on the codec_engine. For the >> > same I want to see the DSP side traces for the various >> codecs used. So >> > I have added TraceUtil_start(EngineName) function after Engine_open >> > api. >> > But the application hangs because of TraceUtil_start. >> > Following are the logs: >> > # ./vs_appd -f ../test_vectors/ws_uyvy.yuv & >> > # 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 >> > @0x0002c12e:[T:0x00004002] OP - daemon> thread created. >> > @0x000447be:[T:0x00008003] OM - Memory_getPhysicalAddress> >> > Enter(virtAddr=0x40556000) >> > @0x000448ee:[T:0x00008003] OM - Memory__getPhysicalAddress> >> > Enter(virtAddr=0x40556000, size=1) >> > @0x000449e4:[T:0x00008003] OM - Memory__getPhysicalAddress> >> returning >> > physAddr=0x0 >> > @0x00044aad:[T:0x00008003] OM - Memory_getPhysicalAddress> >> return (0x82800000) >> > @0x0004ae67:[T:0x00008003] OM - Memory_getPhysicalAddress> >> > Enter(virtAddr=0x40655000) >> > @0x0004af56:[T:0x00008003] OM - Memory__getPhysicalAddress> >> > Enter(virtAddr=0x40655000, size=1) >> > @0x0004b01c:[T:0x00008003] OM - Memory__getPhysicalAddress> >> returning >> > physAddr=0x0 >> > @0x0004b0db:[T:0x00008003] OM - Memory_getPhysicalAddress> >> return (0x828ff000) >> > @0x000514b1:[T:0x00008003] OM - Memory_getPhysicalAddress> >> > Enter(virtAddr=0x40754000) >> > @0x0005159c:[T:0x00008003] OM - Memory__getPhysicalAddress> >> > Enter(virtAddr=0x40754000, size=1) >> > @0x00051662:[T:0x00008003] OM - Memory__getPhysicalAddress> >> returning >> > physAddr=0x0 >> > @0x0005173e:[T:0x00008003] OM - Memory_getPhysicalAddress> >> return (0x829fe000) >> > 7792:junk2009 >> > !!!!NT:No passwd file available, taking factory passwd >> > REQCFG >> > >> > REQCFG >> > >> > 7792:junk2009 >> > !!!!NT:No passwd file available, taking factory passwd >> > SETCFG >> > >> > SETCFG >> > >> > Rszcopy Debug: Configuring resizer job to copy image of >> resolution 320x240 >> > @0x00595d34:[T:0x00008003] OM - Memory_getPhysicalAddress> >> > Enter(virtAddr=0x408ed000) >> > @0x00595e64:[T:0x00008003] OM - Memory__getPhysicalAddress> >> > Enter(virtAddr=0x408ed000, size=1) >> > @0x00595f56:[T:0x00008003] OM - Memory__getPhysicalAddress> >> returning >> > physAddr=0x0 >> > @0x00596023:[T:0x00008003] OM - Memory_getPhysicalAddress> >> return (0x82800000) >> > @0x0059c413:[T:0x00008003] OM - Memory_getPhysicalAddress> >> > Enter(virtAddr=0x409ec000) >> > @0x0059c4fd:[T:0x00008003] OM - Memory__getPhysicalAddress> >> > Enter(virtAddr=0x409ec000, size=1) >> > @0x0059c5bd:[T:0x00008003] OM - Memory__getPhysicalAddress> >> returning >> > physAddr=0x0 >> > @0x0059c677:[T:0x00008003] OM - Memory_getPhysicalAddress> >> return (0x828ff000) >> > @0x005a2a2a:[T:0x00008003] OM - Memory_getPhysicalAddress> >> > Enter(virtAddr=0x40aeb000) >> > @0x005a2b14:[T:0x00008003] OM - Memory__getPhysicalAddress> >> > Enter(virtAddr=0x40aeb000, size=1) >> > @0x005a2bd7:[T:0x00008003] OM - Memory__getPhysicalAddress> >> returning >> > physAddr=0x0 >> > @0x005a2caa:[T:0x00008003] OM - Memory_getPhysicalAddress> >> return (0x829fe000) >> > @0x005a4d85:[T:0x00010005] CE - Engine_open('scale', 0x0, >> 0xbe1ffa3c) >> > @0x005a4eb6:[T:0x00010005] CE - rserverOpen('./all.x64P'), count = 0 >> > @0x005a4f7f:[T:0x00010005] OP - Process_create> >> > Enter(imageName='./all.x64P', attrs=0xbe1ffa40) >> > >> > >> > Project Name : INCCM and Version : inccm 0.1 >> > >> > @0x005f5364:[T:0x00004002] OP - Process_create_d> >> Enter(proc=0x4fb38) >> > @0x005f54ef:[T:0x00004002] OP - Process_create_d> >> Initializing DSP PROC... >> > @0x005f5a52:[T:0x00004002] OP - Process_create_d> Attaching >> to DSP PROC... >> > @0x005f759c:[T:0x00004002] OP - Process_create_d> Opening >> MSGQ pool... >> > @0x005f7821:[T:0x00004002] OP - Process_create_d> Loading ./all.x64P >> > on DSP (2 args)... >> > @0x00609b1d:[T:0x00004002] OP - Process_create_d> Starting >> DSP PROC... >> > @0x0060aa35:[T:0x00004002] OP - Process_create_d> Opening >> remote transport... >> > @0x0060ac31:[T:0x00004002] OP - Process_create_d> return (1) >> > @0x0060ae06:[T:0x00010005] OP - Process_create> return (0x4fb38) >> > @0x0060aee3:[T:0x00010005] CE - rserverOpen('./all.x64P'): >> 0x45218 done. >> > @0x0060af9a:[T:0x00010005] OC - Comm_create> >> Enter(queueName='scale', >> > queue=0x4fa10, attrs=0x0) >> > @0x0060b171:[T:0x00010005] OC - Comm_create> return (0x53178) >> > @0x0060b25e:[T:0x00010005] OC - Comm_alloc> Enter(poolId=0x0, >> > msg=0x4fa1c, size=576) >> > @0x0060b379:[T:0x00010005] OC - Comm_alloc> msg=0x40c84900, >> returning (0) >> > @0x0060b43a:[T:0x00010005] OC - Comm_locate> Enter(queueName='rmsq', >> > queue=0x4fa0c) >> > @0x0060d1b8:[T:0x00010005] OC - Comm_locate> return (0) >> > @0x0060d2a2:[T:0x00010005] CE - checkServer(0x4fa00) >> > @0x0060d365:[T:0x00010005] OC - Comm_put> Enter(queue=0x0, >> msg=0x40c84900) >> > @0x0060d44c:[T:0x00010005] OC - Comm_put> return (0) >> > @0x0060d56a:[T:0x00010005] OC - Comm_get> Enter(queue=0x10000, >> > msg=0xbe1ffa38, timeout=-1) >> > @0x0060d6b2:[T:0x00010005] OC - Comm_get> return (0) >> > >> > If any one has any suggestions for the solution to above problem >> > please send me the same. >> > Thanks in advance >> > >> > -- >> > Bhushan >> > >> > _______________________________________________ >> > Davinci-linux-open-source mailing list >> > Davinci-linux-open-source@linux.davincidsp.com >> > >> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source >> > >> >> >> >> -- >> Bhushan >> >> _______________________________________________ >> Davinci-linux-open-source mailing list >> Davinci-linux-open-source@linux.davincidsp.com >> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source >>
-- Bhushan _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source