Brad, you're absolutely right. There's no need to open the .pjt, it just works fine opening the source files and loading the symbols. Now I'm able to debug my code, I must have been doing it in the wrong order.
Thank you very much indeed,

Jon


Griffis, Brad escribió:
When you set the breakpoint you'll either get a filled-in red circle, or just an empty 
circle.  If it's filled-in with red then CCS "understands" where you're trying 
to set the breakpoint.  There are file names embedded in the x64P file along with the 
symbols, etc.

One thing to be careful about is the order you're doing things.  You need to make sure 
that the ARM loads the DSP *before* you set the breakpoint.  Alternatively, right-click 
and select "toggle hardware breakpoint".  Otherwise the software breakpoint 
might actually be overwritten by the ARM loading the code and so you'd never halt.

I don't think you ever need to open a project at all.  You just need to load 
the symbols.

Brad

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf
Of Jon Arróspide
Sent: Friday, February 20, 2009 4:23 AM
To: [email protected]
Subject: How to debug Codec server: cannot open .pjt in CCS

Hello all,

I'm trying to debug a codec server in CCS. I'm working with DM6446. I'm
following the steps of the wiki,
(http://wiki.davincidsp.com/index.php?title=Debugging_the_DSP_side_of_a_CE
_application_on_DaVinci_using_CCS),
in order to debug the codec server. I already have the application
(example 'scale' from CE) running on the ARM side, and I have opened and
connected the CCS, and loaded the .x64P, but my question is, how do I
insert the breakpoints?  If I just open the source files as the wiki
says, and insert these there, they are not hit.

I've read in other posts that it is necessary to open in CCS the project
.pjt generated in the server package folder, but if I try to open it, I
get the following error:

"No build tools for the target specified in this project were found.
Cannot open project ...\servers.gti.scale.pjt". Please use Component
Manager to ensure the appropriate project server and build tools are
selected"

Checking the Component Manager, I do have indeed those build tools for
c6000. If I open the .pjt file it looks like this:

; Code Composer Project File, Version 2.0 (do not modify or remove this
line)
[Project Settings]
ProjectName="servers.gti.scale"
ProjectType=External
CPUFamily=TMS320C64PXX
Tool="CustomBuilder"
Config="Package"
[Source Files]
Source="../main.c

So, I don't know if I can do something to open this project, or if there
is another way to set the breakpoints in the source files. Basically, I
guess my doubt is the following: when loading the symbols of the .x64P
file, how is the link done to the source files that generated it? How
can I access those files in order to set the breakpoints?

Please somebody help me out on how to debug codec servers in CCS, I
think I'm missing something in the way...

Thank you in advance,
Jon

_______________________________________________
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

Reply via email to