Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Secondary JTAG Mood Swing

Secondary JTAG Mood Swing

2004-05-12 by James Dabbs

I am using the secondary JTAG port to debug my target (LPC2106 Target;
Nohau Debugger)  Initially, I flashed the part through the serial port
using ISP, loading some code that enabled the secondary JTAG port, then
started using the secondary port.  Sometimes this port works, sometimes
it doesn't, and this state seems to be 'sticky' in that it persists
beyond reset and power cycling.  I've read through a couple of threads
here on the subject, and see some mention that there may be a design
flaw in the secondary JTAG port.  I can find no mention of this beyond
this group, though.

SO..

1. Is there a flaw with this port that makes it unreliable in some way?

2. Is there more information beyond AN10255 that discusses how to use
the secondary JTAG port?

3. Are there limitations to the use of the secondary JTAG port?

Any help would be greatly appreciated.

Thanks,

James Dabbs, TGA

RE: [lpc2000] Secondary JTAG Mood Swing

2004-05-12 by Hugh O'Keeffe

Hi James,
For the full scoop on the secondary debug port see our on-line faq at
<http://www.ashling.com/support/lpc2000/knowledge_base.html>
http://www.ashling.com/support/lpc2000/knowledge_base.html. Look for the
note titled " <http://www.ashling.com/support/lpc2000/knowledge_base.html#>
How do I use the LPC201x secondary debug port? "
 
HTH,



Hugh @  <http://www.ashling.com/support/lpc2000/>
http://www.ashling.com/support/lpc2000/ 
Show quoted textHide quoted text
-----Original Message-----
From: James Dabbs [mailto:jdabbs@...] 
Sent: 12 May 2004 04:59
To: lpc2000@yahoogroups.com
Subject: [lpc2000] Secondary JTAG Mood Swing


I am using the secondary JTAG port to debug my target (LPC2106 Target;
Nohau Debugger)  Initially, I flashed the part through the serial port
using ISP, loading some code that enabled the secondary JTAG port, then
started using the secondary port.  Sometimes this port works, sometimes
it doesn't, and this state seems to be 'sticky' in that it persists
beyond reset and power cycling.  I've read through a couple of threads
here on the subject, and see some mention that there may be a design
flaw in the secondary JTAG port.  I can find no mention of this beyond
this group, though.

SO..

1. Is there a flaw with this port that makes it unreliable in some way?

2. Is there more information beyond AN10255 that discusses how to use
the secondary JTAG port?

3. Are there limitations to the use of the secondary JTAG port?

Any help would be greatly appreciated.

Thanks,

James Dabbs, TGA




  _____  

Yahoo! Groups Links


*	To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  

*	To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
  

*	Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .

RE: [lpc2000] Secondary JTAG Mood Swing

2004-05-12 by James Dabbs

Hugh,
 
I did read this; it was very helpful.  My debug process is very similar
to this except that my "initial load" is through UART0 using the ISP
features of the chip.  My code sets JTAG2 and then spins.
 
However, either (1) I am making some mistake that I do not realize, or
(2) there is some kind of intermittent hardware problem with the
secondary JTAG port or, (3) the secondary JTAG port does not work
reliably with the Nohau debugger.  For the most part, the debugger
cannot find the chip at all.  Finally, once it can see the chip, I *can*
download code through JTAG2.  But single-stepping or setting a
breakpoint and running causes nonsensical behavior as seen through the
debugger.  Also, I can not determine any logical cause-and-effect as to
how or when the debugger will be able to find the chip at all.  My
working assumption right now is that the JTAG2 interface is not being
reliably activiated.
 
-James
Show quoted textHide quoted text
-----Original Message-----
From: Hugh O'Keeffe [mailto:hugh.okeeffe@...] 
Sent: Wednesday, May 12, 2004 4:08 AM
To: lpc2000@yahoogroups.com
Subject: RE: [lpc2000] Secondary JTAG Mood Swing


Hi James,
For the full scoop on the secondary debug port see our on-line faq at
<http://www.ashling.com/support/lpc2000/knowledge_base.html>
http://www.ashling.com/support/lpc2000/knowledge_base.html. Look for the
note titled "
<http://www.ashling.com/support/lpc2000/knowledge_base.html#> How do I
use the LPC201x secondary debug port? "
 
HTH,



Hugh @  <http://www.ashling.com/support/lpc2000/>
http://www.ashling.com/support/lpc2000/ 

-----Original Message-----
From: James Dabbs [mailto:jdabbs@...] 
Sent: 12 May 2004 04:59
To: lpc2000@yahoogroups.com
Subject: [lpc2000] Secondary JTAG Mood Swing


I am using the secondary JTAG port to debug my target (LPC2106 Target;
Nohau Debugger)  Initially, I flashed the part through the serial port
using ISP, loading some code that enabled the secondary JTAG port, then
started using the secondary port.  Sometimes this port works, sometimes
it doesn't, and this state seems to be 'sticky' in that it persists
beyond reset and power cycling.  I've read through a couple of threads
here on the subject, and see some mention that there may be a design
flaw in the secondary JTAG port.  I can find no mention of this beyond
this group, though.

SO..

1. Is there a flaw with this port that makes it unreliable in some way?

2. Is there more information beyond AN10255 that discusses how to use
the secondary JTAG port?

3. Are there limitations to the use of the secondary JTAG port?

Any help would be greatly appreciated.

Thanks,

James Dabbs, TGA




Yahoo! Groups Sponsor	

ADVERTISEMENT
 
<http://rd.yahoo.com/SIG=1299uv1br/M=295196.4901138.6071305.3001176/D=gr
oups/S=1706554205:HM/EXP=1084435733/A=2128215/R=0/SIG=10se96mf6/*http://
companion.yahoo.com> click here	
 
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=924632117> 	


  _____  

Yahoo! Groups Links


*	To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  

*	To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
  

*	Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .

RE: [lpc2000] Secondary JTAG Mood Swing

2004-05-12 by James Dabbs

Reading this note, I realize I need to be clearer: my debug environment
does experience intermittent periods of lucidity where everything does
work flawlessly.  I am just desperately trying to find cause and effect
on how to get into this mode and stay there reliably.
Show quoted textHide quoted text
-----Original Message-----
From: James Dabbs [mailto:jdabbs@...] 
Sent: Wednesday, May 12, 2004 6:13 AM
To: lpc2000@yahoogroups.com
Subject: RE: [lpc2000] Secondary JTAG Mood Swing



Hugh,
 
I did read this; it was very helpful.  My debug process is very similar
to this except that my "initial load" is through UART0 using the ISP
features of the chip.  My code sets JTAG2 and then spins.
 
However, either (1) I am making some mistake that I do not realize, or
(2) there is some kind of intermittent hardware problem with the
secondary JTAG port or, (3) the secondary JTAG port does not work
reliably with the Nohau debugger.  For the most part, the debugger
cannot find the chip at all.  Finally, once it can see the chip, I *can*
download code through JTAG2.  But single-stepping or setting a
breakpoint and running causes nonsensical behavior as seen through the
debugger.  Also, I can not determine any logical cause-and-effect as to
how or when the debugger will be able to find the chip at all.  My
working assumption right now is that the JTAG2 interface is not being
reliably activiated.
 
-James

-----Original Message-----
From: Hugh O'Keeffe [mailto:hugh.okeeffe@...] 
Sent: Wednesday, May 12, 2004 4:08 AM
To: lpc2000@yahoogroups.com
Subject: RE: [lpc2000] Secondary JTAG Mood Swing


Hi James,
For the full scoop on the secondary debug port see our on-line faq at
<http://www.ashling.com/support/lpc2000/knowledge_base.html>
http://www.ashling.com/support/lpc2000/knowledge_base.html. Look for the
note titled "
<http://www.ashling.com/support/lpc2000/knowledge_base.html#> How do I
use the LPC201x secondary debug port? "
 
HTH,



Hugh @  <http://www.ashling.com/support/lpc2000/>
http://www.ashling.com/support/lpc2000/ 

-----Original Message-----
From: James Dabbs [mailto:jdabbs@...] 
Sent: 12 May 2004 04:59
To: lpc2000@yahoogroups.com
Subject: [lpc2000] Secondary JTAG Mood Swing


I am using the secondary JTAG port to debug my target (LPC2106 Target;
Nohau Debugger)  Initially, I flashed the part through the serial port
using ISP, loading some code that enabled the secondary JTAG port, then
started using the secondary port.  Sometimes this port works, sometimes
it doesn't, and this state seems to be 'sticky' in that it persists
beyond reset and power cycling.  I've read through a couple of threads
here on the subject, and see some mention that there may be a design
flaw in the secondary JTAG port.  I can find no mention of this beyond
this group, though.

SO..

1. Is there a flaw with this port that makes it unreliable in some way?

2. Is there more information beyond AN10255 that discusses how to use
the secondary JTAG port?

3. Are there limitations to the use of the secondary JTAG port?

Any help would be greatly appreciated.

Thanks,

James Dabbs, TGA






Yahoo! Groups Sponsor	

ADVERTISEMENT
 
<http://rd.yahoo.com/SIG=129ds3udf/M=295196.4901138.6071305.3001176/D=gr
oups/S=1706554205:HM/EXP=1084443371/A=2128215/R=0/SIG=10se96mf6/*http://
companion.yahoo.com> click here	
 
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=137784361> 	


  _____  

Yahoo! Groups Links


*	To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  

*	To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
  

*	Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .

Stupid question

2004-05-12 by Lasse Madsen

MessageI've been looking around in the datasheets for quite some time now
(two hours or so) and I guess im going blind staring at it ...

I cant seem to find out what UART the bootloader on the LPC2106 is located
on ?

if its the modem uart ... is it ok to wire the RX, TX and P0.14 through a
4053 MUX and short P0.14 on one of the outputs to ground and make a switch
to toogle the ABC of the MUX to select bootloader mode or another device ?

regards
lasse madsen

Re: Stupid question

2004-05-12 by leon_heller

--- In lpc2000@yahoogroups.com, "Lasse Madsen" <lm@h...> wrote:
> MessageI've been looking around in the datasheets for quite some 
time now
> (two hours or so) and I guess im going blind staring at it ...
> 
> I cant seem to find out what UART the bootloader on the LPC2106 is 
located
> on ?
> 
> if its the modem uart ... is it ok to wire the RX, TX and P0.14 
through a
> 4053 MUX and short P0.14 on one of the outputs to ground and make a 
switch
> to toogle the ABC of the MUX to select bootloader mode or another 
device ?

It's UART0 (pins 13 and 14). Have a look at my schematic:

http://www.geocities.com/leon_heller/lpc2104.html

Leon

Re: [lpc2000] Stupid question

2004-05-12 by Robert Adsett

At 03:39 PM 5/12/04 +0200, you wrote:
>I've been looking around in the datasheets for quite some time now (two 
>hours or so) and I guess im going blind staring at it ...
>I cant seem to find out what UART the bootloader on the LPC2106 is located 
>on ?

It's uart 0.

>
>if its the modem uart ... is it ok to wire the RX, TX and P0.14 through a 
>4053 MUX and short P0.14 on one of the outputs to ground and make a switch 
>to toogle the ABC of the MUX to select bootloader mode or another device ?

If I understand you correctly I've got a board that does this.  See 
http://www.aeolusdevelopment.com/Articles/InSystemProgramming.html  I'm 
waiting for some long lead time parts before providing full kits and 
completed units.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.