<?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 Re: OpenSDA on K22F bricked in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDA-on-K22F-bricked/m-p/426963#M24635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See &lt;A href="http://mcuoneclipse.com/2014/11/10/recovering-the-frdm-k64f-bootloader-or-cloning-the-program-of-a-microcontroller/" title="http://mcuoneclipse.com/2014/11/10/recovering-the-frdm-k64f-bootloader-or-cloning-the-program-of-a-microcontroller/"&gt;Recovering the FRDM-K64F Bootloader, or: Cloning the Program of a Microcontroller | MCU on Eclipse&lt;/A&gt; . Keep in mind that the FRDM-K64F and the FRDM-K22F are using bootloaders with different base address.&lt;/P&gt;&lt;P&gt;You can get the files as well here: &lt;A href="http://nxp.com/opensda" title="http://nxp.com/opensda"&gt;OpenSDA Serial and Debug Adapter|NXP&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2016 19:30:10 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2016-04-06T19:30:10Z</dc:date>
    <item>
      <title>OpenSDA on K22F bricked</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDA-on-K22F-bricked/m-p/426958#M24630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quite a problem.&lt;/P&gt;&lt;P&gt;It appears I bricked the bootloader on one of my K22F boards.&lt;/P&gt;&lt;P&gt;How do I recover it? I tried flashing OpenSDA with an external CMSIS-DAP adapter using OpenOCD.&lt;/P&gt;&lt;P&gt;Even though it said it had successfully managed to write the data the bootloader isn't working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone please give me a hint or two as of what to do in this situation?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 11:09:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDA-on-K22F-bricked/m-p/426958#M24630</guid>
      <dc:creator>imq009</dc:creator>
      <dc:date>2015-09-04T11:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDA on K22F bricked</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDA-on-K22F-bricked/m-p/426959#M24631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Slawomir Blauciak:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose you have a FRDM-K22F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try holding down the reset button (SW1) and then connect the USB cable to J5 (micro-USB). Can you see the board enumerated as BOOTLOADER in your PC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can see it then the bootloader must be working. Try loading either the attached P&amp;amp;E or Segger J-Link binary to the BOOTLOADER volume:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P&amp;amp;E: &lt;STRONG&gt;DEBUG-FRDM-K22F_Pemicro_v108b_for_OpenSDA_v2.1.bin&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Segger: &lt;STRONG&gt;​JLink_OpenSDA_V2_1.bin&lt;/STRONG&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you cannot see the BOOTLOADER volume enumerated, then you are correct that the firmware in the K20DX128 should be corrupted. For that case you need an external programmer (e.g. P&amp;amp;E Universal Multilink or Segger J-Link) to program the on-board K20 with the bootloader firmware attached (called &lt;STRONG&gt;0221_k20dx128_k22f_0x8000.bin&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&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>Thu, 10 Sep 2015 03:39:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDA-on-K22F-bricked/m-p/426959#M24631</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-09-10T03:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDA on K22F bricked</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDA-on-K22F-bricked/m-p/426960#M24632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I seem to have the same problem with my FRDM-K22F - I do have a P&amp;amp;E Multilink and am using Kinetis Design Studio, and the "Flash from File" function doesn't seem to support .bin files?&amp;nbsp; When I try, I get the following errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in final launch sequence&lt;/P&gt;&lt;P&gt;Failed to execute MI command:&lt;/P&gt;&lt;P&gt;symbol-file "E:\\chris\\tools\\debug binary for frdm-k22f - 0221_k20dx128_k22f_0x8000.bin"&lt;/P&gt;&lt;P&gt;Error message from debugger back end:&lt;/P&gt;&lt;P&gt;`E:\chris\tools\debug binary for frdm-k22f - 0221_k20dx128_k22f_0x8000.bin': can't read symbols: File format not recognized.&lt;/P&gt;&lt;P&gt;`E:\chris\tools\debug binary for frdm-k22f - 0221_k20dx128_k22f_0x8000.bin': can't read symbols: File format not recognized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jorge, are you aware of a way to use KDS to flash .bin files? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers, Chris Paynter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 20:23:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDA-on-K22F-bricked/m-p/426960#M24632</guid>
      <dc:creator>cwpaynter</dc:creator>
      <dc:date>2016-01-29T20:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDA on K22F bricked</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDA-on-K22F-bricked/m-p/426961#M24633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was eventually able to get my FRDM-K22F working again via the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- dug out old IAR / Segger J-link from a past life&lt;/P&gt;&lt;P&gt;- used JLink Commander (command line tool) to dump the K20 contents from another working FRDM-K22F board&lt;/P&gt;&lt;P&gt;- write those contents into the K20 on the bricked unit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly, I was not able to ever get the P&amp;amp;E debugger to work with the K20, though the JLink had no problem.&amp;nbsp; I also tried programming just the "&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;frdm-k22f - 0221_k20dx128_k22f_0x8000.bin&lt;/SPAN&gt;" file into the K20, and that didn't work either.&amp;nbsp; Doing a file compare on the dump from the working FRDM board and the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;frdm-k22f - 0221_k20dx128_k22f_0x8000.bin file shows quite a few differences.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 23:08:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDA-on-K22F-bricked/m-p/426961#M24633</guid>
      <dc:creator>cwpaynter</dc:creator>
      <dc:date>2016-01-29T23:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDA on K22F bricked</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDA-on-K22F-bricked/m-p/426962#M24634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris Paynter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you share your dump .bin file? I have only one K22F bricked and I can't to dump the k20 memory.&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;Kleber.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 19:10:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDA-on-K22F-bricked/m-p/426962#M24634</guid>
      <dc:creator>kgouveia</dc:creator>
      <dc:date>2016-04-06T19:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDA on K22F bricked</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDA-on-K22F-bricked/m-p/426963#M24635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See &lt;A href="http://mcuoneclipse.com/2014/11/10/recovering-the-frdm-k64f-bootloader-or-cloning-the-program-of-a-microcontroller/" title="http://mcuoneclipse.com/2014/11/10/recovering-the-frdm-k64f-bootloader-or-cloning-the-program-of-a-microcontroller/"&gt;Recovering the FRDM-K64F Bootloader, or: Cloning the Program of a Microcontroller | MCU on Eclipse&lt;/A&gt; . Keep in mind that the FRDM-K64F and the FRDM-K22F are using bootloaders with different base address.&lt;/P&gt;&lt;P&gt;You can get the files as well here: &lt;A href="http://nxp.com/opensda" title="http://nxp.com/opensda"&gt;OpenSDA Serial and Debug Adapter|NXP&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 19:30:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDA-on-K22F-bricked/m-p/426963#M24635</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-04-06T19:30:10Z</dc:date>
    </item>
  </channel>
</rss>

