Forums

HPI and JTAG did not want to work together !?

Started by veniamin2002se June 11, 2002
Hi All,

I try to debug two application at the same time, one is run on Host
CPU (8051) and another is on DSP (6711).
For debuging the DSP software I use XPS510PP_PLUS emulator via JTAG
interface. The Host CPU is connected to DSP over HPI.

Problem:
When I try to access DSP over HPI on my Host CPU, I can't read or
write any locations while JTAG emulator is connected. And it seems
that DSP don't ready (HRDY is always high when I try to pull HCS to
low)!

To have it working I have to disconnect JTAG emulator from DSP and
hardware reset it. After that everithing works fine. But I need to
debug data exchange between Host CPU and DSP!

Q1: Is it possible to use JTAG emulator and HPI at the same time?
Q2: Is it possible to reset DSP via HPI or I have to use hardware
reset?

Thanks
Veniamin Milevski



Veniamin-

Try running the DSP from CCS until a breakpoint or manual stop, that should
allow HPI
to operate. Perform some host communication. Then stop at a breakpoint -- see
if
the host data is there or not. HPI on the C6xxx series uses an internal
(dedicated)
DMA channel, so if you stop the processor, you stop DMA, and nothing will
happen.

Jeff Brower
DSP sw/hw engineer
Signalogic veniamin2002se wrote:
>
> Hi All,
>
> I try to debug two application at the same time, one is run on Host
> CPU (8051) and another is on DSP (6711).
> For debuging the DSP software I use XPS510PP_PLUS emulator via JTAG
> interface. The Host CPU is connected to DSP over HPI.
>
> Problem:
> When I try to access DSP over HPI on my Host CPU, I can't read or
> write any locations while JTAG emulator is connected. And it seems
> that DSP don't ready (HRDY is always high when I try to pull HCS to
> low)!
>
> To have it working I have to disconnect JTAG emulator from DSP and
> hardware reset it. After that everithing works fine. But I need to
> debug data exchange between Host CPU and DSP!
>
> Q1: Is it possible to use JTAG emulator and HPI at the same time?
> Q2: Is it possible to reset DSP via HPI or I have to use hardware
> reset?
>
> Thanks
> Veniamin Milevski



Veniamin-

> Thank you, I have try already but it don't work anyway :(

Then something else is wrong. HPI + JTAG should be compatible, as would be any
peripheral or chip function + JTAG.

Jeff Brower
DSP sw/hw engineer
Signalogic

> -----Original Message-----
> From: Jeff Brower [mailto:]
> Sent: den 11 juni 2002 15:49
> To: Veniamin Milevski
> Cc:
> Subject: Re: [c6x] HPI and JTAG did not want to work together !?
>
> Veniamin-
>
> Try running the DSP from CCS until a breakpoint or manual stop, that should
> allow HPI
> to operate. Perform some host communication. Then stop at a breakpoint --
> see if
> the host data is there or not. HPI on the C6xxx series uses an internal
> (dedicated)
> DMA channel, so if you stop the processor, you stop DMA, and nothing will
> happen.
>
> Jeff Brower
> DSP sw/hw engineer
> Signalogic
>
> veniamin2002se wrote:
> >
> > Hi All,
> >
> > I try to debug two application at the same time, one is run on Host
> > CPU (8051) and another is on DSP (6711).
> > For debuging the DSP software I use XPS510PP_PLUS emulator via JTAG
> > interface. The Host CPU is connected to DSP over HPI.
> >
> > Problem:
> > When I try to access DSP over HPI on my Host CPU, I can't read or
> > write any locations while JTAG emulator is connected. And it seems
> > that DSP don't ready (HRDY is always high when I try to pull HCS to
> > low)!
> >
> > To have it working I have to disconnect JTAG emulator from DSP and
> > hardware reset it. After that everithing works fine. But I need to
> > debug data exchange between Host CPU and DSP!
> >
> > Q1: Is it possible to use JTAG emulator and HPI at the same time?
> > Q2: Is it possible to reset DSP via HPI or I have to use hardware
> > reset?
> >
> > Thanks
> > Veniamin Milevski