Hi ,

I use Fedora Core 8 as my development environment. I use TI's cross-compiler 
tools for ARM , DSP  , XDC , framework_components_1_10_04  , dvevm_1_20 , to 
build codec server and debug DSP side code. The other tools such as gmake, 
automake , ...... , is just from FC8 . They work ok.

I work under windows ,using vmware 5.5 and SSH Secure Shell to transfer file 
between windows and linux and using CCS 3.3 and SEED-XDS560USB to link evm 
board.

I use the following steps to debug dsp server .
1. setup all the tools under linux.
2. fix user.bld file. set C64P.rootDir , MVArm9.rootDir to correct path ,  and 
set Build.targets only C64P , because I want codec engine run only on dsp side.
3. fix xdcpath.mak , modify the parameter to right path.
4. fix package.bld in your codec package(  xxx.yyy.zzz.vidddec_copy  ) and your 
codec server ( my_copy ). set Pkg.attrs.profile = "debug"; and rebuild codec 
package and codec server
5. modify your app code following the wiki's instruction.
6. copy your codec server and arm side app to the evm board using NFS.
7. exec the app on the board , when the app pause at getchar() after 
Engine_open()  
8. open CCS , and connect arm and dsp. confirm they should not be halted.
9. copy full codec server files and codec package files to windows after 
compiled .
10. open ccs for dsp , and open the project in  ".\my_copy\package\"
11. add viddec_copy.c to your project.
12. load symbols (my_copy.x64P file)
13. set breakpoint where u want to stop.
14. continue arm side app by serial console.
15. debug your code







hi 
a vmware virtual machine is used.
and
Codec engine:1.02
DSP/BIOS:5.30
DSPlink:1.30
Redhat 9 linux 2.4.20



在08-5-20,Albert Burbea <[EMAIL PROTECTED]> 写道: 
Hi
just to know - are you using a virtual machine for linux (like vmware) or a 
native install? 
Also, which linux distribution are you working on ?
Albert 

 
On 5/19/08, cs <[EMAIL PROTECTED]> wrote: 
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: [EMAIL PROTECTED] [mailto:[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




-- 
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





= = = = = = = = = = = = = = = = = = = = = = 
        致
礼!

              cs
[EMAIL PROTECTED]
               2008-05-21
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to