<?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: KW24 OTA Bootloader never starts in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/KW24-OTA-Bootloader-never-starts/m-p/731780#M3990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will&amp;nbsp;depend on the iDE you are using, but by any chance did you set the Bootloader configuration in the project? This configuration it's mentioned in the&amp;nbsp;Kinetis Thread Stack Over-the-Air (OTA) Firmware Update User’s Guide.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The gUseBootloaderLink_d should be set to 1 to tell the application the where it should be located.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Estephania&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Nov 2017 23:46:23 GMT</pubDate>
    <dc:creator>stephanie_m</dc:creator>
    <dc:date>2017-11-23T23:46:23Z</dc:date>
    <item>
      <title>KW24 OTA Bootloader never starts</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW24-OTA-Bootloader-never-starts/m-p/731779#M3989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks!!&lt;/P&gt;&lt;P&gt;I am working with KW24D512 and I am trying to add ota functionality to my application.&lt;/P&gt;&lt;P&gt;I have added ota client to my own application.&lt;/P&gt;&lt;P&gt;The new image is stored into internal flash (gEepromDevice_InternalFlash_c &amp;amp; gUseInternalStorageLink_d)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to get the new image from the ota server + test_tool_V12 (OTA updates / OTAP thread). The image is loaded in flash and the function OTA_SetNewImageFlag() returns FTFx_OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The client resets, but it never start!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like a bootloader problem because the ota client image built with bootloader binary don't start without iar debugger.&lt;/P&gt;&lt;P&gt;There is no problem with the same ota client build without bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried :&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-size: medium; font-family: Times New Roman, serif;"&gt;OtapBootloader.bin from framework \bootloader\bin&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-size: medium; font-family: Times New Roman, serif;"&gt;BootloaderOTAP_KW24D512.bin from &lt;SPAN style="font-size: medium; font-family: Times New Roman, serif;"&gt;framework \bootloader\bootloader_OTAP_serial\bootloader_OTAP_KW24D512\exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;And I got the same failure!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;Which bootloader binary file do I need to use to support ota client feature on KW24D512 based application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Fabrice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 17:45:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW24-OTA-Bootloader-never-starts/m-p/731779#M3989</guid>
      <dc:creator>fabricetocci</dc:creator>
      <dc:date>2017-11-22T17:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: KW24 OTA Bootloader never starts</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW24-OTA-Bootloader-never-starts/m-p/731780#M3990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will&amp;nbsp;depend on the iDE you are using, but by any chance did you set the Bootloader configuration in the project? This configuration it's mentioned in the&amp;nbsp;Kinetis Thread Stack Over-the-Air (OTA) Firmware Update User’s Guide.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The gUseBootloaderLink_d should be set to 1 to tell the application the where it should be located.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Estephania&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 23:46:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW24-OTA-Bootloader-never-starts/m-p/731780#M3990</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2017-11-23T23:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: KW24 OTA Bootloader never starts</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW24-OTA-Bootloader-never-starts/m-p/731781#M3991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabrice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bootloader project used for OTA client is at the following location:&lt;/P&gt;&lt;P&gt;- MKW2xD_ConnSw_1.0.2\boards\frdmkw24\wireless_examples\framework\bootloader_otap\bm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a first test, please do the following:&lt;/P&gt;&lt;P&gt;1. Write the bootloader binary to board; (you can do this from IAR or using the TestTool -&amp;gt; Firmware Loader -&amp;gt; Kinetis Firmware loader);&lt;/P&gt;&lt;P&gt;2. Write the Thread node binary. From your comment, seems that you put the right options, but to double check consider the following:&lt;/P&gt;&lt;P&gt;- If you are using end_device_ota_client you should just update the gEepromType_d from config.h file to match to internal flash and to put gUseInternalStorageLink_d=1 at project linker option.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- If you are not using the demo example, please consider the following:&lt;/P&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;&amp;nbsp;Linker options: gUseInternalStorageLink_d=1 and gUseBootloaderLink_d=1&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;config.h - gEepromType_d = gEepromDevice_InternalFlash_c&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;Enable OTA cLient (#define gEnableOTAClient_d&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&amp;nbsp; config.h file);&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Reset the board to see if the firmware pass over the bootloader and starts with Thread node firmware (at this step the debugger should not be attached to board).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If step 3 is not working, please consider to remove the gEraseNVMLink_d=1 from the project linker options (thread node firmware) and repeat the steps 1, 2, 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ovidiu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 08:27:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW24-OTA-Bootloader-never-starts/m-p/731781#M3991</guid>
      <dc:creator>ovidiu_usturoi</dc:creator>
      <dc:date>2017-11-24T08:27:10Z</dc:date>
    </item>
  </channel>
</rss>

