DSPRelated.com
Forums

xds510 jtag emulator

Started by Yasser Attarizzi October 23, 2005
hello mike
unfotunately i the code composer can't initialize the DSP and i did
everything that i think. the xdsprobe say that the IR length is 8bit.
i have jtag boundary scan board and it can detect the DSP and say that the
IR length is 4bit i don't know what is the reason???

please help me.
thanks alot
yasser

>From: Mike Dunn <mike-dunn@mike...>
>To: Yasser Attarizzi <y_attar@y_at...>
>CC: c6x@c6x@...
>Subject: Re: [c6x] xds510 jtag emulator
>Date: Thu, 27 Oct 2005 07:17:28 -0700 (PDT)
>
>Yasser,
>
>Please see my answers below.
>
>mikedunn
>
>--- Yasser Attarizzi <y_attar@y_at...> wrote:
>
> >
> > hi mike
> > yes the error message is what you said
> > Is the state of bootmode pins important for jtag
> > emulation to start?
><mike>I have had trouble in the past with c6201
>devices when the pins were configured for 'host boot'.
> I would suggest that you start with 00101 [no boot,
>map1]. If you are still having trouble with CCS
>coming up, apply a hardware reset [I hope that you
>have a reset button] and keep it applied. Open CCS
>and when you see the 'splash screen', let it go. Try
>it a few times to see if it helps.
>
> > all of them are 0.
><mike>does that mean that nothing is connected to the
>pins or are they all grounded??
>
> >I know that's not allowed but I
> > didn't know that the
> > state of bootmode pins are important but I can
> > change their state .
><mike> Anytime that you are making connections to a
>device, ALWAYS select a 'legal' configuration. If the
>documentation says that something is reserved or
>illegal then "do not do it". BTW, 00000 is a legal
>configuration.
> >what state they have to be?
> >
> > thannks alot
> > yasser
> >
> >
> > >From: Mike Dunn <mike-dunn@mike...>
> > >To: Yasser Attarizzi <y_attar@y_at...>
> > >CC: c6x@c6x@...
> > >Subject: Re: [c6x] xds510 jtag emulator
> > >Date: Wed, 26 Oct 2005 12:51:42 -0700 (PDT)
> > >
> > >Yasser,
> > >
> > >Some current increase while bring up CCS is normal
> > - I
> > >am not sure what the typical amount of current
> > >increase might be.
> > >
> > >I assume that you have configured CCS for a 620x
> > >target device.
> > >
> > >What error message do you get from CCS - I suspect
> > >that it is "can't initialize target".
> > >
> > >What is the configuration of yout 'boot mode
> > pins'??
> > >
> > >,mikedunn
> > >--- Yasser Attarizzi <y_attar@y_at...> wrote:
> > >
> > > >
> > > > hi mike
> > > >
> > > > thanks for very helpfull advices
> > > >
> > > > i have pulled up EMU0/1 with 4.7k resistors now
> > i
> > > > changed the resistor to
> > > > 20k and furthermore I see that there is ripple
> > in
> > > > the 3.3v i add capasitor
> > > > to the vcc and ripple decreased
> > > > nor that commands said that IR length is 8bit
> > and DR
> > > > length is 1 bit, what
> > > > is ur idea?
> > > > furtheremore after Isaw that the IR length is
> > > > changed I start code composer
> > > > studio hopping that it detect the IC but it
> > didn't
> > > > and the current increases
> > > > about 100mA.
> > > >
> > > > thanks
> > > >
> > > > yasser
> > > >
> > > > >From: Mike Dunn <mike-dunn@mike...>
> > > > >To: Yasser Attarizzi <y_attar@y_at...>,
> > > > c6x@c6x@...
> > > > >Subject: Re: [c6x] xds510 jtag emulator
> > > > >Date: Wed, 26 Oct 2005 06:23:03 -0700 (PDT)
> > > > >
> > > > >Hello Yasser,
> > > > >
> > > > >I have good news and bad news [hopefully not
> > too
> > > > bad].
> > > > >The good news is that your JTAG scan path is
> > > > working
> > > > >properly - the bad news is that your 6201 is
> > not
> > > > >coming up in "emulation mode".
> > > > >
> > > > >The key indicator
> > > > >"The JTAG IR instruction scan-path length is 4
> > > > bits."
> > > > >should show 8 bits instead of 4. There are two
> > > > >possible causes that I am aware of [I hope that
> > it
> > > > is
> > > > >#1]:
> > > > >1. EMU0/1 [JTAG connector pins 13 & 14] are not
> > > > pulled
> > > > >up to 3.3v with a 10-20k ohm resistor. Ideally
> > you
> > > > >should check these with a scope - or, if you
> > have
> > > > some
> > > > >'old fashion' wire lead resistors and some
> > jumper
> > > > >wires, you could connect connect resistors pin
> > 5
> > > > -->
> > > > >13 and pin 5 --> 14.
> > > > >2. The reserved pins are not configured
> > properly.
> > > > >
> > > > >Let us know what happens.
> > > > >
> > > > >mikedunn
> > > > >
> > > > >----reply from Yasser----
> > > > >hi
> > > > >thanks mike
> > > > >i did what you told me and found out lot of
> > things
> > > > >about the jtag
> > > > >here the output of that commanns:
> > > > >
> > > > >This utility is named `XDSPROBE'.
> > > > >It is used to probe scan-controllers and
> > > > scan-paths.
> > > > >It uses Release-3 of the Unified-SCIF stack.
> > > > >
> > > > >It is version `3.01.07'.
> > > > >It is dated `Apr 10 2001'.
> > > > >It is Copyright (c) 1990-2001 by Texas
> > Instruments
> > > > >Incorporated.
> > > > >
> > > > >This utility has determined the operating
> > system is
> > > > >Win98.
> > > > >
> > > > >---[Open the
> > > >
> > >controller]----
> > > > >
> > > > >The IO port address 0x240 will be used.
> > > > >Requesting Unified-SCIF to detect and open the
> > > > >controller.
> > > > >The controller has been detected and opened
> > > > >successfully.
> > > > >
> > > > >---[Perform the scan-path length test on the
> > JTAG
> > > > IR
> > > > >and DR]----
> > > > >
> > > > >Allocated 0x800 words of scan-controller
> > memory,
> > > > base
> > > > >0x0
> > > > >Changed the JTAG state to Test-Logic-Reset.
> > > > >
> > > > >The test for the JTAG IR instruction scan-path
> > > > length
> > > > >succeeded.
> > > > >The JTAG IR instruction scan-path length is 4
> > bits.
> > > > >The many-ones plus many-zeros tested length was
> > 4
> > > > >bits.
> > > > >The many-zeros plus many-ones tested length was
> > 4
> > > > >bits.
> > > > >
> > > > >The test for the JTAG DR bypass scan-path
> > length
> > > > >succeeded.
> > > > >The JTAG DR bypass scan-path length is 1 bits.
> > > > >The many-ones plus many-zeros tested length was
> > 1
> > > > >bits.
> > > > >The many-zeros plus many-ones tested length was
> > 1
> > > > >bits.
> > > > >Freed all scan-controller memory.
> > > > >
> > > > >The scan-path appears to consist of just one
> > > > device.
> > > > >
> > > > >The JTAG IR register for a single ARM7 or ARM9
> > > > device
> > > > >has 4 bits.
> > > > >The JTAG IR register for a single classic TI
> > DSP
> > > > >device has 8 bits.
> > > > >The JTAG IR register for a single IceMaker TI
> > DSP
> > > > >device has 38 bits.
> > > > >The JTAG IR register for a single C621x or
> > C671x
> > > > >device has 46 bits.
> > > > >
> > > > >The older TI DSP devices with classic emulation
> > > > >include the:
> > > > > C4x, C5x, C8x, C20x, C24x products.
> > > > >The newer TI DSP devices with classic emulation
> > > > >include the:
> >
>=== message truncated ===
>


Hello Yasser,

The c6201 contains 2 separate JTAG TAPs [test access
ports]. The emulation TAP has an 8 bit IR and has a
special emualtion command set. The boundary scan TAP
has 4 bits and executes basic boundary scan
instructions.

When the device is initialized with EMU0 & 1 held
high, the emulation port is selected. If EMU0 & 1 are
held low, the boundary scan port is selected.

I will repeat myself - if you do not have the correct
selection of reserved pins tied high and low, per the
data sheet, the part will not work correctly.

Also, a tip that will not help you this time, but may
help others -
Anytime that you are using a BGA device for the first
time, especially if you lack experience system design,
I suggest providing access to as many signals as
possible. If your PCB fabricator has the capability,
microvias through the ball pads will provide scope
access. The other alternative is putting vias next to
the pads. This can make routing DSP signals a bit
challenging, but is often worth the effort.

mikedunn

--- Yasser Attarizzi <y_attar@y_at...> wrote:

>
> hello mike
> unfotunately i the code composer can't initialize
> the DSP and i did
> everything that i think. the xdsprobe say that the
> IR length is 8bit.
> i have jtag boundary scan board and it can detect
> the DSP and say that the
> IR length is 4bit i don't know what is the reason???
>
> please help me.
> thanks alot
> yasser
>
> >From: Mike Dunn <mike-dunn@mike...>
> >To: Yasser Attarizzi <y_attar@y_at...>
> >CC: c6x@c6x@...
> >Subject: Re: [c6x] xds510 jtag emulator
> >Date: Thu, 27 Oct 2005 07:17:28 -0700 (PDT)
> >
> >Yasser,
> >
> >Please see my answers below.
> >
> >mikedunn
> >
> >--- Yasser Attarizzi <y_attar@y_at...> wrote:
> >
> > >
> > > hi mike
> > > yes the error message is what you said
> > > Is the state of bootmode pins important for
> jtag
> > > emulation to start?
> ><mike>I have had trouble in the past with c6201
> >devices when the pins were configured for 'host
> boot'.
> > I would suggest that you start with 00101 [no
> boot,
> >map1]. If you are still having trouble with CCS
> >coming up, apply a hardware reset [I hope that you
> >have a reset button] and keep it applied. Open CCS
> >and when you see the 'splash screen', let it go.
> Try
> >it a few times to see if it helps.
> >
> > > all of them are 0.
> ><mike>does that mean that nothing is connected to
> the
> >pins or are they all grounded??
> >
> > >I know that's not allowed but I
> > > didn't know that the
> > > state of bootmode pins are important but I can
> > > change their state .
> ><mike> Anytime that you are making connections to a
> >device, ALWAYS select a 'legal' configuration. If
> the
> >documentation says that something is reserved or
> >illegal then "do not do it". BTW, 00000 is a legal
> >configuration.
> > >what state they have to be?
> > >
> > > thannks alot
> > > yasser
> > >
> > >
> > > >From: Mike Dunn <mike-dunn@mike...>
> > > >To: Yasser Attarizzi <y_attar@y_at...>
> > > >CC: c6x@c6x@...
> > > >Subject: Re: [c6x] xds510 jtag emulator
> > > >Date: Wed, 26 Oct 2005 12:51:42 -0700 (PDT)
> > > >
> > > >Yasser,
> > > >
> > > >Some current increase while bring up CCS is
> normal
> > > - I
> > > >am not sure what the typical amount of current
> > > >increase might be.
> > > >
> > > >I assume that you have configured CCS for a
> 620x
> > > >target device.
> > > >
> > > >What error message do you get from CCS - I
> suspect
> > > >that it is "can't initialize target".
> > > >
> > > >What is the configuration of yout 'boot mode
> > > pins'??
> > > >
> > > >,mikedunn
> > > >--- Yasser Attarizzi <y_attar@y_at...>
> wrote:
> > > >
> > > > >
> > > > > hi mike
> > > > >
> > > > > thanks for very helpfull advices
> > > > >
> > > > > i have pulled up EMU0/1 with 4.7k resistors
> now
> > > i
> > > > > changed the resistor to
> > > > > 20k and furthermore I see that there is
> ripple
> > > in
> > > > > the 3.3v i add capasitor
> > > > > to the vcc and ripple decreased
> > > > > nor that commands said that IR length is
> 8bit
> > > and DR
> > > > > length is 1 bit, what
> > > > > is ur idea?
> > > > > furtheremore after Isaw that the IR length
> is
> > > > > changed I start code composer
> > > > > studio hopping that it detect the IC but it
> > > didn't
> > > > > and the current increases
> > > > > about 100mA.
> > > > >
> > > > > thanks
> > > > >
> > > > > yasser
> > > > >
> > > > > >From: Mike Dunn <mike-dunn@mike...>
> > > > > >To: Yasser Attarizzi <y_attar@y_at...>,
> > > > > c6x@c6x@...
> > > > > >Subject: Re: [c6x] xds510 jtag emulator
> > > > > >Date: Wed, 26 Oct 2005 06:23:03 -0700 (PDT)
> > > > > >
> > > > > >Hello Yasser,
> > > > > >
> > > > > >I have good news and bad news [hopefully
> not
> > > too
> > > > > bad].
> > > > > >The good news is that your JTAG scan path
> is
> > > > > working
> > > > > >properly - the bad news is that your 6201
> is
> > > not
> > > > > >coming up in "emulation mode".
> > > > > >
> > > > > >The key indicator
> > > > > >"The JTAG IR instruction scan-path length
> is 4
> > > > > bits."
> > > > > >should show 8 bits instead of 4. There are
> two
> > > > > >possible causes that I am aware of [I hope
> that
> > > it
> > > > > is
> > > > > >#1]:
> > > > > >1. EMU0/1 [JTAG connector pins 13 & 14] are
> not
> > > > > pulled
> > > > > >up to 3.3v with a 10-20k ohm resistor.
> Ideally
> > > you
> > > > > >should check these with a scope - or, if
> you
> > > have
> > > > > some
> > > > > >'old fashion' wire lead resistors and some
> > > jumper
> > > > > >wires, you could connect connect resistors
> pin
> > > 5
> > > > > -->
> > > > > >13 and pin 5 --> 14.
> > > > > >2. The reserved pins are not configured
> > > properly.
> > > > > >
> > > > > >Let us know what happens.
> > > > > >
> > > > > >mikedunn
> > > > > >
> > > > > >----reply from Yasser----
> > > > > >hi
> > > > > >thanks mike
> > > > > >i did what you told me and found out lot of
> > > things
> > > > > >about the jtag
> > > > > >here the output of that commanns:
> > > > > >
> > > > > >This utility is named `XDSPROBE'.
> > > > > >It is used to probe scan-controllers and
> > > > > scan-paths.
> > > > > >It uses Release-3 of the Unified-SCIF
> stack.
> > > > > >
> > > > > >It is version `3.01.07'.
> > > > > >It is dated `Apr 10 2001'.
> > > > > >It is Copyright (c) 1990-2001 by Texas
> > > Instruments
> > > > > >Incorporated.
>
=== message truncated ===



hello mike
finally the jtag emulator detect my board but it is very unreliable because
when it detect the board it can't reset it in some times. I tried to load a
program but the error saying that data verification failed accured. some
times it said that endiannes is not compatible and sometimes the error
saying that memory map is not compatible occured. is it likely that this
errors because of reserved pins? I mean is the satate of these pin are
sampled at the reset or their state is important all the time?
BTW we decided to build another board and I decided to learn protel to be
able to underestand what the PCB designer do I underestood that there is a
tools called annotate in the protel that prevent to component have the same
name and tow component have the same name one of them is deleted in the PCB
he forgot to annotate the board and I use resistor for RSV pins with the
same as some other pins and protel delete them.

thanks

Yasser

>From: Mike Dunn <mike-dunn@mike...>
>To: Yasser Attarizzi <y_attar@y_at...>
>CC: c6x@c6x@...
>Subject: Re: [c6x] xds510 jtag emulator
>Date: Mon, 31 Oct 2005 05:29:23 -0800 (PST)
>
>Hello Yasser,
>
>The c6201 contains 2 separate JTAG TAPs [test access
>ports]. The emulation TAP has an 8 bit IR and has a
>special emualtion command set. The boundary scan TAP
>has 4 bits and executes basic boundary scan
>instructions.
>
>When the device is initialized with EMU0 & 1 held
>high, the emulation port is selected. If EMU0 & 1 are
>held low, the boundary scan port is selected.
>
>I will repeat myself - if you do not have the correct
>selection of reserved pins tied high and low, per the
>data sheet, the part will not work correctly.
>
>Also, a tip that will not help you this time, but may
>help others -
>Anytime that you are using a BGA device for the first
>time, especially if you lack experience system design,
>I suggest providing access to as many signals as
>possible. If your PCB fabricator has the capability,
>microvias through the ball pads will provide scope
>access. The other alternative is putting vias next to
>the pads. This can make routing DSP signals a bit
>challenging, but is often worth the effort.
>
>mikedunn
>
>--- Yasser Attarizzi <y_attar@y_at...> wrote:
>
> >
> > hello mike
> > unfotunately i the code composer can't initialize
> > the DSP and i did
> > everything that i think. the xdsprobe say that the
> > IR length is 8bit.
> > i have jtag boundary scan board and it can detect
> > the DSP and say that the
> > IR length is 4bit i don't know what is the reason???
> >
> > please help me.
> > thanks alot
> > yasser
> >
> > >From: Mike Dunn <mike-dunn@mike...>
> > >To: Yasser Attarizzi <y_attar@y_at...>
> > >CC: c6x@c6x@...
> > >Subject: Re: [c6x] xds510 jtag emulator
> > >Date: Thu, 27 Oct 2005 07:17:28 -0700 (PDT)
> > >
> > >Yasser,
> > >
> > >Please see my answers below.
> > >
> > >mikedunn
> > >
> > >--- Yasser Attarizzi <y_attar@y_at...> wrote:
> > >
> > > >
> > > > hi mike
> > > > yes the error message is what you said
> > > > Is the state of bootmode pins important for
> > jtag
> > > > emulation to start?
> > ><mike>I have had trouble in the past with c6201
> > >devices when the pins were configured for 'host
> > boot'.
> > > I would suggest that you start with 00101 [no
> > boot,
> > >map1]. If you are still having trouble with CCS
> > >coming up, apply a hardware reset [I hope that you
> > >have a reset button] and keep it applied. Open CCS
> > >and when you see the 'splash screen', let it go.
> > Try
> > >it a few times to see if it helps.
> > >
> > > > all of them are 0.
> > ><mike>does that mean that nothing is connected to
> > the
> > >pins or are they all grounded??
> > >
> > > >I know that's not allowed but I
> > > > didn't know that the
> > > > state of bootmode pins are important but I can
> > > > change their state .
> > ><mike> Anytime that you are making connections to a
> > >device, ALWAYS select a 'legal' configuration. If
> > the
> > >documentation says that something is reserved or
> > >illegal then "do not do it". BTW, 00000 is a legal
> > >configuration.
> > > >what state they have to be?
> > > >
> > > > thannks alot
> > > > yasser
> > > >
> > > >
> > > > >From: Mike Dunn <mike-dunn@mike...>
> > > > >To: Yasser Attarizzi <y_attar@y_at...>
> > > > >CC: c6x@c6x@...
> > > > >Subject: Re: [c6x] xds510 jtag emulator
> > > > >Date: Wed, 26 Oct 2005 12:51:42 -0700 (PDT)
> > > > >
> > > > >Yasser,
> > > > >
> > > > >Some current increase while bring up CCS is
> > normal
> > > > - I
> > > > >am not sure what the typical amount of current
> > > > >increase might be.
> > > > >
> > > > >I assume that you have configured CCS for a
> > 620x
> > > > >target device.
> > > > >
> > > > >What error message do you get from CCS - I
> > suspect
> > > > >that it is "can't initialize target".
> > > > >
> > > > >What is the configuration of yout 'boot mode
> > > > pins'??
> > > > >
> > > > >,mikedunn
> > > > >--- Yasser Attarizzi <y_attar@y_at...>
> > wrote:
> > > > >
> > > > > >
> > > > > > hi mike
> > > > > >
> > > > > > thanks for very helpfull advices
> > > > > >
> > > > > > i have pulled up EMU0/1 with 4.7k resistors
> > now
> > > > i
> > > > > > changed the resistor to
> > > > > > 20k and furthermore I see that there is
> > ripple
> > > > in
> > > > > > the 3.3v i add capasitor
> > > > > > to the vcc and ripple decreased
> > > > > > nor that commands said that IR length is
> > 8bit
> > > > and DR
> > > > > > length is 1 bit, what
> > > > > > is ur idea?
> > > > > > furtheremore after Isaw that the IR length
> > is
> > > > > > changed I start code composer
> > > > > > studio hopping that it detect the IC but it
> > > > didn't
> > > > > > and the current increases
> > > > > > about 100mA.
> > > > > >
> > > > > > thanks
> > > > > >
> > > > > > yasser
> > > > > >
> > > > > > >From: Mike Dunn <mike-dunn@mike...>
> > > > > > >To: Yasser Attarizzi <y_attar@y_at...>,
> > > > > > c6x@c6x@...
> > > > > > >Subject: Re: [c6x] xds510 jtag emulator
> > > > > > >Date: Wed, 26 Oct 2005 06:23:03 -0700 (PDT)
> > > > > > >
> > > > > > >Hello Yasser,
> > > > > > >
> > > > > > >I have good news and bad news [hopefully
> > not
> > > > too
> > > > > > bad].
> > > > > > >The good news is that your JTAG scan path
> > is
> > > > > > working
> > > > > > >properly - the bad news is that your 6201
> > is
> > > > not
> > > > > > >coming up in "emulation mode".
> > > > > > >
> > > > > > >The key indicator
> > > > > > >"The JTAG IR instruction scan-path length
> > is 4
> > > > > > bits."
> > > > > > >should show 8 bits instead of 4. There are
> > two
> > > > > > >possible causes that I am aware of [I hope
> > that
> > > > it
> > > > > > is
> > > > > > >#1]:
> > > > > > >1. EMU0/1 [JTAG connector pins 13 & 14] are
> > not
> > > > > > pulled
> > > > > > >up to 3.3v with a 10-20k ohm resistor.
> > Ideally
> > > > you
> > > > > > >should check these with a scope - or, if
> > you
> > > > have
> > > > > > some
> > > > > > >'old fashion' wire lead resistors and some
> > > > jumper
> > > > > > >wires, you could connect connect resistors
> > pin
> > > > 5
> > > > > > -->
> > > > > > >13 and pin 5 --> 14.
> > > > > > >2. The reserved pins are not configured
> > > > properly.
> > > > > > >
> > > > > > >Let us know what happens.
> > > > > > >
> > > > > > >mikedunn
> > > > > > >
> > > > > > >----reply from Yasser----
> > > > > > >hi
> > > > > > >thanks mike
> > > > > > >i did what you told me and found out lot of
> > > > things
> > > > > > >about the jtag
> > > > > > >here the output of that commanns:
> > > > > > >
> > > > > > >This utility is named `XDSPROBE'.
> > > > > > >It is used to probe scan-controllers and
> > > > > > scan-paths.
> > > > > > >It uses Release-3 of the Unified-SCIF
> > stack.
> > > > > > >
> > > > > > >It is version `3.01.07'.
> > > > > > >It is dated `Apr 10 2001'.
> > > > > > >It is Copyright (c) 1990-2001 by Texas
> > > > Instruments
> > > > > > >Incorporated.
> >
>=== message truncated ===

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/