hi chensu I tried your method. but i cant open servers.my_copy.pjt as you say.Can you tell me why? yet also CCS cannot set breakpoint at body of some functions such as VIDDEC_TI_control and can not single step into a function,can you give me a hand?
在08-5-19,cs <[EMAIL PROTECTED]> 写道: > > Hi > > U are right. I rebuild codec server under linux again and copy all the > files to windows. After connecting DSP by ccs, I open the project file > servers.my_copy.pjt in directory of ".\my_copy\package\" and > add viddec_copy.c viddec_copy_ti.h viddec_copy_ti_priv.h to my > project. Then the debug function of CCS performs OK. > > Thank u very much. > > > > > > You're doing the right thing. Double check that you've rebuilt your > server, and that it's linking in your newly rebuilt, debug codec package. > And that you've copied the rebuilt server to your device. > > Chris > > ------------------------------ > *From:* davinci-linux-open-source-bounces+cring=ti.com@ > linux.davincidsp.com > [mailto:davinci-linux-open-source-bounces+cring<davinci-linux-open-source-bounces%2Bcring> > [EMAIL PROTECTED] *On Behalf Of *Albert Burbea > *Sent:* Sunday, May 18, 2008 7:38 AM > *To:* [EMAIL PROTECTED] > *Cc:* [email protected]; [EMAIL PROTECTED] > *Subject:* Re: How to debug codec server using CCS > > > Hi > I think you can not follow your code because you have no project open. I do > not understand why the wiki does not mention opening a project. I guess it > should be harmless. > Albert > > > On 5/16/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> Hi all >> >> I follow >> >> http://wiki.davincidsp.com/index.php?title=Debugging_the_DSP_side_of_a_CE_application_on_DaVinci_using_CCS >> to debug a codec server which only include viddec_copy algorithm package. >> >> After connect DSP ,load symbol my_copy.x64P , and open a source code file >> viddec_copy.c using CCS , I set a break point in function >> VIDENCCOPY_TI_process(...). >> >> I do not use any gel file , and not open any project . >> >> When my app continue , I watch DSP side program do stop at the breakpoint >> . But the breakpoint can only be set to the start of the function , and >> single step , step into , step over ,is fail to use. >> >> my codec engine 's version is dvevm_1_20 . codec_engine_1_10_01 >> in both codec package and codec server , I modify package.bld 's compile >> attribute to Pkg.attrs.profile = "debug" , and when compiling the code , >> "-g" parameter is followed /opt/TI/cg6x_6_0_14/bin/cl6x >> >> Can any one tell me how to use all debug function and how to set >> breakpoint at any place? >> >> >> >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> Davinci-linux-open-source mailing list >> [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 > > > cs > [EMAIL PROTECTED] > 2008-05-19 > > > _______________________________________________ > Davinci-linux-open-source mailing list > [email protected] > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > >
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
