To debug Engine_open() calls, setting env var CE_DEBUG=2 or =3 should suffice 
(assuming you're using CE 2.00 or later, where CE_DEBUG is supported).  That 
should print a ton of trace with details of what's going on underneath.

Engine_open() hanging may be because of memory map mis-configuration.  Provided 
you're using CE 2.00 or later, you can often avoid memory map mis-configs if 
you use Engine.createFromServer().

The FAQ Rob pointed to below has detains on CE_DEBUG.  
Engine.createFromServer() details are here:
http://wiki.davincidsp.com/index.php?title=Configuring_Codec_Engine_in_Arm_apps_with_createFromServer

Chris

________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Albert Burbea
Sent: Monday, November 10, 2008 1:33 PM
To: Tivy, Robert
Cc: Mike Gao; [email protected]
Subject: Re: help - Can I rebuild the code engine under packages for debug?

Hi
I need to repackage codecs and server. I can not do that and I can not 
understand why
Every codec i build hangs during the CE_Open
Thanks and cheers

2008/11/10 Tivy, Robert <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>
Codec Engine comes with pre-built debug libraries that support the GT tracing 
feature.  To see trace prints, the easiest way is to set the env var 
CE_DEBUG=[1|2|3], with 1 being the least and 3 the most.

See http://wiki.davincidsp.com/index.php?title=Codec_Engine_FAQ

- Rob

________________________________
From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto:[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Mike Gao
Sent: Monday, November 10, 2008 11:15 AM
To: 
[email protected]<mailto:[email protected]>
Subject: help - Can I rebuild the code engine under packages for debug?


Hi,

I built the examples under code engine and it is fine. But when I run 
video_copy, it is dead inside the Engine_Open().

Can I rebuild the code under packages\ti\sdo\ce with some debug flag or set 
curTrace to some mask in order to step into the function call?

I didn't see any makefile under it. How to make GT_xtrace to print something 
for debug?

Thanks very much,
Mike

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]<mailto:[email protected]>
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source




--
Albert Burbea
Harishonim 8
Ramat Gan 52502, Israel
Tel/Fax + 972-3-7526016
Mobile: +972-52-3541842
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to