<?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: FRDM-K22F Bootloader not working on Win10 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-Bootloader-not-working-on-Win10/m-p/907085#M53227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just downloaded the latest DAPLink version available at &lt;A class="link-titled" href="https://armmbed.github.io/DAPLink/" title="https://armmbed.github.io/DAPLink/"&gt;DAPLink&lt;/A&gt;&amp;nbsp; and all my problems are gone, anyway I needed the firmware version you provided to get to this step, thanks a lot!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 May 2019 16:10:00 GMT</pubDate>
    <dc:creator>augustopanecatl</dc:creator>
    <dc:date>2019-05-13T16:10:00Z</dc:date>
    <item>
      <title>FRDM-K22F Bootloader not working on Win10</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-Bootloader-not-working-on-Win10/m-p/907082#M53224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just acquired a couple of &lt;EM&gt;&lt;STRONG&gt;FRDM-K22F&lt;/STRONG&gt;&lt;/EM&gt; dev boards, as soon as I connected them both, the freaking bootloader got corrupted (I'm working on a &lt;EM&gt;&lt;STRONG&gt;Win10 PC&lt;/STRONG&gt;&lt;/EM&gt;), I started researching some and then more regarding the issue, I already checked &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ErichS"&gt;ErichS&lt;/A&gt; posts and eclipse site regarding the problem. I downloaded his &lt;STRONG&gt;&lt;EM&gt;K20_dx128 Bootloader s19 file&lt;/EM&gt;&lt;/STRONG&gt; from the Github site and programmed the freedom boards using a Multilink Universal debugger in a dummy Kinetis IDE project using the corresping launch config. (so far so good) once I unplug-plug the board it enumerates as bootloader (without having pressed de RST before plugging it) and shows the appropiate 2 files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Bootloader.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80259i64935A0270586AA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bootloader.png" alt="Bootloader.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Details.txt&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;# DAPLink Firmware - see &lt;A href="https://mbed.com/daplink" target="test_blank"&gt;https://mbed.com/daplink&lt;/A&gt;&lt;BR /&gt;Unique ID: 0000000050234e45002d0006eaee000608e1000097969900&lt;BR /&gt;HIC ID: 97969900&lt;BR /&gt;Auto Reset: 0&lt;BR /&gt;Automation allowed: 1&lt;BR /&gt;Daplink Mode: Bootloader&lt;BR /&gt;Bootloader Version: 0241&lt;BR /&gt;Git SHA: be5afd34db2efe1e08d72fa23b3a68ab2625d9a3&lt;BR /&gt;Local Mods: 1&lt;BR /&gt;USB Interfaces: MSD&lt;BR /&gt;Bootloader CRC: 0x439c8da1&lt;BR /&gt;Interface CRC: 0xb5ee299c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I can tell it looks good, after that I plug it holding the RST button to enter make sure I'm entering bootloader so I can add the OpenSDA debug tool I dragged the bin: "&lt;EM&gt;&lt;STRONG&gt;DEBUG_OpenSDA_for_MBED_Bootloader_by_Pemicro_v2.1.bin&lt;/STRONG&gt;&lt;/EM&gt;" I got from the P&amp;amp;E Micro website, the file transfer seems succesful (green led blinking), once the file transfer is completed the board disconnects, the browser window closes and the red led the middle of the board turns on. If I plug it and unplug it the board fails to enumerate. If I plug it while pressing RST, it enumerates in bootloader mode (previous image).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried using some other files like "&lt;STRONG&gt;&lt;EM&gt;DEBUG-FRDM-K22F_Pemicro_v108b_for_OpenSDA_v2.1.bin&lt;/EM&gt;&lt;/STRONG&gt;" and "&lt;STRONG&gt;&lt;EM&gt;MSD-DEBUG-FRDM-K22F_Pemicro_v114.SDA&lt;/EM&gt;&lt;/STRONG&gt;", when I use that file, after the file transfer the board disconnects-connect again it enumerates as bootloader, this time including a third file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fail.txt&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;There was am error during file transfer&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Tranfer timeout&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sorry I dont have a screenshot for this)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the original problem was the fact that the bootloader was being overwritten by Win10 during the enumeration I disabled the option by which WIn creates a System Volume Information folder in external drives by executing:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;gpedit.msc (Local Group Policy Editor)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Computer Configuration -&amp;gt; Administrative Templates -&amp;gt; Windows Components -&amp;gt; Search&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Do not allow locations on removable drives to be added to libraries (click on enable)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Apply &amp;gt;&amp;gt; OK&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;services.msc (windows startup services)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Windows search (double click)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Startup type (Disabled)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This of course affects the way some drives enumerate, but so far I have had no problems with any device, however I still have the same issue, has anyone been able to solve it succesfully? I keep reading discouraging posts regarding this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 18:19:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-Bootloader-not-working-on-Win10/m-p/907082#M53224</guid>
      <dc:creator>augustopanecatl</dc:creator>
      <dc:date>2019-05-09T18:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K22F Bootloader not working on Win10</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-Bootloader-not-working-on-Win10/m-p/907083#M53225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 241 bootloader is rather old. I suggest you use the 244 version.&lt;/P&gt;&lt;P&gt;You can get a patched 244 version from here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/ErichStyger/mcuoneclipse/tree/master/OpenSDA/OpenSDA%20V2.2/mbed%20DAPLink%20v244" title="https://github.com/ErichStyger/mcuoneclipse/tree/master/OpenSDA/OpenSDA%20V2.2/mbed%20DAPLink%20v244"&gt;mcuoneclipse/OpenSDA/OpenSDA V2.2/mbed DAPLink v244 at master · ErichStyger/mcuoneclipse · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using that one on many boards (including FRDM-K22F) with Windows 10 without issues.&lt;/P&gt;&lt;P&gt;That bootloader addes an extra delay to the reset line handling (see &lt;A class="link-titled" href="https://mcuoneclipse.com/2017/10/29/adding-a-delay-to-the-arm-daplink-bootloader/" title="https://mcuoneclipse.com/2017/10/29/adding-a-delay-to-the-arm-daplink-bootloader/"&gt;Adding a Delay to the ARM DAPLink Bootloader | MCU on Eclipse&lt;/A&gt;&amp;nbsp;) in case the attached hardware is coming out of reset too early.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 13:47:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-Bootloader-not-working-on-Win10/m-p/907083#M53225</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2019-05-10T13:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K22F Bootloader not working on Win10</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-Bootloader-not-working-on-Win10/m-p/907084#M53226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich, I tried using the v2.44 Bootloader fromthe link you provided, first I converted the file to S19 using the P&amp;amp;EMicro Bin2S19 tool (tried the GNU Tool first but it shows invaled bfdname error). The file downloads succesfully but when I plug the USB cable in bootloader mode (pressed RST button while plugginf cable) it enumerates in MAINTENANCE mode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot 2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80976i5CBCF9389911047A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2.png" alt="Screenshot 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I open the help link, where it states the DAPLink needs an firmware update. Any thoughts on it? I guess the bin 2 s19 conversion could have gone wrong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2019 15:16:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-Bootloader-not-working-on-Win10/m-p/907084#M53226</guid>
      <dc:creator>augustopanecatl</dc:creator>
      <dc:date>2019-05-13T15:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K22F Bootloader not working on Win10</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-Bootloader-not-working-on-Win10/m-p/907085#M53227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just downloaded the latest DAPLink version available at &lt;A class="link-titled" href="https://armmbed.github.io/DAPLink/" title="https://armmbed.github.io/DAPLink/"&gt;DAPLink&lt;/A&gt;&amp;nbsp; and all my problems are gone, anyway I needed the firmware version you provided to get to this step, thanks a lot!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2019 16:10:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-Bootloader-not-working-on-Win10/m-p/907085#M53227</guid>
      <dc:creator>augustopanecatl</dc:creator>
      <dc:date>2019-05-13T16:10:00Z</dc:date>
    </item>
  </channel>
</rss>

