<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPC Microcontrollers中的主题 Re: JTAG not working on LPC4337</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/JTAG-not-working-on-LPC4337/m-p/586820#M21500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtl on Wed Jan 29 15:02:46 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Turns out both 4337 chips had faults on one of JTAG pins. They had impedance of a few hundred ohms. Interesting thing is they were on different pins. I don't know if they were faulty out of the packaging or whether they were damaged during assembly from ESD. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All working fine now at least&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:10:32 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:10:32Z</dc:date>
    <item>
      <title>JTAG not working on LPC4337</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/JTAG-not-working-on-LPC4337/m-p/586816#M21496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtl on Thu Jan 09 20:47:59 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a prototype board that I am trying to get up and running with JTAG. I cannot get it to connect at all. I am able to connect via ISP, load in a firmware file via flash magic and see some LEDs light up so I am confident the board is working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have ruled out the obvious things:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Reset pin is high&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;continuity on the jtag pins&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.3V supply rail is good&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No shorts between pins&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DBGEN pin is high&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Rowley Crossworks with a Rowley Crossconnect. I have been doing firmware development on a WaveShare development board until now (has identical LPC4337JBD144 on the board) and JTAG works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to connect to the prototype, I just get "cannot set debug register".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have also tried:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have also assembled a second prototype board with just the CPU and power supply to determine if the first board had a defective part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checked the SWD connections against the 43xx datasheet. Fitted SWDIO and SWDCLK with 10K pullups &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Loaded on a fullsize 20 way jtag header and configured the pullups identical to the working WaveShare core43xx development board (10K pullups on TDO, TCK and pin 11)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;None of the above has fixed the issue&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas would be appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:10:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/JTAG-not-working-on-LPC4337/m-p/586816#M21496</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG not working on LPC4337</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/JTAG-not-working-on-LPC4337/m-p/586817#M21497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Fri Jan 10 00:44:45 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you check the Boot Mode pins?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:10:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/JTAG-not-working-on-LPC4337/m-p/586817#M21497</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG not working on LPC4337</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/JTAG-not-working-on-LPC4337/m-p/586818#M21498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtl on Fri Jan 10 01:56:01 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Boot mode pins are set to USART3 (10k pullup and pulldowns) and as said before I am already able to get a firmware running on the device via ISP. Code protection register is disabled.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:10:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/JTAG-not-working-on-LPC4337/m-p/586818#M21498</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG not working on LPC4337</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/JTAG-not-working-on-LPC4337/m-p/586819#M21499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Pacman on Wed Jan 29 09:49:28 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I've built two breadboards using the LPC43xx and have them working. Both are using the LQFP144 packages. Of course I had problems in the beginning, but after re-checking an unknown number of times, I found that I made incorrect connections on the JTAG interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's my working setup:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10K Pull-up on ~TRST [3], TDI [5], TMS [7], TDO [13], nRESET [15]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10K Pull-down on TCLK [9], RTCK [11], DBGRQ [17] and DBGACK [19]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The 'nRESET' must of course always have a pull-up, no matter if JTAG is used or not. It's a good idea to also put a 100nF ceramic capacitor from GND to nRESET (but it will work on a test-board without it).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the above setup, I've successfully programmed the internal flash-memory of a LPC4337 and OpenOCD using JTAG-lock-pick Tiny 2, Olimex ARM-USB-TINY-H and Olimex ARM-USB-OCD-H.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although the DBGRQ and DBGACK have pull-downs, it should work even if they're floating.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It doesn't matter much how I set the P2_7 pin, when using OpenOCD 0.8.0; I've actually ended up leaving it as floating (!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using OpenOCD 0.7.0, you will run into trouble; you need to pull the latest git version (0.8.0), which have endian problems fixed plus the LPC2000 driver for the LPC43xx is fixed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding debugging, I have no experience in this area. I never use a debugger (other than OpenOCD itself) for microcontrollers, but hopefully you would be able to connect to the device and flash-program it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:10:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/JTAG-not-working-on-LPC4337/m-p/586819#M21499</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG not working on LPC4337</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/JTAG-not-working-on-LPC4337/m-p/586820#M21500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtl on Wed Jan 29 15:02:46 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Turns out both 4337 chips had faults on one of JTAG pins. They had impedance of a few hundred ohms. Interesting thing is they were on different pins. I don't know if they were faulty out of the packaging or whether they were damaged during assembly from ESD. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All working fine now at least&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:10:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/JTAG-not-working-on-LPC4337/m-p/586820#M21500</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:10:32Z</dc:date>
    </item>
  </channel>
</rss>

