<?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: How to use Kinetis Bootloader 2.0 in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847306#M855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem has gone.&lt;/P&gt;&lt;P&gt;After re-copying Kinetis Bootloader 2.0 and rebuild the program, updating succeeds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still there's another problem.&lt;/P&gt;&lt;P&gt;Just after updating the firmware (led-demo), once "FSL Loader" drive has gone then appears again at once.&lt;/P&gt;&lt;P&gt;So I seem the bootloader starts again.&lt;/P&gt;&lt;P&gt;I'm thinking about which program has cause of this, bootloader or led-demo...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2018 07:10:57 GMT</pubDate>
    <dc:creator>shuichiy</dc:creator>
    <dc:date>2018-10-30T07:10:57Z</dc:date>
    <item>
      <title>How to use Kinetis Bootloader 2.0</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847305#M854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a custom board which has a MK22FN128VLH10.&lt;/P&gt;&lt;P&gt;Now I'm trying to update the firmware using Kinetis Bootloader 2.0.&lt;/P&gt;&lt;P&gt;At first I have tested the scenario on FRDM-K22F and everything is O.K.&lt;/P&gt;&lt;P&gt;Next I have done using the custom board as follows:&lt;/P&gt;&lt;P&gt;1. Import led_demo_tower_a000 project from apps\led_demo\MK22F12810\kds on KDS then build it (release).&lt;/P&gt;&lt;P&gt;2. Import tower_bootloader project from&amp;nbsp;targets\MK22F12810\kds on KDS then build it (release).&lt;/P&gt;&lt;P&gt;3. Run tower_bootloader then "FSL Loader" drive appears on Windows.&lt;/P&gt;&lt;P&gt;4. Run KinetisFlashTool on Windows then select "USB-HID" and connect.&lt;/P&gt;&lt;P&gt;5. Click "Update" button then following messages appeared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Connected to device successfully!&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Collecting device information......&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Device information is updated!&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Start update progress......&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Updating image......&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Error: Update image failed(kStatusMemoryRangeInvalid).&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Update process is stopped by error.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think I have something mistakes or misunderstanding ?&lt;/P&gt;&lt;P&gt;Your any comments would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 07:32:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847305#M854</guid>
      <dc:creator>shuichiy</dc:creator>
      <dc:date>2018-10-29T07:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Kinetis Bootloader 2.0</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847306#M855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem has gone.&lt;/P&gt;&lt;P&gt;After re-copying Kinetis Bootloader 2.0 and rebuild the program, updating succeeds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still there's another problem.&lt;/P&gt;&lt;P&gt;Just after updating the firmware (led-demo), once "FSL Loader" drive has gone then appears again at once.&lt;/P&gt;&lt;P&gt;So I seem the bootloader starts again.&lt;/P&gt;&lt;P&gt;I'm thinking about which program has cause of this, bootloader or led-demo...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 07:10:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847306#M855</guid>
      <dc:creator>shuichiy</dc:creator>
      <dc:date>2018-10-30T07:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Kinetis Bootloader 2.0</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847307#M856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shuichiy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to below thread for the procedure.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/457707"&gt;Setting up Kinetis bootloader on MK22FN128 unsuccessful.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I also copied here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please open KBOOT2.0:NXP_Kinetis_Bootloader_2_0_0\NXP_Kinetis_Bootloader_2_0_0\targets\MK22F12810&lt;/P&gt;&lt;P&gt;&amp;nbsp;1&amp;nbsp; Use tower bootloader:&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/66869i45C2DDF84C3B78DD/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;2 Download this bootloader to your chip, then modify your application code, and relocate it to 0XA000, build and generate the app.bin file.&lt;/P&gt;&lt;P&gt;3. You can use kinetisFlashTool to download your application code, the tool can be found in folder:&lt;/P&gt;&lt;P&gt;&amp;nbsp;NXP_Kinetis_Bootloader_2_0_0\NXP_Kinetis_Bootloader_2_0_0\bin\Tools\KinetisFlashTool\win&lt;/P&gt;&lt;P&gt;After you download the application code successfully, you still can download the new application with the fixed flash bootloader again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 08:02:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847307#M856</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-10-30T08:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Kinetis Bootloader 2.0</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847308#M857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe the led-demo not update successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 08:07:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847308#M857</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-10-30T08:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Kinetis Bootloader 2.0</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847309#M858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I carefully read the thread then tried again, but the situation has not changed.&lt;/P&gt;&lt;P&gt;I tried to update the firmware using both .bin and Intel hex, updating successfully finished but "FSL Folder" drive comes back promptly.&lt;/P&gt;&lt;P&gt;Here is contents of INFO.TXT in the drive and a bitmap of Flash tool.&lt;/P&gt;&lt;P&gt;If you can add any comments, please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;EM&gt;Kinetis Bootloader K2.0.0&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;System device ID: 0x22000695&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Flash size: 131072 bytes&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Flash range: 0x00000000-0x0001ffff&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Flash sector size: 2048 bytes&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Flash blocks: 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;RAM size: 24576 bytes&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;RAM range: 0x1fffe000-0x20003fff&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Reserved region 0: 0x00000000-0x00006fff&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Reserved region 1: 0x1fffe000-0x2000051f&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Verify writes: yes&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Check reserved regions: yes&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Boot config present: yes&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Peripheral detection timeout: 5000 ms&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CPU clock: 48000000 Hz&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="kft.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67347i15A29139929BD828/image-size/large?v=v2&amp;amp;px=999" role="button" title="kft.jpg" alt="kft.jpg" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 08:47:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847309#M858</guid>
      <dc:creator>shuichiy</dc:creator>
      <dc:date>2018-10-30T08:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Kinetis Bootloader 2.0</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847310#M859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG class=""&gt;&lt;SPAN class=""&gt;shuichiy&lt;/SPAN&gt;&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please be aware of the difference of flashloader_loader and flashloader, one is one-shot, the other is always in boot mode.&amp;nbsp; If you are using flashloader, it is normal to stay in boot mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 08:51:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847310#M859</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-10-30T08:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Kinetis Bootloader 2.0</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847311#M860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I'm using Tower bootloader as attached bitmap.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="kds.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67535i69F24DD3AA20A71B/image-size/large?v=v2&amp;amp;px=999" role="button" title="kds.jpg" alt="kds.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 08:57:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847311#M860</guid>
      <dc:creator>shuichiy</dc:creator>
      <dc:date>2018-10-30T08:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Kinetis Bootloader 2.0</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847312#M861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; &lt;STRONG class=""&gt;&lt;SPAN class=""&gt;shuichiy&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are running Tower_bootloader,&amp;nbsp; If your FSL_Loader gone and appears again, probably your LED demo not update successfully. Did you see the led blinking?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before you begin the update process, please make sure KinetisFlashTool connected correctly, see below picture.&lt;/P&gt;&lt;P&gt;&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/67770i8E5E914EE956E1A6/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;&lt;STRONG class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then you can update your led demo.&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/67814i52E97A7810842331/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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 06:40:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847312#M861</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-10-31T06:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Kinetis Bootloader 2.0</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847313#M862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Daniel.&lt;/P&gt;&lt;P&gt;Finally I have succeeded to update the firmware!&lt;/P&gt;&lt;P&gt;I needed to modify&amp;nbsp;is_boot_pin_asserted API in&amp;nbsp;hardware_init_K22F128R.c that it should always return false.&lt;/P&gt;&lt;P&gt;It seems the bootloader checks button status&amp;nbsp; on FRDM/Tower boards but our custom board has no button.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 07:03:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/How-to-use-Kinetis-Bootloader-2-0/m-p/847313#M862</guid>
      <dc:creator>shuichiy</dc:creator>
      <dc:date>2018-10-31T07:03:53Z</dc:date>
    </item>
  </channel>
</rss>

