<?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 Unable to Flash the target in TWR-K64F120M in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-Flash-the-target-in-TWR-K64F120M/m-p/310333#M13341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m trying to flash the K64 target in the TWR-K64F120M using the P&amp;amp;E Debugger.&lt;/P&gt;&lt;P&gt;I´m using Keil uVision V5. When I try to flash, I get ERROR 18 (see picture below). I can see that the Selected device is not MK64, I´ve tried with different K60 targets, and in the PEMICRO Connection Manager window previous programming, is showed "Target CPU: ARM-Autodetect" &lt;/P&gt;&lt;P&gt;Might be this the issue? Where can I find the right target file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="P&amp;amp;E_debugger_error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43450i0ED01E175467655E/image-size/large?v=v2&amp;amp;px=999" role="button" title="P&amp;amp;E_debugger_error.png" alt="P&amp;amp;E_debugger_error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I´ve checked the installed bootloader app version and seems to be the last one (v1.14):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="OpenOCDversion_in_TWr.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43451i793D1DE78C179B78/image-size/large?v=v2&amp;amp;px=999" role="button" title="OpenOCDversion_in_TWr.png" alt="OpenOCDversion_in_TWr.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I´ve also tried with the Toolchain proposed in &lt;A href="http://mcuoneclipse.com/" title="http://mcuoneclipse.com/"&gt;MCU on Eclipse | Everything on Eclipse, Microcontrollers and Software&lt;/A&gt; (Eclipse Kepler + P&amp;amp;E GDB server) and this is the output I get:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="P&amp;amp;E Server Error output.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43453iBBD4F8C34385827D/image-size/large?v=v2&amp;amp;px=999" role="button" title="P&amp;amp;E Server Error output.png" alt="P&amp;amp;E Server Error output.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the TWR board, I´ve installed J39 (SWD_CLK_TGTMCU), and J10,J15 are in position 2-3 (UART1_TX_K20_EN &amp;amp; UART1_RX_K20_EN connected to the target)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Board serial number: 631879-00873-0214-27943&lt;/P&gt;&lt;P&gt;Schematic rev.: 27943 REV B1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;Daniel Mancuso -&amp;nbsp; Hardware Engineer @ relayr.io&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Apr 2014 17:13:14 GMT</pubDate>
    <dc:creator>danielmancuso</dc:creator>
    <dc:date>2014-04-03T17:13:14Z</dc:date>
    <item>
      <title>Unable to Flash the target in TWR-K64F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-Flash-the-target-in-TWR-K64F120M/m-p/310333#M13341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m trying to flash the K64 target in the TWR-K64F120M using the P&amp;amp;E Debugger.&lt;/P&gt;&lt;P&gt;I´m using Keil uVision V5. When I try to flash, I get ERROR 18 (see picture below). I can see that the Selected device is not MK64, I´ve tried with different K60 targets, and in the PEMICRO Connection Manager window previous programming, is showed "Target CPU: ARM-Autodetect" &lt;/P&gt;&lt;P&gt;Might be this the issue? Where can I find the right target file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="P&amp;amp;E_debugger_error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43450i0ED01E175467655E/image-size/large?v=v2&amp;amp;px=999" role="button" title="P&amp;amp;E_debugger_error.png" alt="P&amp;amp;E_debugger_error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I´ve checked the installed bootloader app version and seems to be the last one (v1.14):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="OpenOCDversion_in_TWr.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43451i793D1DE78C179B78/image-size/large?v=v2&amp;amp;px=999" role="button" title="OpenOCDversion_in_TWr.png" alt="OpenOCDversion_in_TWr.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I´ve also tried with the Toolchain proposed in &lt;A href="http://mcuoneclipse.com/" title="http://mcuoneclipse.com/"&gt;MCU on Eclipse | Everything on Eclipse, Microcontrollers and Software&lt;/A&gt; (Eclipse Kepler + P&amp;amp;E GDB server) and this is the output I get:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="P&amp;amp;E Server Error output.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43453iBBD4F8C34385827D/image-size/large?v=v2&amp;amp;px=999" role="button" title="P&amp;amp;E Server Error output.png" alt="P&amp;amp;E Server Error output.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the TWR board, I´ve installed J39 (SWD_CLK_TGTMCU), and J10,J15 are in position 2-3 (UART1_TX_K20_EN &amp;amp; UART1_RX_K20_EN connected to the target)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Board serial number: 631879-00873-0214-27943&lt;/P&gt;&lt;P&gt;Schematic rev.: 27943 REV B1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;Daniel Mancuso -&amp;nbsp; Hardware Engineer @ relayr.io&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 17:13:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-Flash-the-target-in-TWR-K64F120M/m-p/310333#M13341</guid>
      <dc:creator>danielmancuso</dc:creator>
      <dc:date>2014-04-03T17:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Flash the target in TWR-K64F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-Flash-the-target-in-TWR-K64F120M/m-p/310334#M13342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you by any chance tried with CodeWarrior v10.5 or v10.6?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried from my side with the same board revision and it worked out of the box with CW using OpenSDA (indeed the board has the jumper setup mentioned by Erich).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this is not the answer you are looking for, but right know I do not have the software tools you mention. If I can get to recreate a similar environment I will give you my feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 02:17:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-Flash-the-target-in-TWR-K64F120M/m-p/310334#M13342</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-04-08T02:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Flash the target in TWR-K64F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-Flash-the-target-in-TWR-K64F120M/m-p/310335#M13343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the TWR-K64F120M, J39 connects the clock from the on board OpenSDA to the K64's JTAG port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J39 needs to be installed when using OpenSDA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J39 needs to be removed when using an external JTAG device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not clear if you're using a P&amp;amp;E JTAG tool or OpenSDA.&amp;nbsp; If you're using a P&amp;amp;E tool, please remove J39 and see if that resolves your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Gary Segal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 11:10:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-Flash-the-target-in-TWR-K64F120M/m-p/310335#M13343</guid>
      <dc:creator>GarySegal</dc:creator>
      <dc:date>2014-05-09T11:10:48Z</dc:date>
    </item>
  </channel>
</rss>

