<?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>topic JTAG in TWR-K65F180M not functional on rev A0 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403091#M22446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We've recently got hold of this board, but found it impossible to program the onboard K65 via JTAG (J18) despite removing J32 as described in the UsersGuide page 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J32 disconnects SWD_CLK from OpenSDA, leaving it free to be controlled by our debugger.&lt;/P&gt;&lt;P&gt;Unfortunately, no jumper is available for disconnecting SWD_DIO from OpenSDA. This means SWD_DIO is held by the OpenSDA device, causing trouble with the JTAG debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First: Has anyone had the same experience?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second: Any suggestions on how to workaround this? We've thought about erasing the OpenSDA, thus causing its GPIO to tristate, hopefully allowing us to control the K65 JTAG port via J18.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Relevant schematics are on TWR-K65F180M-SCH.pdf page 5 (signals PTA0 and PTA3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 09:45:37 GMT</pubDate>
    <dc:creator>martinfiltenbor</dc:creator>
    <dc:date>2015-06-16T09:45:37Z</dc:date>
    <item>
      <title>JTAG in TWR-K65F180M not functional on rev A0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403091#M22446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We've recently got hold of this board, but found it impossible to program the onboard K65 via JTAG (J18) despite removing J32 as described in the UsersGuide page 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J32 disconnects SWD_CLK from OpenSDA, leaving it free to be controlled by our debugger.&lt;/P&gt;&lt;P&gt;Unfortunately, no jumper is available for disconnecting SWD_DIO from OpenSDA. This means SWD_DIO is held by the OpenSDA device, causing trouble with the JTAG debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First: Has anyone had the same experience?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second: Any suggestions on how to workaround this? We've thought about erasing the OpenSDA, thus causing its GPIO to tristate, hopefully allowing us to control the K65 JTAG port via J18.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Relevant schematics are on TWR-K65F180M-SCH.pdf page 5 (signals PTA0 and PTA3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 09:45:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403091#M22446</guid>
      <dc:creator>martinfiltenbor</dc:creator>
      <dc:date>2015-06-16T09:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG in TWR-K65F180M not functional on rev A0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403092#M22447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin&lt;/P&gt;&lt;P&gt;I've reproduced your procedure to debug the TWR-K65F180M.&lt;/P&gt;&lt;P&gt;However I succeeded to debug the board by using the J-link through the J18 interface, as the Fig1 shows.&lt;/P&gt;&lt;P&gt;I'd like to suggest that you need check the hardware configuration again and make sure the setting is completely correct.&lt;/P&gt;&lt;P&gt;If it still doesn't work, please contact with the local distributor to reply for another board instead of this one.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IMG_20150617_100759_mh1434506933917.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28033iCC2B5F7F33299F07/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_20150617_100759_mh1434506933917.jpg" alt="IMG_20150617_100759_mh1434506933917.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fig 1&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 02:47:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403092#M22447</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2015-06-17T02:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG in TWR-K65F180M not functional on rev A0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403093#M22448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which revision you get for TWR-K65? Is it RevD? I see the topic listed that you are using RevA0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 03:00:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403093#M22448</guid>
      <dc:creator>cutworth</dc:creator>
      <dc:date>2015-06-17T03:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG in TWR-K65F180M not functional on rev A0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403094#M22449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hao :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, the label on the box says 'Rev A0' and labels on the PCB state '700-28036 RevA' resp 'SCH-29036 RevD'. Take your pick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//mA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 05:12:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403094#M22449</guid>
      <dc:creator>martinfiltenbor</dc:creator>
      <dc:date>2015-06-18T05:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG in TWR-K65F180M not functional on rev A0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403095#M22450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ping :smileyhappy:&lt;/P&gt;&lt;P&gt;Good to hear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, settings seem to be a too-little-documented issue. Two people here have independently from each other come to the conclusion that correct settings are 'Default' + J32=OFF (SWD clock disconnection) as documented on page 12 of "TWR-K65F180M User's Guide, Rev. 0". What settings do &lt;EM&gt;you&lt;/EM&gt; use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, we'd like to know which revision of the PCB (not the schematic...) you've used for your successful procedure. If different revisions are out there, we need know this to be sure if your scenario is different from ours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, we're using a Segger ARM flasher device intended for production use. You use a Jlink. Both should do the job nicely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hardware : We have several K65-boards. They all work identically. Unlikely that exchanging one of them for yet another board will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: What WILL help is powering up the board holding RESET button. This causes the OpenSDA cpu to enter bootload-mode, tristating its IO. A more permanent solution is lifting U7 pin 4 (SWDIO).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 05:30:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403095#M22450</guid>
      <dc:creator>martinfiltenbor</dc:creator>
      <dc:date>2015-06-18T05:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG in TWR-K65F180M not functional on rev A0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403096#M22451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;The version of my board is as same as yours.&lt;/P&gt;&lt;P&gt;I was wondering if you can share the screenshot of error message when you use the external debug tool.&lt;/P&gt;&lt;P&gt;I'm looking forward to your reply.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 08:06:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403096#M22451</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2015-06-23T08:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG in TWR-K65F180M not functional on rev A0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403097#M22452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Screenshot. Sure:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SeggerFailedToConnect.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25922iCC579BE014A99C7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="SeggerFailedToConnect.png" alt="SeggerFailedToConnect.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Those working with the Segger tell me that it seems their flasher is unable to hold the board in reset during powerup (Segger delivers power through JTAG).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same Segger Flasher works flawlessly with an aging TWR-K60N512 board :smileyhappy:&lt;/P&gt;&lt;P&gt;By now, we've had a chance to connect a Lauterbach uTrace to the TWR-K65 board and see it work OK. This means the above issue is restricted to use with Segger's Flasher (&lt;A href="https://www.segger.com/flasher-arm.html" title="https://www.segger.com/flasher-arm.html"&gt;SEGGER - The Embedded Experts - Flasher ARM&lt;/A&gt; ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 07:49:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403097#M22452</guid>
      <dc:creator>martinfiltenbor</dc:creator>
      <dc:date>2015-07-06T07:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG in TWR-K65F180M not functional on rev A0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403098#M22453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;I've already contacted with the AE and he pointed out that the OpenSDA interface should load the J-Link OpenSDA firmware before use the external debugger.&lt;/P&gt;&lt;P&gt;I've attached the the J-Link OpenSDA firmware and try it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 03:30:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403098#M22453</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2015-07-08T03:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG in TWR-K65F180M not functional on rev A0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403099#M22454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #3a0699;"&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/martinfiltenborg"&gt;martinfiltenborg&lt;/A&gt;​Were you able to resolve your issue ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #3a0699;"&gt;I am in the same boat now, any help is appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #3a0699;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 23:06:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403099#M22454</guid>
      <dc:creator>nitinharish</dc:creator>
      <dc:date>2015-11-16T23:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG in TWR-K65F180M not functional on rev A0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403100#M22455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #3a0699;"&gt;OK, here is the solution, this binary needs to be updated on the TWR-k65 board and after that it just works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #3a0699;"&gt;&lt;A href="https://community.nxp.com/thread/358952"&gt;https://community.nxp.com/thread/358952&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #3a0699;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #3a0699;"&gt;- Press and hold RESET button (SW1).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #3a0699;"&gt;- Connect the mini-USB port (J7)&amp;nbsp; to give power to the board. It should enumerate as a BOOTLOADER volume.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #3a0699;"&gt;- Drag and drop the attached J-Link binary.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #3a0699;"&gt;- Disconnect and connect the USB cable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #3a0699;"&gt;- Now it should enumerate as J-Link debug interface. Try to connect with KDS using the Segger connection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #3a0699;"&gt;Binary is also attached here&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 23:32:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/JTAG-in-TWR-K65F180M-not-functional-on-rev-A0/m-p/403100#M22455</guid>
      <dc:creator>nitinharish</dc:creator>
      <dc:date>2015-11-16T23:32:36Z</dc:date>
    </item>
  </channel>
</rss>

