<?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: Bootloader not showing correct Flash size in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860223#M51479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zimi Van Ende,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1. &lt;SPAN class=""&gt;DAPLink rev0244 OpenSDA v2.2 Bootloader&lt;/SPAN&gt; : 0244_k20dx_bl_0x5000.bin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This is the bootloader code, it need to use the external debugger download to the FRDM-K64 on board K20 chip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Do you do it like that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2. After you download the bootloader to the K20 chip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Then enter the bootloader mode, you can send the JLINK firmware or the CMSIS DAP app code to the bootloader.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;DAPLink rev0244&lt;/SPAN&gt; is the CMSIS DAP firmware&lt;/P&gt;&lt;P&gt;The following is the JLINK firmware:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A class="link-titled" href="https://www.segger.com/downloads/jlink/OpenSDA_FRDM-K64F" title="https://www.segger.com/downloads/jlink/OpenSDA_FRDM-K64F"&gt;SEGGER - The Embedded Experts - Downloads&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you use the CMSIS DAP or the JLINK firmware on your side, do you still have the debug problems?&lt;/P&gt;&lt;P&gt;If you still have problems, please kindly let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Mar 2019 08:56:08 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2019-03-28T08:56:08Z</dc:date>
    <item>
      <title>Bootloader not showing correct Flash size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860221#M51477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I received the board it rebooted every 30 seconds. After finding out that the current bootloader was outdated and cooporating with Windows 10 I decided to update it. Following &lt;A href="https://www.nxp.com/support/developer-resources/run-time-software/kinetis-developer-resources/ides-for-kinetis-mcus/opensda-serial-and-debug-adapter:OPENSDA?&amp;amp;tid=vanOpenSDA#FRDM-K64F"&gt;these &lt;/A&gt;steps kept the board in bootloader when I chose "DAPLink rev0244 OpenSDA v2.2 Bootloader" and showing frdm-k64f when I chose "DAPLink rev0244", with the latter one it showed 63.9mb flash on Windows 10, but everything was working normal. This didn't look right to me so I kept digging to find what was wrong so I found &lt;A href="https://armmbed.github.io/DAPLink/"&gt;this&amp;nbsp;&lt;/A&gt;and followed these steps. The board booted up with the name "DAPLINK" as descriped, but still&amp;nbsp;&lt;SPAN&gt;63.9mb flash available.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this normal?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also have issues with random hard faults, freezing of the board on serial with the pc while it is doing a simple for loop with only waits and prints and the worst of all memory corruptions. I don't know whether or not this is a result of the bootloader.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 20:33:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860221#M51477</guid>
      <dc:creator>zvanende</dc:creator>
      <dc:date>2019-03-27T20:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader not showing correct Flash size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860222#M51478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;"and cooporating with Windows 10" =&amp;gt; "and not playing nice with Windows 10"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 20:40:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860222#M51478</guid>
      <dc:creator>zvanende</dc:creator>
      <dc:date>2019-03-27T20:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader not showing correct Flash size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860223#M51479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zimi Van Ende,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1. &lt;SPAN class=""&gt;DAPLink rev0244 OpenSDA v2.2 Bootloader&lt;/SPAN&gt; : 0244_k20dx_bl_0x5000.bin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This is the bootloader code, it need to use the external debugger download to the FRDM-K64 on board K20 chip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Do you do it like that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2. After you download the bootloader to the K20 chip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Then enter the bootloader mode, you can send the JLINK firmware or the CMSIS DAP app code to the bootloader.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;DAPLink rev0244&lt;/SPAN&gt; is the CMSIS DAP firmware&lt;/P&gt;&lt;P&gt;The following is the JLINK firmware:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A class="link-titled" href="https://www.segger.com/downloads/jlink/OpenSDA_FRDM-K64F" title="https://www.segger.com/downloads/jlink/OpenSDA_FRDM-K64F"&gt;SEGGER - The Embedded Experts - Downloads&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you use the CMSIS DAP or the JLINK firmware on your side, do you still have the debug problems?&lt;/P&gt;&lt;P&gt;If you still have problems, please kindly let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 08:56:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860223#M51479</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-03-28T08:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader not showing correct Flash size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860224#M51480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I don't use an external debugger. These things are like 200+ euro. I'm a student who wanted to work with the K64F as this was a nice cost efficient board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of the box the demo code wasn't working and it disconnected every 30 seconds. This is why I tried updating the bootloader. As I said flashing and debugging works, but it shows 63.9mb flash in windows and I get strange memory corruptions and random hard faults. Don't know if this is related to the bootloader, but I can't seem to isolate where the errors occure as they just happen randomly even in simple for loops with a wait in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on how to fix it? I just can't justify a 200 euro debugger to get a 30 euro board working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 09:35:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860224#M51480</guid>
      <dc:creator>zvanende</dc:creator>
      <dc:date>2019-03-28T09:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader not showing correct Flash size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860225#M51481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That being said I do have two K64F boards but both on the same daplink bootloader showing 63.9mb flash in windows. I was thinking maybe I can use these boards to update each other, but it's probably not going to work as both bootloaders are probably badly flashed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 09:42:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860225#M51481</guid>
      <dc:creator>zvanende</dc:creator>
      <dc:date>2019-03-28T09:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader not showing correct Flash size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860226#M51482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just found this one. Will this one do the trick?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://shop.segger.com/J_Link_EDU_mini_p/8.08.91.htm"&gt;https://shop.segger.com/J_Link_EDU_mini_p/8.08.91.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes do you have a detailed tutorial on how to properly do the whole process?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 10:17:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860226#M51482</guid>
      <dc:creator>zvanende</dc:creator>
      <dc:date>2019-03-28T10:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader not showing correct Flash size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860227#M51483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zimi Van Ende,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; After enter the bootloader(press the reset button and plug the usb cable), the DAPlink disc name is "MAINTENANCE"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62063iE085109C256E063B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am also 63.9MB, it is correct, it is just in the BOOTLOADER mode.&lt;/P&gt;&lt;P&gt;If you use the JLINK firmware, you will find the board is a device named as "FRDM-K64FJ"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62169i904C0F1BE38F7D17/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Now, you can use the JLINK to download the code to the board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;If you enter the bootloader, the device name is the same as me, it means you already use the new bootloader firmware.&lt;/P&gt;&lt;P&gt;But if your name is BOOTLOADER, you can try this way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Can you find a PC with win7, the FRDM-K64 should works OK in win7 system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you have two FRDM-K64 board, you can use one as the debugger, change the on board debugger to the JLINK firmware, then download the new bootloader code to another FRDM-K64 board's K20 chip.&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can try it on your side.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you still have question about it, please kindly let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 07:00:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860227#M51483</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-03-29T07:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader not showing correct Flash size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860228#M51484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I've noticed. I the bootloader was succesfully updated without an external debugger. The incorrect size was the thing that was worrying me. Knowing this is the same with others I can continue knowing my issues don't originate in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a little followup question. What firmware do you recommend when NOT using mbed? Meaning using Zephir OS or the MCUXpresso SDK.&lt;/P&gt;&lt;P&gt;- Latest Daplink?&lt;/P&gt;&lt;P&gt;- Jlink?&lt;/P&gt;&lt;P&gt;- P&amp;amp;E?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide a link to which you prefer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 09:24:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860228#M51484</guid>
      <dc:creator>zvanende</dc:creator>
      <dc:date>2019-03-29T09:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader not showing correct Flash size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860229#M51485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zimi Van Ende,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; About what the firmware is recommended, it is totally determined by your favorite.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Normally, I like to use the JLINK or the CMSIS DAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question about it, please let me know.&lt;/P&gt;&lt;P&gt;If your question is solved, please help me to mark the correct answer, JUST to close this case, thank you!.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 10:39:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bootloader-not-showing-correct-Flash-size/m-p/860229#M51485</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-04-01T10:39:36Z</dc:date>
    </item>
  </channel>
</rss>

