EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

JTAG Handshaking Sequence (Crossworks)

Started by deluxenewandimproved November 2, 2004
Howdy,

I'm wondering if anyone can explain the JTAG handshaking sequence, to 
initiate a debugging session with the MSP430 -- or at least point me 
to some documentation.

I have the TI FET tool, and I am able to use the crossworks driver to 
connect to an MSP430F149 in the TI development board, but I am unable 
to connect to my in-circuit F149.  I essentially copied the schematic 
for the FET evaluation board, so I'm reasonably confident that this 
isn't my problem.  I have looked at the communication with a logic 
analyzer, and I see that crossworks is attempting to reset the chip --
 and it not to appear to drive any other signals.  I'm guessing that 
means that it's looking for one of the MSP430 signals to transition, 
but they never do.

Any help will be greatly appreciated.
-Deluxe







Beginning Microcontrollers with the MSP430

Hi,

After reset, CrossWorks will drive TDI, TCK, and TCK to go through fuse
check and retrieve the JTAG ID.  If you're not seeing these transition,
you have a problem with your adapter.  This sequence is fully documented
by TI, so I'd suspect yourown FET tool, not CrossWorks...  Olimex do a
tested, boxed JTAG adapter for $9 which is top value.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for MSP430, ARM, and (soon) Atmel AVR processors  
 

> -----Original Message-----
> From: deluxenewandimproved [mailto:bizzantro-junk@bizz...] 
> Sent: 02 November 2004 12:48
> To: msp430@msp4...
> Subject: [msp430] JTAG Handshaking Sequence (Crossworks)
> 
> 
> 
> Howdy,
> 
> I'm wondering if anyone can explain the JTAG handshaking 
> sequence, to initiate a debugging session with the MSP430 -- 
> or at least point me to some documentation.
> 
> I have the TI FET tool, and I am able to use the crossworks 
> driver to connect to an MSP430F149 in the TI development 
> board, but I am unable to connect to my in-circuit F149.  I 
> essentially copied the schematic for the FET evaluation 
> board, so I'm reasonably confident that this isn't my 
> problem.  I have looked at the communication with a logic 
> analyzer, and I see that crossworks is attempting to reset 
> the chip --  and it not to appear to drive any other signals. 
>  I'm guessing that means that it's looking for one of the 
> MSP430 signals to transition, but they never do.
> 
> Any help will be greatly appreciated.
> -Deluxe
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~-->
> $9.95 domain names from Yahoo!. Register anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/CFFolB/TM
> --------------------------
> ------~-> 
> 
> .
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> 

The strange thing is that the same adapter works with CrossWorks -- 
if I'm using the socketed evaluation board provided by TI.  I think I 
either must have a bad MSP430 or a bad circuit, I don't think the 
problem is the FET or CrossWorks.

Does CrossWorks try to read any of the JTAG signals before it drives 
its outputs?  Also, do you know where the TI documentation is for the 
JTAG initialization sequence?

Thanks,
Deluxe


--- In msp430@msp4..., "Paul Curtis" <plc@r...> wrote:
> Hi,
> 
> After reset, CrossWorks will drive TDI, TCK, and TCK to go through 
fuse
> check and retrieve the JTAG ID.  If you're
not seeing these 
transition,
> you have a problem with your adapter.  This
sequence is fully 
documented
> by TI, so I'd suspect yourown FET tool, not
CrossWorks...  Olimex 
do a
> tested, boxed JTAG adapter for $9 which is top
value.
> 
> --
> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> CrossWorks for MSP430, ARM, and (soon) Atmel AVR processors  
>  
> 
> > -----Original Message-----
> > From: deluxenewandimproved [mailto:bizzantro-junk@y...] 
> > Sent: 02 November 2004 12:48
> > To: msp430@msp4...
> > Subject: [msp430] JTAG Handshaking Sequence (Crossworks)
> > 
> > 
> > 
> > Howdy,
> > 
> > I'm wondering if anyone can explain the JTAG handshaking 
> > sequence, to initiate a debugging session with the MSP430 -- 
> > or at least point me to some documentation.
> > 
> > I have the TI FET tool, and I am able to use the crossworks 
> > driver to connect to an MSP430F149 in the TI development 
> > board, but I am unable to connect to my in-circuit F149.  I 
> > essentially copied the schematic for the FET evaluation 
> > board, so I'm reasonably confident that this isn't my 
> > problem.  I have looked at the communication with a logic 
> > analyzer, and I see that crossworks is attempting to reset 
> > the chip --  and it not to appear to drive any other signals. 
> >  I'm guessing that means that it's looking for one of the 
> > MSP430 signals to transition, but they never do.
> > 
> > Any help will be greatly appreciated.
> > -Deluxe
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > ------------------------ Yahoo! Groups Sponsor 
> > --------------------~-->
> > $9.95 domain names from Yahoo!. Register anything.
> > http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/CFFolB/TM
> > --------------------------
> > ------~-> 
> > 
> > .
> > 
> >  
> > Yahoo! Groups Links
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> > 
> >





The 2024 Embedded Online Conference