<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/18066/ulink-jtag-communication-failure-help</link><description> I have been using the ULINK, uVision3 and the MCB2130 board for a couple months now with no problem. Now I got my first prototype hardware using an LPC2131 and I am not able get the JTAG to work. I get the &amp;quot;JTAG Communication failure&amp;quot; error message.</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/148618?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2005 08:23:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:44c3162c-9cc9-448c-992d-3ec793554092</guid><dc:creator>Dave Butler</dc:creator><description>&lt;p&gt;Excellent.&lt;br /&gt;
I also do not understand why CAN pins would be used for JTAG??  Glad to hear  things are going better.  Now you can actually start to work!&lt;br /&gt;
&lt;br /&gt;
-Dave&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/148538?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2005 08:16:29 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:20003fe4-18c1-4f39-98f4-5b909af9d40e</guid><dc:creator>G&amp;#195;&amp;#188;nter Kollmann</dc:creator><description>&lt;p&gt;Something wonderful has happen - your computer is alive!&lt;br /&gt;
&lt;br /&gt;
I must not understand why the CAN bus pins are used for JTAG features but they are.&lt;br /&gt;
&lt;br /&gt;
On my PCB TD1 (P0.26) is connected to a opto coupler which cause the malfunction from the JTAG.&lt;br /&gt;
&lt;br /&gt;
Small changes at the CAN interface bring up  the JTAG ..oO?! :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Günter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/148351?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2005 06:43:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:52ec71ef-9b84-4439-a6c0-d0f277c52d30</guid><dc:creator>G&amp;#195;&amp;#188;nter Kollmann</dc:creator><description>&lt;p&gt;Nice to hear.&lt;br /&gt;
&lt;br /&gt;
But my JTAG don&amp;#39;t work without firmware.&lt;br /&gt;
&lt;br /&gt;
So the problem is not really solved, but I&amp;#39;m working on it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Günter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/147987?ContentTypeID=1</link><pubDate>Thu, 11 Aug 2005 09:56:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3a1f5038-0554-4728-b664-bcc2add4695c</guid><dc:creator>Dave Butler</dc:creator><description>&lt;p&gt;All,&lt;br /&gt;
&lt;br /&gt;
Problem is fixed.  JTAG works on my proto hardware.&lt;br /&gt;
The JTAG (P1.36-26) pins were configured for GPIO instead of debug.  In the PINSEL2 register I had to set bit #2.  That did it.&lt;br /&gt;
&lt;br /&gt;
All is well now, but I still do not understand why the JTAG worked on the MCB eval board??  I was not setting PINSEL2 bit 2 in my code.  Does the LPC2138 not need to have this bit set, where the LPC2131 does?&lt;br /&gt;
&lt;br /&gt;
Thanks for your help and suggestions.&lt;br /&gt;
Dave Butler&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/147280?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2005 12:15:12 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f56fff2b-0ed0-4980-904e-9cf5a52bf26d</guid><dc:creator>Dave Butler</dc:creator><description>&lt;p&gt;Günter&lt;br /&gt;
Thanks, that is a good idea.  I will let you know what I find.&lt;br /&gt;
&lt;br /&gt;
Dave&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/145961?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2005 08:58:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:756c47c8-f5b6-43ea-9246-321e6003eb87</guid><dc:creator>G&amp;#195;&amp;#188;nter Kollmann</dc:creator><description>&lt;p&gt;I don&amp;#39;t think that the software is responsable.&lt;br /&gt;
I&amp;#39;ve tested it with erased flash and the JTAG won&amp;#39;t work.&lt;br /&gt;
And I tested it with power off and on to avoid storage things inside the LPC.&lt;br /&gt;
&lt;br /&gt;
It looks like the fault happens before the firmware starts running.&lt;br /&gt;
&lt;br /&gt;
Comparing the voltage levels at all pins be asserting reset between Keil MCB2100 and the new PCB may be bring light in the darkness.&lt;br /&gt;
&lt;br /&gt;
Günter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/144080?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2005 08:49:01 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:711c7318-3178-4e5f-a9d6-240c106a37b5</guid><dc:creator>Dave Butler</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;
&lt;br /&gt;
Thanks for the suggestion Franc.  On my board(LPC2131), P0.31 has a 1k pull up to 3.3V and I have verified that it does not go low after a reset.  I am using it as a reset line for a peripheral chip and currently just keep it high all the time.&lt;br /&gt;
&lt;br /&gt;
In regards to the XTAL, I am using an external 12.288MHz crystal with a buffer circuit.  The output of the buffer has a 100 ohm resistor and drives XTAL1 thru a 100pF cap (as recommended in the manual).  The signal looks very clean.  XTAL2 is left unconnected.&lt;br /&gt;
&lt;br /&gt;
I am starting to suspect a timing issue somewhere in software/firmware.  Just a gut feeling??  I will post anything if I find it.&lt;br /&gt;
&lt;br /&gt;
Thanks for the suggestions,&lt;br /&gt;
Dave&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/141533?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2005 04:28:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f78cdd2b-356f-445b-b30e-d088e5580f68</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;Sounds like a CLOCK problem.  Is the XTAL stable on the boards?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/138072?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2005 02:31:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bd8a8f24-2027-487a-8cfc-838ce0dbeeeb</guid><dc:creator>G&amp;#195;&amp;#188;nter Kollmann</dc:creator><description>&lt;p&gt;@Reinhard&lt;br /&gt;
&lt;br /&gt;
There is no pin available for P0.31.&lt;br /&gt;
So I&amp;#39;m sure a haven&amp;#39;t pulled it low.&lt;br /&gt;
&lt;br /&gt;
The hole hardware works as expected and can be loaded with the Philips Flash tool.&lt;br /&gt;
&lt;br /&gt;
Than I wrote a small test program to handle the JTAG pins P0.26-31 as GPIO.&lt;br /&gt;
In this mode I can read when inputs and  write when outputs.&lt;br /&gt;
&lt;br /&gt;
All resistors are correct.&lt;br /&gt;
&lt;br /&gt;
I think it&amp;#39;s a internal problem from the LPC.&lt;br /&gt;
The crazy thing is, that JTAG works for few minutes at one of ten boards?!?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Günter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/134600?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2005 02:15:12 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:89ed0dea-c9b0-4c82-81c5-ac58132b6cde</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;P0.31 has an internal pull-up. The problem only exists when you have an external load on this pin.&lt;br /&gt;
&lt;br /&gt;
Does the your user hardware still not work?  Do you have the option to connect with the serial Philips loader tool?&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/122890?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2005 01:57:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:93a35da6-ca72-49cd-88fa-b9494d13f9e9</guid><dc:creator>G&amp;#195;&amp;#188;nter Kollmann</dc:creator><description>&lt;p&gt;Thank you Franc, but I use the LPC2119 witout P0.31.&lt;br /&gt;
&lt;br /&gt;
So I&amp;#39;ve problems pulling this pin to anything.&lt;br /&gt;
&lt;br /&gt;
But may be just configuring it as output and write a H-level works.&lt;br /&gt;
&lt;br /&gt;
@Reinhard&lt;br /&gt;
The two links helped few weeks ago getting the JTAG running at the MCB2100.&lt;br /&gt;
&lt;br /&gt;
The ULINK works well and the problem happens also with erased flash.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Günter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/111564?ContentTypeID=1</link><pubDate>Sun, 31 Jul 2005 04:42:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:55d80952-def8-4a8d-865f-932a098c13a5</guid><dc:creator>Franc  Urbanc</dc:creator><description>&lt;p&gt;I have figured out that the JTAG interface is disabled if pin &lt;b&gt;P0.31&lt;/b&gt; is&lt;br /&gt;
pulled low after a reset. This is not documented in Philips manual. The&lt;br /&gt;
problem can easily be duplicated with MCB2130. If pin P0.31 is pulled low&lt;br /&gt;
with 20Kohm resistor after a reset, JTAG interface does not work.&lt;br /&gt;
&lt;br /&gt;
Please check your design for pin P0.31 It needs to be high, othervise the JTAG interface is disabled for some of LPC21xx devices.&lt;br /&gt;
&lt;br /&gt;
Franc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/97335?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2005 10:47:47 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d11ff38d-13ee-4a89-a2f8-f6ded4b3ee68</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;We cannot see why ULINK cannot work with your hardware boards.  We did not make any special on the MCB21xx boards and we have several customers that are using ULINK with own hardware.&lt;br /&gt;
&lt;br /&gt;
Philips LPC2000 is actually not very critical with JTAG debugging, but JTAG can be disabled by a wired user program.&lt;br /&gt;
&lt;br /&gt;
Take a look to:&lt;br /&gt;
&lt;a href="http://www.keil.com/support/docs/2993.htm"&gt;http://www.keil.com/support/docs/2993.htm&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.keil.com/support/docs/2935.htm"&gt;http://www.keil.com/support/docs/2935.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/73378?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2005 07:19:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4f41593f-b7b9-4fc8-9d81-62519e0b0013</guid><dc:creator>Dave Butler</dc:creator><description>&lt;p&gt;This is indeed a very frustrating position to be in.  My development was making great progress until I got proto hardware and now have no JTAG.  I hope we can figure something out.  I still have a lot of routines and algorithms to work out in my design and not much time to get it done.&lt;br /&gt;
&lt;br /&gt;
I am still going to try and move the dongle JTAG connecter so it is right next to the processor on the next board spin.&lt;br /&gt;
&lt;br /&gt;
Good Luck&lt;br /&gt;
Dave Butler&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/73380?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2005 07:15:14 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:16793f8f-c602-479a-bcd4-2af27f823797</guid><dc:creator>Dave Butler</dc:creator><description>&lt;p&gt;Thanks for the response.&lt;br /&gt;
I assume you mean the J9 jumper on the MCB? Yes, the JTAG on the MCB works fine, no problem, every time.  The problem I am having is on my prototype board only.  I basically copied the JTAG interface from the MCB.&lt;br /&gt;
&lt;br /&gt;
I have a 10k pull-up on TRST,TDI,TMS,TDO and a 10k pull-down on TCK and ERTCK.&lt;br /&gt;
&lt;br /&gt;
When I scope the lines and hit debug, I see signal on TRST and TCK, but nothing ever comes back on ERTCK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/44411?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2005 02:30:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:85f4329a-c836-4c42-80bd-3e303a7f65cd</guid><dc:creator>G&amp;#195;&amp;#188;nter Kollmann</dc:creator><description>&lt;p&gt;You&amp;#39;re not alone.&lt;br /&gt;
&lt;br /&gt;
Exactly the same happens to my PCBs using the LPC2119.&lt;br /&gt;
&lt;br /&gt;
The pins P1.26-31 works fine in GPIO mode as input or output but in JTAG mode they don&amp;#39;t.&lt;br /&gt;
&lt;br /&gt;
There is always a Low at TDO and RTCK, nothing is happen at this 2 pins in JTAG mode.&lt;br /&gt;
&lt;br /&gt;
I changed the crystal to 12MHz on 1 of 3 Eval Boards (CAN bus timing) and it doesn&amp;#39;t matter.&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;m currently without any idea  and need also a solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ULINK JTAG communication Failure?  HELP!</title><link>https://community.arm.com/thread/44405?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2005 02:02:46 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:957d667a-9eee-42af-bd4f-6aae58e2c115</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;ULINK does not have high requirements on the communication lines. So there should be no problem with your lines.&lt;br /&gt;
&lt;br /&gt;
Did you actually enable the JTAG interface&lt;br /&gt;
(pulldown resistor J9/R27).  What about the pullup/pulldown resistors?&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>