DSPRelated.com
Forums

CCS and JTAG help

Started by T a h i r September 12, 2006
Hi,
I am trying to connect my custom board using CCS3.0
tunning version and external jtag emulator but found
an error that "Can't initialize the target CPU".

My configuration are:
-Custom board, C6414, 400MHz,
-Win2k platform.
-Spectrum digital emulator XDS510PP plus emulator.

SDCconfig utility, shipped with the emulator can
verify, test and complete the JTAG scan path without
any error. but when i try to connect my board with
this emulator using CCS 3.0 full version, error
display: Can't initialize target CPU:
Target initialization failed. Check target power, and
JTAG connnection. I/O port = 378.

CCS setup:
-I use "Auto generated board data file"
-I/O port 0x378
-Available processor: TMS320C64xx
-GEL file: DSPC641x.gel (Please guide me if any
modification is required to tackle this error).

Do i have to switch from scan mode to emulation mode
but how, I don't know. I have studied the
documentaiton related to the emulation setup but no
one refer to this error. I also check the Reset signal
and it become low at the start of code composer studio
and then high again.

Please tell me which step i m missing?

Thanks.

Send instant messages to your online friends http://uk.messenger.yahoo.com
Tahir-

> I am trying to connect my custom board using CCS3.0
> tunning version and external jtag emulator but found
> an error that "Can't initialize the target CPU".
>
> My configuration are:
> -Custom board, C6414, 400MHz,
> -Win2k platform.
> -Spectrum digital emulator XDS510PP plus emulator.
>
> SDCconfig utility, shipped with the emulator can
> verify, test and complete the JTAG scan path without
> any error. but when i try to connect my board with
> this emulator using CCS 3.0 full version, error
> display: Can't initialize target CPU:
> Target initialization failed. Check target power, and
> JTAG connnection. I/O port = 378.
>
> CCS setup:
> -I use "Auto generated board data file"
> -I/O port 0x378
> -Available processor: TMS320C64xx
> -GEL file: DSPC641x.gel (Please guide me if any
> modification is required to tackle this error).
>
> Do i have to switch from scan mode to emulation mode
> but how, I don't know.

No you're fine there -- if you can pass SDConfig then CCS should start. Possible
reasons why not are hardware (see comments below) and driver selection. Also you can
try the XDSProbe.exe utility -- a more thorough JTAG test than SDConfig.

> I have studied the
> documentaiton related to the emulation setup but no
> one refer to this error. I also check the Reset signal
> and it become low at the start of code composer studio
> and then high again.

Ok this is some clue. Why would Reset signal go low? Is your board doing that? CCS
can't force Reset low; it's an input signal. JTAG circuitry may be able to tri-state
Reset on CCS start-up, but even then your board needs to have Reset driven high (i.e.
NOT in Reset). Short answer: your board has to release Reset (drive it high) prior
to starting CCS.

-Jeff
It may be worth trying to hit Reset button and connecting to the board at
the same time, as far as humanly possible.

--Bhooshan
On 9/13/06, Jeff Brower wrote:
>
> Tahir-
>
> > I am trying to connect my custom board using CCS3.0
> > tunning version and external jtag emulator but found
> > an error that "Can't initialize the target CPU".
> >
> > My configuration are:
> > -Custom board, C6414, 400MHz,
> > -Win2k platform.
> > -Spectrum digital emulator XDS510PP plus emulator.
> >
> > SDCconfig utility, shipped with the emulator can
> > verify, test and complete the JTAG scan path without
> > any error. but when i try to connect my board with
> > this emulator using CCS 3.0 full version, error
> > display: Can't initialize target CPU:
> > Target initialization failed. Check target power, and
> > JTAG connnection. I/O port = 378.
> >
> > CCS setup:
> > -I use "Auto generated board data file"
> > -I/O port 0x378
> > -Available processor: TMS320C64xx
> > -GEL file: DSPC641x.gel (Please guide me if any
> > modification is required to tackle this error).
> >
> > Do i have to switch from scan mode to emulation mode
> > but how, I don't know.
>
> No you're fine there -- if you can pass SDConfig then CCS should start.
> Possible
> reasons why not are hardware (see comments below) and driver selection.
> Also you can
> try the XDSProbe.exe utility -- a more thorough JTAG test than SDConfig.
>
> > I have studied the
> > documentaiton related to the emulation setup but no
> > one refer to this error. I also check the Reset signal
> > and it become low at the start of code composer studio
> > and then high again.
>
> Ok this is some clue. Why would Reset signal go low? Is your board doing
> that? CCS
> can't force Reset low; it's an input signal. JTAG circuitry may be able to
> tri-state
> Reset on CCS start-up, but even then your board needs to have Reset driven
> high (i.e.
> NOT in Reset). Short answer: your board has to release Reset (drive it
> high) prior
> to starting CCS.
>
> -Jeff
>

--
-------------------------------
"I've missed more than 9000 shots in my career.
I've lost almost 300 games. 26 times I've been trusted to take the game
winning shot and missed.
I've failed over and over again in my life.
And that is why I succeed."
-- Michael Jordan
--------------------------------
Hi,
Thanks Jeff and Bhooshan for your kind answer.

1- I am using the driver sdgo6400.dvr for the XDS510PP
plus emulator.
2- I also try to connect the DSK board (Spectrum
digital) C6416 processor or 1GHz, using external JTAG
emulation port with the same configuration, i.e.
- sdgo6400.dvr driver for the emulator.
- 0x378 port
- available processor = TMS320C64x
- GEL file : DSKC6416.gel

Then I run the sdconfig utility and verify, test and
diagnose the processor, the following result displays
in the output window of sdconfig utility:

** Checking emulator/eZdsp scan connection

** Emulator Test **
$$ EmuProductName=XDS510PP_PLUS
$$ EmuPortAddr=0x3bc
$$ EmuPortMode=SPP8
$$ ProductId
$$ ProductVersion
Emulator Scan Test
-- Found JTAG IR length of 38
-- Found 1 JTAG device(s) in the scan chain
*******************
Now I try to connect the DSK with CCS3.0 and same
error message shown "Can't initialize the target CPU".

For the test and reference purpose, i install the usb
emulation driver for this DSK (usb based embeded
emulation) and try to connect with CCS and the same
error message display. I open CCS3.1 DSK version and
it performs usb enumeration and successfully connect
with the dsk on usb prot.
After this, i sotp CCS3.1 application and run CCS 3.0
and it also successfully connect with the DSK. The DSK
documentation tell me that it
first start in scan mode and then go in emulation
mode. Thats why i am asking to you for this.

Jeff told me to use xdsprobe utility. Is xdsprobe
utility will work for this emulator? then plz give me
a little quick start commands help.

The reset signal is not low, it just go to low for
very fraction of time and then become high. Following
is the TRST behaviour:
-TRST low when i give power to board.
-TRST become high when i reset emulator.
-TRST become low when i run jtag scan test and after
reseting emulator, it go in high state.
-During diagnostic scan pattern: low and high for each
no. of step.
-on ccs start it is high mean processor is in active
state.

I know i m missing very basic thing and there is just
one click only.
Looking for your kind help and response.

Thanks.
--- Bhooshan Iyer wrote:

> It may be worth trying to hit Reset button and
> connecting to the board at
> the same time, as far as humanly possible.
>
> --Bhooshan
> On 9/13/06, Jeff Brower
> wrote:
> >
> > Tahir-
> >
> > > I am trying to connect my custom board using
> CCS3.0
> > > tunning version and external jtag emulator but
> found
> > > an error that "Can't initialize the target CPU".
> > >
> > > My configuration are:
> > > -Custom board, C6414, 400MHz,
> > > -Win2k platform.
> > > -Spectrum digital emulator XDS510PP plus
> emulator.
> > >
> > > SDCconfig utility, shipped with the emulator can
> > > verify, test and complete the JTAG scan path
> without
> > > any error. but when i try to connect my board
> with
> > > this emulator using CCS 3.0 full version, error
> > > display: Can't initialize target CPU:
> > > Target initialization failed. Check target
> power, and
> > > JTAG connnection. I/O port = 378.
> > >
> > > CCS setup:
> > > -I use "Auto generated board data file"
> > > -I/O port 0x378
> > > -Available processor: TMS320C64xx
> > > -GEL file: DSPC641x.gel (Please guide me if any
> > > modification is required to tackle this error).
> > >
> > > Do i have to switch from scan mode to emulation
> mode
> > > but how, I don't know.
> >
> > No you're fine there -- if you can pass SDConfig
> then CCS should start.
> > Possible
> > reasons why not are hardware (see comments below)
> and driver selection.
> > Also you can
> > try the XDSProbe.exe utility -- a more thorough
> JTAG test than SDConfig.
> >
> > > I have studied the
> > > documentaiton related to the emulation setup but
> no
> > > one refer to this error. I also check the Reset
> signal
> > > and it become low at the start of code composer
> studio
> > > and then high again.
> >
> > Ok this is some clue. Why would Reset signal go
> low? Is your board doing
> > that? CCS
> > can't force Reset low; it's an input signal. JTAG
> circuitry may be able to
> > tri-state
> > Reset on CCS start-up, but even then your board
> needs to have Reset driven
> > high (i.e.
> > NOT in Reset). Short answer: your board has to
> release Reset (drive it
> > high) prior
> > to starting CCS.
> >
> > -Jeff
> >
> >
> > --
In c:\ti\cc\bin there are several cfg's, I think you can try:

xdsprobe.xe -i -f epp.cfg

I have tried this command with xds560, so it may work for you.

Regds
JS

-----Original Message-----
From: c... [mailto:c...] On Behalf Of T a h i
r
Sent: Thursday, September 14, 2006 5:23 AM
To: c...
Subject: Re: [c6x] CCS and JTAG help

Hi,
Thanks Jeff and Bhooshan for your kind answer.

1- I am using the driver sdgo6400.dvr for the XDS510PP
plus emulator.
2- I also try to connect the DSK board (Spectrum
digital) C6416 processor or 1GHz, using external JTAG
emulation port with the same configuration, i.e.
- sdgo6400.dvr driver for the emulator.
- 0x378 port
- available processor = TMS320C64x
- GEL file : DSKC6416.gel

Then I run the sdconfig utility and verify, test and
diagnose the processor, the following result displays
in the output window of sdconfig utility:

** Checking emulator/eZdsp scan connection

** Emulator Test **
$$ EmuProductName=XDS510PP_PLUS
$$ EmuPortAddr=0x3bc
$$ EmuPortMode=SPP8
$$ ProductId
$$ ProductVersion
Emulator Scan Test
-- Found JTAG IR length of 38
-- Found 1 JTAG device(s) in the scan chain
*******************
Now I try to connect the DSK with CCS3.0 and same
error message shown "Can't initialize the target CPU".

For the test and reference purpose, i install the usb
emulation driver for this DSK (usb based embeded
emulation) and try to connect with CCS and the same
error message display. I open CCS3.1 DSK version and
it performs usb enumeration and successfully connect
with the dsk on usb prot.
After this, i sotp CCS3.1 application and run CCS 3.0
and it also successfully connect with the DSK. The DSK
documentation tell me that it
first start in scan mode and then go in emulation
mode. Thats why i am asking to you for this.

Jeff told me to use xdsprobe utility. Is xdsprobe
utility will work for this emulator? then plz give me
a little quick start commands help.

The reset signal is not low, it just go to low for
very fraction of time and then become high. Following
is the TRST behaviour:
-TRST low when i give power to board.
-TRST become high when i reset emulator.
-TRST become low when i run jtag scan test and after
reseting emulator, it go in high state.
-During diagnostic scan pattern: low and high for each
no. of step.
-on ccs start it is high mean processor is in active
state.

I know i m missing very basic thing and there is just
one click only.
Looking for your kind help and response.

Thanks.
--- Bhooshan Iyer wrote:

> It may be worth trying to hit Reset button and
> connecting to the board at
> the same time, as far as humanly possible.
>
> --Bhooshan
> On 9/13/06, Jeff Brower
> wrote:
> >
> > Tahir-
> >
> > > I am trying to connect my custom board using
> CCS3.0
> > > tunning version and external jtag emulator but
> found
> > > an error that "Can't initialize the target CPU".
> > >
> > > My configuration are:
> > > -Custom board, C6414, 400MHz,
> > > -Win2k platform.
> > > -Spectrum digital emulator XDS510PP plus
> emulator.
> > >
> > > SDCconfig utility, shipped with the emulator can
> > > verify, test and complete the JTAG scan path
> without
> > > any error. but when i try to connect my board
> with
> > > this emulator using CCS 3.0 full version, error
> > > display: Can't initialize target CPU:
> > > Target initialization failed. Check target
> power, and
> > > JTAG connnection. I/O port = 378.
> > >
> > > CCS setup:
> > > -I use "Auto generated board data file"
> > > -I/O port 0x378
> > > -Available processor: TMS320C64xx
> > > -GEL file: DSPC641x.gel (Please guide me if any
> > > modification is required to tackle this error).
> > >
> > > Do i have to switch from scan mode to emulation
> mode
> > > but how, I don't know.
> >
> > No you're fine there -- if you can pass SDConfig
> then CCS should start.
> > Possible
> > reasons why not are hardware (see comments below)
> and driver selection.
> > Also you can
> > try the XDSProbe.exe utility -- a more thorough
> JTAG test than SDConfig.
> >
> > > I have studied the
> > > documentaiton related to the emulation setup but
> no
> > > one refer to this error. I also check the Reset
> signal
> > > and it become low at the start of code composer
> studio
> > > and then high again.
> >
> > Ok this is some clue. Why would Reset signal go
> low? Is your board doing
> > that? CCS
> > can't force Reset low; it's an input signal. JTAG
> circuitry may be able to
> > tri-state
> > Reset on CCS start-up, but even then your board
> needs to have Reset driven
> > high (i.e.
> > NOT in Reset). Short answer: your board has to
> release Reset (drive it
> > high) prior
> > to starting CCS.
> >
> > -Jeff
> >
> >
> > --
Hi,
I try this command mentioned by sankaran but there is
no response on command prompt and it held there. I
also use
xdsprobe -i -f spp.cfg
and got the same response.
Then i try
xdsprobe -i -F
and the error display:
---[An error has occurred and this utility has
aborted]---------

This error is generated by TI's USCIF driver.

The error's value is: `-180'.
The error's title is: `SC_ERR_CTL_NO_TRG_POWER'.

The error's explanation is:
The controller has detected a target power loss.
The user may have failed to turn-on or connect its
source.
-----------
But at the same time, sdconfig is working.

I also test my emu0 and emu1 pin on JTAG header and
figure out that emu0 remains low while emu1 pin
becomes high during testing or diagnostic patterns.

In epp.cfg and spp.cfg file I found out that the
pod_driver is:
[POD_DRVR] 'dsk6x11pp.dll'
Do I have to use anyother dll for C64x processor or it
will work for my setup.

Thanks to all of you and looking for more help.

Bye.
--- sankaran wrote:

> In c:\ti\cc\bin there are several cfg's, I think you
> can try:
>
> xdsprobe.xe -i -f epp.cfg
>
> I have tried this command with xds560, so it may
> work for you.
>
> Regds
> JS
>
> -----Original Message-----
> From: c...
> [mailto:c...] On Behalf Of T a h i
> r
> Sent: Thursday, September 14, 2006 5:23 AM
> To: c...
> Subject: Re: [c6x] CCS and JTAG help
>
> Hi,
> Thanks Jeff and Bhooshan for your kind answer.
>
> 1- I am using the driver sdgo6400.dvr for the
> XDS510PP
> plus emulator.
> 2- I also try to connect the DSK board (Spectrum
> digital) C6416 processor or 1GHz, using external
> JTAG
> emulation port with the same configuration, i.e.
> - sdgo6400.dvr driver for the emulator.
> - 0x378 port
> - available processor = TMS320C64x
> - GEL file : DSKC6416.gel
>
> Then I run the sdconfig utility and verify, test and
> diagnose the processor, the following result
> displays
> in the output window of sdconfig utility:
>
> ** Checking emulator/eZdsp scan connection
>
> ** Emulator Test **
> $$ EmuProductName=XDS510PP_PLUS
> $$ EmuPortAddr=0x3bc
> $$ EmuPortMode=SPP8
> $$ ProductId
> $$ ProductVersion
> Emulator Scan Test
> -- Found JTAG IR length of 38
> -- Found 1 JTAG device(s) in the scan chain
> *******************
> Now I try to connect the DSK with CCS3.0 and same
> error message shown "Can't initialize the target
> CPU".
>
> For the test and reference purpose, i install the
> usb
> emulation driver for this DSK (usb based embeded
> emulation) and try to connect with CCS and the same
> error message display. I open CCS3.1 DSK version and
> it performs usb enumeration and successfully connect
> with the dsk on usb prot.
> After this, i sotp CCS3.1 application and run CCS
> 3.0
> and it also successfully connect with the DSK. The
> DSK
> documentation tell me that it
> first start in scan mode and then go in emulation
> mode. Thats why i am asking to you for this.
>
> Jeff told me to use xdsprobe utility. Is xdsprobe
> utility will work for this emulator? then plz give
> me
> a little quick start commands help.
>
> The reset signal is not low, it just go to low for
> very fraction of time and then become high.
> Following
> is the TRST behaviour:
> -TRST low when i give power to board.
> -TRST become high when i reset emulator.
> -TRST become low when i run jtag scan test and after
> reseting emulator, it go in high state.
> -During diagnostic scan pattern: low and high for
> each
> no. of step.
> -on ccs start it is high mean processor is in active
> state.
>
> I know i m missing very basic thing and there is
> just
> one click only.
> Looking for your kind help and response.
>
> Thanks.
> --- Bhooshan Iyer wrote:
>
> > It may be worth trying to hit Reset button and
> > connecting to the board at
> > the same time, as far as humanly possible.
> >
> > --Bhooshan
> >
> >
> > On 9/13/06, Jeff Brower
> > wrote:
> > >
> > > Tahir-
> > >
> > > > I am trying to connect my custom board using
> > CCS3.0
> > > > tunning version and external jtag emulator but
> > found
> > > > an error that "Can't initialize the target
> CPU".
> > > >
> > > > My configuration are:
> > > > -Custom board, C6414, 400MHz,
> > > > -Win2k platform.
> > > > -Spectrum digital emulator XDS510PP plus
> > emulator.
> > > >
> > > > SDCconfig utility, shipped with the emulator
> can
> > > > verify, test and complete the JTAG scan path
> > without
> > > > any error. but when i try to connect my board
> > with
> > > > this emulator using CCS 3.0 full version,
> error
> > > > display: Can't initialize target CPU:
> > > > Target initialization failed. Check target
> > power, and
> > > > JTAG connnection. I/O port = 378.
> > > >
> > > > CCS setup:
> > > > -I use "Auto generated board data file"
> > > > -I/O port 0x378
> > > > -Available processor: TMS320C64xx
> > > > -GEL file: DSPC641x.gel (Please guide me if
> any
> > > > modification is required to tackle this
> error).
> > > >
> > > > Do i have to switch from scan mode to
> emulation
> > mode
> > > > but how, I don't know.
> > >
> > > No you're fine there -- if you can pass SDConfig
> > then CCS should start.
> > > Possible
> > > reasons why not are hardware (see comments
> below)
> > and driver selection.
> > > Also you can
> > > try the XDSProbe.exe utility -- a more thorough
> > JTAG test than SDConfig.
> > >
> > > > I have studied the
> > > > documentaiton related to the emulation setup
> but
> > no
> > > > one refer to this error. I also check the
> Reset
> > signal
> > > > and it become low at the start of code
> composer
> > studio
> > > > and then high again.
> > >
> > > Ok this is some clue. Why would Reset signal go
> > low? Is your board doing
> > > that? CCS
> > > can't force Reset low; it's an input signal.
> JTAG
> > circuitry may be able to
> > > tri-state
> > > Reset on CCS start-up, but even then your board
> > needs to have Reset driven
> > > high (i.e.
> > > NOT in Reset). Short answer: your board has to
> > release Reset (drive it
> > > high) prior
> > > to starting CCS.
> > >
> > > -Jeff
> > >
> > >
> > >
> >
> >
> >
> > --
>
Tahir-

> The reset signal is not low, it just go to low for
> very fraction of time and then become high.

What is the "fraction"? You need to make a dig scope measurement and be
exact. Minimum Reset signal time for a 641x device I believe is less than
1 usec.

Again, Reset signal should not go low *for any reason* at CCS start-up.
If it does, it means your board is not driving Reset signal high, or there
is some other hardware problem.

Reset signal issues are one of the leading causes of "why SDConfig works
but CCS doesn't".

Tahir you need to fix this first. You are getting confused by looking at
emulator, software issues etc and avoiding the obvious problem. That's my
last post on this thread until you can get it fixed.

-Jeff

> Following
> is the TRST behaviour:
> -TRST low when i give power to board.
> -TRST become high when i reset emulator.
> -TRST become low when i run jtag scan test and after
> reseting emulator, it go in high state.
> -During diagnostic scan pattern: low and high for each
> no. of step.
> -on ccs start it is high mean processor is in active
> state.
>
> I know i m missing very basic thing and there is just
> one click only.
> Looking for your kind help and response.
>
> Thanks.
> --- Bhooshan Iyer wrote:
>
>> It may be worth trying to hit Reset button and
>> connecting to the board at
>> the same time, as far as humanly possible.
>>
>> --Bhooshan
>> On 9/13/06, Jeff Brower
>> wrote:
>> >
>> > Tahir-
>> >
>> > > I am trying to connect my custom board using
>> CCS3.0
>> > > tunning version and external jtag emulator but
>> found
>> > > an error that "Can't initialize the target CPU".
>> > >
>> > > My configuration are:
>> > > -Custom board, C6414, 400MHz,
>> > > -Win2k platform.
>> > > -Spectrum digital emulator XDS510PP plus
>> emulator.
>> > >
>> > > SDCconfig utility, shipped with the emulator can
>> > > verify, test and complete the JTAG scan path
>> without
>> > > any error. but when i try to connect my board
>> with
>> > > this emulator using CCS 3.0 full version, error
>> > > display: Can't initialize target CPU:
>> > > Target initialization failed. Check target
>> power, and
>> > > JTAG connnection. I/O port = 378.
>> > >
>> > > CCS setup:
>> > > -I use "Auto generated board data file"
>> > > -I/O port 0x378
>> > > -Available processor: TMS320C64xx
>> > > -GEL file: DSPC641x.gel (Please guide me if any
>> > > modification is required to tackle this error).
>> > >
>> > > Do i have to switch from scan mode to emulation
>> mode
>> > > but how, I don't know.
>> >
>> > No you're fine there -- if you can pass SDConfig
>> then CCS should start.
>> > Possible
>> > reasons why not are hardware (see comments below)
>> and driver selection.
>> > Also you can
>> > try the XDSProbe.exe utility -- a more thorough
>> JTAG test than SDConfig.
>> >
>> > > I have studied the
>> > > documentaiton related to the emulation setup but
>> no
>> > > one refer to this error. I also check the Reset
>> signal
>> > > and it become low at the start of code composer
>> studio
>> > > and then high again.
>> >
>> > Ok this is some clue. Why would Reset signal go
>> low? Is your board doing
>> > that? CCS
>> > can't force Reset low; it's an input signal. JTAG
>> circuitry may be able to
>> > tri-state
>> > Reset on CCS start-up, but even then your board
>> needs to have Reset driven
>> > high (i.e.
>> > NOT in Reset). Short answer: your board has to
>> release Reset (drive it
>> > high) prior
>> > to starting CCS.
>> >
>> > -Jeff
Hi,
Thanks a lot Jeff Brower and all the other members of
this group, for their kind help and guidance. I didn't
get this type of help from TI and Spectrum digital
companies who are supposed to provide full help for
their products.

My problem has solved and finally I connect it with
CCS3. Now I am facing some other problem of RTDX but I
will try to solve it out on monday. Right now I am
enjoying my weedend.

Thanks a lot once again.

Bye.

--- Jeff Brower wrote:

> Tahir-
>
> > The reset signal is not low, it just go to low for
> > very fraction of time and then become high.
>
> What is the "fraction"? You need to make a dig
> scope measurement and be
> exact. Minimum Reset signal time for a 641x device
> I believe is less than
> 1 usec.
>
> Again, Reset signal should not go low *for any
> reason* at CCS start-up.
> If it does, it means your board is not driving Reset
> signal high, or there
> is some other hardware problem.
>
> Reset signal issues are one of the leading causes of
> "why SDConfig works
> but CCS doesn't".
>
> Tahir you need to fix this first. You are getting
> confused by looking at
> emulator, software issues etc and avoiding the
> obvious problem. That's my
> last post on this thread until you can get it fixed.
>
> -Jeff
>
> > Following
> > is the TRST behaviour:
> > -TRST low when i give power to board.
> > -TRST become high when i reset emulator.
> > -TRST become low when i run jtag scan test and
> after
> > reseting emulator, it go in high state.
> > -During diagnostic scan pattern: low and high for
> each
> > no. of step.
> > -on ccs start it is high mean processor is in
> active
> > state.
> >
> > I know i m missing very basic thing and there is
> just
> > one click only.
> > Looking for your kind help and response.
> >
> > Thanks.
> >
> >
> > --- Bhooshan Iyer wrote:
> >
> >> It may be worth trying to hit Reset button and
> >> connecting to the board at
> >> the same time, as far as humanly possible.
> >>
> >> --Bhooshan
> >>
> >>
> >> On 9/13/06, Jeff Brower
> >> wrote:
> >> >
> >> > Tahir-
> >> >
> >> > > I am trying to connect my custom board using
> >> CCS3.0
> >> > > tunning version and external jtag emulator
> but
> >> found
> >> > > an error that "Can't initialize the target
> CPU".
> >> > >
> >> > > My configuration are:
> >> > > -Custom board, C6414, 400MHz,
> >> > > -Win2k platform.
> >> > > -Spectrum digital emulator XDS510PP plus
> >> emulator.
> >> > >
> >> > > SDCconfig utility, shipped with the emulator
> can
> >> > > verify, test and complete the JTAG scan path
> >> without
> >> > > any error. but when i try to connect my board
> >> with
> >> > > this emulator using CCS 3.0 full version,
> error
> >> > > display: Can't initialize target CPU:
> >> > > Target initialization failed. Check target
> >> power, and
> >> > > JTAG connnection. I/O port = 378.
> >> > >
> >> > > CCS setup:
> >> > > -I use "Auto generated board data file"
> >> > > -I/O port 0x378
> >> > > -Available processor: TMS320C64xx
> >> > > -GEL file: DSPC641x.gel (Please guide me if
> any
> >> > > modification is required to tackle this
> error).
> >> > >
> >> > > Do i have to switch from scan mode to
> emulation
> >> mode
> >> > > but how, I don't know.
> >> >
> >> > No you're fine there -- if you can pass
> SDConfig
> >> then CCS should start.
> >> > Possible
> >> > reasons why not are hardware (see comments
> below)
> >> and driver selection.
> >> > Also you can
> >> > try the XDSProbe.exe utility -- a more thorough
> >> JTAG test than SDConfig.
> >> >
> >> > > I have studied the
> >> > > documentaiton related to the emulation setup
> but
> >> no
> >> > > one refer to this error. I also check the
> Reset
> >> signal
> >> > > and it become low at the start of code
> composer
> >> studio
> >> > > and then high again.
> >> >
> >> > Ok this is some clue. Why would Reset signal go
> >> low? Is your board doing
> >> > that? CCS
> >> > can't force Reset low; it's an input signal.
> JTAG
> >> circuitry may be able to
> >> > tri-state
> >> > Reset on CCS start-up, but even then your board
> >> needs to have Reset driven
> >> > high (i.e.
> >> > NOT in Reset). Short answer: your board has to
> >> release Reset (drive it
> >> > high) prior
> >> > to starting CCS.
> >> >
> >> > -Jeff
Tahir-

What was the problem and the solution?

-Jeff

> Thanks a lot Jeff Brower and all the other members of
> this group, for their kind help and guidance. I didn't
> get this type of help from TI and Spectrum digital
> companies who are supposed to provide full help for
> their products.
>
> My problem has solved and finally I connect it with
> CCS3. Now I am facing some other problem of RTDX but I
> will try to solve it out on monday. Right now I am
> enjoying my weedend.
>
> Thanks a lot once again.
>
> Bye.
>
> --- Jeff Brower wrote:
>
>> Tahir-
>>
>> > The reset signal is not low, it just go to low for
>> > very fraction of time and then become high.
>>
>> What is the "fraction"? You need to make a dig
>> scope measurement and be
>> exact. Minimum Reset signal time for a 641x device
>> I believe is less than
>> 1 usec.
>>
>> Again, Reset signal should not go low *for any
>> reason* at CCS start-up.
>> If it does, it means your board is not driving Reset
>> signal high, or there
>> is some other hardware problem.
>>
>> Reset signal issues are one of the leading causes of
>> "why SDConfig works
>> but CCS doesn't".
>>
>> Tahir you need to fix this first. You are getting
>> confused by looking at
>> emulator, software issues etc and avoiding the
>> obvious problem. That's my
>> last post on this thread until you can get it fixed.
>>
>> -Jeff
>>
>> > Following
>> > is the TRST behaviour:
>> > -TRST low when i give power to board.
>> > -TRST become high when i reset emulator.
>> > -TRST become low when i run jtag scan test and
>> after
>> > reseting emulator, it go in high state.
>> > -During diagnostic scan pattern: low and high for
>> each
>> > no. of step.
>> > -on ccs start it is high mean processor is in
>> active
>> > state.
>> >
>> > I know i m missing very basic thing and there is
>> just
>> > one click only.
>> > Looking for your kind help and response.
>> >
>> > Thanks.
>> >
>> >
>> > --- Bhooshan Iyer wrote:
>> >
>> >> It may be worth trying to hit Reset button and
>> >> connecting to the board at
>> >> the same time, as far as humanly possible.
>> >>
>> >> --Bhooshan
>> >>
>> >>
>> >> On 9/13/06, Jeff Brower
>> >> wrote:
>> >> >
>> >> > Tahir-
>> >> >
>> >> > > I am trying to connect my custom board using
>> >> CCS3.0
>> >> > > tunning version and external jtag emulator
>> but
>> >> found
>> >> > > an error that "Can't initialize the target
>> CPU".
>> >> > >
>> >> > > My configuration are:
>> >> > > -Custom board, C6414, 400MHz,
>> >> > > -Win2k platform.
>> >> > > -Spectrum digital emulator XDS510PP plus
>> >> emulator.
>> >> > >
>> >> > > SDCconfig utility, shipped with the emulator
>> can
>> >> > > verify, test and complete the JTAG scan path
>> >> without
>> >> > > any error. but when i try to connect my board
>> >> with
>> >> > > this emulator using CCS 3.0 full version,
>> error
>> >> > > display: Can't initialize target CPU:
>> >> > > Target initialization failed. Check target
>> >> power, and
>> >> > > JTAG connnection. I/O port = 378.
>> >> > >
>> >> > > CCS setup:
>> >> > > -I use "Auto generated board data file"
>> >> > > -I/O port 0x378
>> >> > > -Available processor: TMS320C64xx
>> >> > > -GEL file: DSPC641x.gel (Please guide me if
>> any
>> >> > > modification is required to tackle this
>> error).
>> >> > >
>> >> > > Do i have to switch from scan mode to
>> emulation
>> >> mode
>> >> > > but how, I don't know.
>> >> >
>> >> > No you're fine there -- if you can pass
>> SDConfig
>> >> then CCS should start.
>> >> > Possible
>> >> > reasons why not are hardware (see comments
>> below)
>> >> and driver selection.
>> >> > Also you can
>> >> > try the XDSProbe.exe utility -- a more thorough
>> >> JTAG test than SDConfig.
>> >> >
>> >> > > I have studied the
>> >> > > documentaiton related to the emulation setup
>> but
>> >> no
>> >> > > one refer to this error. I also check the
>> Reset
>> >> signal
>> >> > > and it become low at the start of code
>> composer
>> >> studio
>> >> > > and then high again.
>> >> >
>> >> > Ok this is some clue. Why would Reset signal go
>> >> low? Is your board doing
>> >> > that? CCS
>> >> > can't force Reset low; it's an input signal.
>> JTAG
>> >> circuitry may be able to
>> >> > tri-state
>> >> > Reset on CCS start-up, but even then your board
>> >> needs to have Reset driven
>> >> > high (i.e.
>> >> > NOT in Reset). Short answer: your board has to
>> >> release Reset (drive it
>> >> > high) prior
>> >> > to starting CCS.
>> >> >
>> >> > -Jeff
Answer on this one turns out to be:

-sdgo6400.dvr driver works with emulator (SD Config
test) but not with CCS 3.x

-for CCS 3.x sdgo6400_11.dvr must be used

The OP tried to get this driver info from Spectrum Digital but ended up
figuring it out on his own.

-Jeff

---------------------------- Original Message ----------------------------
Subject: Re: [c6x] CCS and JTAG help
From: "Jeff Brower"
Date: Sun, September 17, 2006 12:24 pm
To: "Tahir"
Cc: c...
--

Tahir-

What was the problem and the solution?

-Jeff

> Thanks a lot Jeff Brower and all the other members of
> this group, for their kind help and guidance. I didn't
> get this type of help from TI and Spectrum digital
> companies who are supposed to provide full help for
> their products.
>
> My problem has solved and finally I connect it with
> CCS3. Now I am facing some other problem of RTDX but I
> will try to solve it out on monday. Right now I am
> enjoying my weedend.
>
> Thanks a lot once again.
>
> Bye.
>
> --- Jeff Brower wrote:
>
>> Tahir-
>>
>> > The reset signal is not low, it just go to low for
>> > very fraction of time and then become high.
>>
>> What is the "fraction"? You need to make a dig
>> scope measurement and be
>> exact. Minimum Reset signal time for a 641x device
>> I believe is less than
>> 1 usec.
>>
>> Again, Reset signal should not go low *for any
>> reason* at CCS start-up.
>> If it does, it means your board is not driving Reset
>> signal high, or there
>> is some other hardware problem.
>>
>> Reset signal issues are one of the leading causes of
>> "why SDConfig works
>> but CCS doesn't".
>>
>> Tahir you need to fix this first. You are getting
>> confused by looking at
>> emulator, software issues etc and avoiding the
>> obvious problem. That's my
>> last post on this thread until you can get it fixed.
>>
>> -Jeff
>>
>> > Following
>> > is the TRST behaviour:
>> > -TRST low when i give power to board.
>> > -TRST become high when i reset emulator.
>> > -TRST become low when i run jtag scan test and
>> after
>> > reseting emulator, it go in high state.
>> > -During diagnostic scan pattern: low and high for
>> each
>> > no. of step.
>> > -on ccs start it is high mean processor is in
>> active
>> > state.
>> >
>> > I know i m missing very basic thing and there is
>> just
>> > one click only.
>> > Looking for your kind help and response.
>> >
>> > Thanks.
>> >
>> >
>> > --- Bhooshan Iyer wrote:
>> >
>> >> It may be worth trying to hit Reset button and
>> >> connecting to the board at
>> >> the same time, as far as humanly possible.
>> >>
>> >> --Bhooshan
>> >>
>> >>
>> >> On 9/13/06, Jeff Brower
>> >> wrote:
>> >> >
>> >> > Tahir-
>> >> >
>> >> > > I am trying to connect my custom board using
>> >> CCS3.0
>> >> > > tunning version and external jtag emulator
>> but
>> >> found
>> >> > > an error that "Can't initialize the target
>> CPU".
>> >> > >
>> >> > > My configuration are:
>> >> > > -Custom board, C6414, 400MHz,
>> >> > > -Win2k platform.
>> >> > > -Spectrum digital emulator XDS510PP plus
>> >> emulator.
>> >> > >
>> >> > > SDCconfig utility, shipped with the emulator
>> can
>> >> > > verify, test and complete the JTAG scan path
>> >> without
>> >> > > any error. but when i try to connect my board
>> >> with
>> >> > > this emulator using CCS 3.0 full version,
>> error
>> >> > > display: Can't initialize target CPU:
>> >> > > Target initialization failed. Check target
>> >> power, and
>> >> > > JTAG connnection. I/O port = 378.
>> >> > >
>> >> > > CCS setup:
>> >> > > -I use "Auto generated board data file"
>> >> > > -I/O port 0x378
>> >> > > -Available processor: TMS320C64xx
>> >> > > -GEL file: DSPC641x.gel (Please guide me if
>> any
>> >> > > modification is required to tackle this
>> error).
>> >> > >
>> >> > > Do i have to switch from scan mode to
>> emulation
>> >> mode
>> >> > > but how, I don't know.
>> >> >
>> >> > No you're fine there -- if you can pass
>> SDConfig
>> >> then CCS should start.
>> >> > Possible
>> >> > reasons why not are hardware (see comments
>> below)
>> >> and driver selection.
>> >> > Also you can
>> >> > try the XDSProbe.exe utility -- a more thorough
>> >> JTAG test than SDConfig.
>> >> >
>> >> > > I have studied the
>> >> > > documentaiton related to the emulation setup
>> but
>> >> no
>> >> > > one refer to this error. I also check the
>> Reset
>> >> signal
>> >> > > and it become low at the start of code
>> composer
>> >> studio
>> >> > > and then high again.
>> >> >
>> >> > Ok this is some clue. Why would Reset signal go
>> >> low? Is your board doing
>> >> > that? CCS
>> >> > can't force Reset low; it's an input signal.
>> JTAG
>> >> circuitry may be able to
>> >> > tri-state
>> >> > Reset on CCS start-up, but even then your board
>> >> needs to have Reset driven
>> >> > high (i.e.
>> >> > NOT in Reset). Short answer: your board has to
>> >> release Reset (drive it
>> >> > high) prior
>> >> > to starting CCS.
>> >> >
>> >> > -Jeff