<?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 Using FRDM-K66F with Segger Jlink and JTAG on J9 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FRDM-K66F-with-Segger-Jlink-and-JTAG-on-J9/m-p/508238#M31960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm considering buying a Freedom FRDM-K66F development platform but want to use it with a Segger Jlink &amp;amp; JTAG rather than SWD. In the FRDMK66FUG user manual (pages 7,8 &amp;amp; 19) it details how to cut the SWD lines bridged by J8 &amp;amp; J12 but looking at the J9 programming connector it seems to lack a TDI connection and a pin9 GND connection to make it into a standard JTAG connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After cutting the SWD signals do I need to connect TDI to pin8, and another ground to pin 9 for the Segger J-link to work correctly? I'm wondering why these signals are not connected anyway, and left unconnected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Mar 2016 06:00:06 GMT</pubDate>
    <dc:creator>petec20</dc:creator>
    <dc:date>2016-03-26T06:00:06Z</dc:date>
    <item>
      <title>Using FRDM-K66F with Segger Jlink and JTAG on J9</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FRDM-K66F-with-Segger-Jlink-and-JTAG-on-J9/m-p/508238#M31960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm considering buying a Freedom FRDM-K66F development platform but want to use it with a Segger Jlink &amp;amp; JTAG rather than SWD. In the FRDMK66FUG user manual (pages 7,8 &amp;amp; 19) it details how to cut the SWD lines bridged by J8 &amp;amp; J12 but looking at the J9 programming connector it seems to lack a TDI connection and a pin9 GND connection to make it into a standard JTAG connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After cutting the SWD signals do I need to connect TDI to pin8, and another ground to pin 9 for the Segger J-link to work correctly? I'm wondering why these signals are not connected anyway, and left unconnected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Mar 2016 06:00:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FRDM-K66F-with-Segger-Jlink-and-JTAG-on-J9/m-p/508238#M31960</guid>
      <dc:creator>petec20</dc:creator>
      <dc:date>2016-03-26T06:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using FRDM-K66F with Segger Jlink and JTAG on J9</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FRDM-K66F-with-Segger-Jlink-and-JTAG-on-J9/m-p/508239#M31961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the FRDM-K66F board user manual, there shows the board only provides the SWD interface:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2016-03-22_10-49-48.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26415i1E3B98BC9F93B067/image-size/large?v=v2&amp;amp;px=999" role="button" title="2016-03-22_10-49-48.jpg" alt="2016-03-22_10-49-48.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The FRDM-K66F board is a low cost board, which could not provide full feature for K66 chip evaluation.&lt;/P&gt;&lt;P&gt;Customer could refer TWR-K65F180M board about JTAG debug interface design:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2016-03-22_10-49-48.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3132iD9CD67C70C1AA4F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="2016-03-22_10-49-48.jpg" alt="2016-03-22_10-49-48.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&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>Mon, 28 Mar 2016 03:10:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FRDM-K66F-with-Segger-Jlink-and-JTAG-on-J9/m-p/508239#M31961</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-03-28T03:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using FRDM-K66F with Segger Jlink and JTAG on J9</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FRDM-K66F-with-Segger-Jlink-and-JTAG-on-J9/m-p/508240#M31962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou for the reply Ma Hui. I did find that the FRDM-K66F works OK with JTAG if it's modified as above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 02:34:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FRDM-K66F-with-Segger-Jlink-and-JTAG-on-J9/m-p/508240#M31962</guid>
      <dc:creator>petec20</dc:creator>
      <dc:date>2016-05-24T02:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using FRDM-K66F with Segger Jlink and JTAG on J9</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FRDM-K66F-with-Segger-Jlink-and-JTAG-on-J9/m-p/1309824#M61052</link>
      <description>&lt;P&gt;dear peter&lt;/P&gt;&lt;P&gt;i know it has been a long time but recently i brought a FRDMK66 to work on using my segger jlink&lt;/P&gt;&lt;P&gt;and i followed your example but i could not even erase the memory using jlink commander&lt;/P&gt;&lt;P&gt;looking at the comments above, it seems disconnecting j8 and j12 actually disconnects the jtag from the resident k66&lt;/P&gt;&lt;P&gt;i am not using an outside target k66,&amp;nbsp; i want to use the FRDMK66 cpu&lt;/P&gt;&lt;P&gt;what did i do wrong?&lt;/P&gt;&lt;P&gt;any help would be greatly appreciated&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 11:26:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FRDM-K66F-with-Segger-Jlink-and-JTAG-on-J9/m-p/1309824#M61052</guid>
      <dc:creator>johntse</dc:creator>
      <dc:date>2021-07-19T11:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using FRDM-K66F with Segger Jlink and JTAG on J9</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FRDM-K66F-with-Segger-Jlink-and-JTAG-on-J9/m-p/1309827#M61053</link>
      <description>&lt;P&gt;dear Hui Ma&lt;/P&gt;&lt;P&gt;i know it has been a long time but recently i brought a FRDMK66 to work on using my segger jlink&lt;/P&gt;&lt;P&gt;and i followed your example but i could not even erase the memory using jlink commander&lt;/P&gt;&lt;P&gt;looking at the comments above and to peter, it seems disconnecting j8 and j12 actually disconnects the jtag from the resident k66&lt;/P&gt;&lt;P&gt;i am not using an outside target k66,&amp;nbsp; i want to use the FRDMK66 cpu with my jlink&lt;/P&gt;&lt;P&gt;i could use my jlink on similar 10pin jtag connector on my FRDMK64 board&lt;/P&gt;&lt;P&gt;what did i do wrong?&lt;/P&gt;&lt;P&gt;any help would be greatly appreciated&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 11:28:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FRDM-K66F-with-Segger-Jlink-and-JTAG-on-J9/m-p/1309827#M61053</guid>
      <dc:creator>johntse</dc:creator>
      <dc:date>2021-07-19T11:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using FRDM-K66F with Segger Jlink and JTAG on J9</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FRDM-K66F-with-Segger-Jlink-and-JTAG-on-J9/m-p/1310597#M61062</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39708"&gt;@johntse&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm not sure what the problem is (or was for me): for me too, it was not possible to use an external debug probe (J-Link EDU in my case) on J9. I suspect it is a problem by the factory default bootloader (DAPLink) and firmware (I believe it was a J-Link firmware loaded by default). I was able to debug it the device with OpenSDA, but using an external debug probe failed. I suspect it was because the K20 and its firmware were pulling some signals high/low which should be tristated.&lt;/P&gt;&lt;P&gt;Anyway, I was able to solve it:&lt;/P&gt;&lt;P&gt;- not changing anything on the board hardware (default jumpers, etc)&lt;/P&gt;&lt;P&gt;- programmed the K20 (using a J-Link on J10) and replaced the firmware on the K20 with the bootloader from my article (&lt;A href="https://mcuoneclipse.com/2017/10/29/adding-a-delay-to-the-arm-daplink-bootloader/" target="_blank" rel="noopener"&gt;https://mcuoneclipse.com/2017/10/29/adding-a-delay-to-the-arm-daplink-bootloader/&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;- optionally load the SEGGER V2.1 'generic' firmware on it.&lt;/P&gt;&lt;P&gt;The key to a working board for me was to get rid of that original firmware on the K20.&lt;/P&gt;&lt;P&gt;You find that patched K20 bootloader at the end (links section) of the above article.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_7021.jpeg" style="width: 749px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/150336i4F1C3AA77EDF8836/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_7021.jpeg" alt="IMG_7021.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 16:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FRDM-K66F-with-Segger-Jlink-and-JTAG-on-J9/m-p/1310597#M61062</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-07-20T16:23:19Z</dc:date>
    </item>
  </channel>
</rss>

