Is it possible to debug DSP code with CCSv3.3 using XDS100 based JTAG pods?
Hi Ramakrishnan,
I just checked the "wiki/datasheet" for the XDS100 [1] ([2] is the Google cache, since the official page is currently down - Was working yesterday evening though), and from this I would unfortunately say: NO
Main arguments are, that the emulator doesn't support adaptive clocking [3], and that the wiki states, that it currently only supports the TMS320C28x- and TMS320C674x-families.
According to the page TI however plan to add support for the OMAP-chips in the future as well - I unfortunately don't know when - Maybe some of the TI guys know?...
Best regards
Søren
[1] http://tiexpressdsp.com/wiki/index.php?title=XDS100
[2] http://74.125.77.132/search?q=cache:2RWoxptnjBwJ:tiexpressdsp.com/wiki/index.php%3Ftitle%3DXDS100+XDS100&hl=da&ct=clnk&cd=1&gl=dk
[3] http://www.blackhawk-dsp.com/downloads/public/datasheet/BHadaptiveClocking-TA-01.pdf
From: beagleboard@googlegroups.com
[mailto:beagleboard@googlegroups.com] On Behalf Of Ramakrishnan
Muthukrishnan
Sent: Tuesday, February 03, 2009 8:03 AM
To: beagleboard@googlegroups.com
Subject: [beagleboard] XDS100 JTAGIs it possible to debug DSP code with CCSv3.3 using XDS100 based JTAG
pods?--
RamakrishnanHi Ramakrishnan,
I just checked the "wiki/datasheet" for the XDS100 [1] ([2] is the Google cache, since the official page is currently down - Was working yesterday evening though), and from this I would unfortunately say: NO
Main arguments are, that the emulator doesn't support adaptive clocking [3], and that the wiki states, that it currently only supports the TMS320C28x- and TMS320C674x-families.
According to the page TI however plan to add support for the OMAP-chips in the future as well - I unfortunately don't know when - Maybe some of the TI guys know?...
I tested this on the DM6446 and it worked for debugging the C64x+. I should work fine on the OMAP3530 as well, but you *must* pull the DSP out of reset with ARM software *prior* to launching the debugger.
Hi Jason and Søren
Thanks for the answers. I will try it out tonight and come back to the list.
Jason,
I installed CCS service pack 11 on top of my CCSv3.3 installation and
also installed the XDS100 support pack linked from the wiki page. I
see OMAP3530 devices now but tied to XDS5xx emulation. I installed a
OMAP3530 device on my setup and brought up the CCS parallel debug
manager, but I cannot "connect" to or "open" the CortexA8 device. The
error message is:
JTAG on Beagle is 1.8V only. Are you using a 1.8V adapter?
Gerald
XDS100 supposedly is, according to the wiki.
<http://tiexpressdsp.com/wiki/index.php?title=XDS100>
ramakrishnan
You need to make sure. If it applies any voltage other than 1.8V to the header, then it will most likely damage the board.
Gerald
It says:
The TI XDS100 hardware reference design has the following capabilities. Please check with your XDS100 vendor as to whether the all of the below features are supported:
Gerald
This is my XDS100 vendor webpage. It doesn't say much about capabilities..
<http://www.olimex.com/dev/tms320-jtag-usb.html>
I guess the problem I face is entirely a different issue. The issue is
that when I select XDS100, 28xx driver is selected by default,
possibly encoded within the .ccs file. I guess one needs to say that
one has a custom board and generate a custom config in the CCS setup.
If someone has done it with XDS100-USB for other TI devices like
DM6446, it will be great if they can share it.
Thanks
Ramakrishnan
As I understood the answer from Jason yesterday, he had only had luck debugging the DSP core in DM6446, and not the ARM.
Somehow I as well think this very well fits the info on the wiki - I don't think you will have any luck debugging the Cortex with the XDS100-JTAG yet.
With respect to voltages, I totally agree with Gerald, that you should make sure, that the JTAG voltage is 1.8V. That being said, I have several times (by mistake) connected a 3.3V only JTAG to other kinds of OMAP chips without (at least immediately) killing the chip. But again: Don't do it just for fun
Best regards
Søren
Thanks Søren. Yes, Jason had earlier told me that he had hooked it up
with DM6446. I don't have my DM6446 board with me at the moment, but
my intention is to talk to the C64x+ and not to Cortex-A8.
It will be great if someone at TI with access to XDS100 try it out on
the beagle/DM6446 EVM and report their results.
I believe Olimex follows the TI reference design, but I may be wrong.
regards
ramakrishnan