<?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>Wireless MCUのトピックRe: KW24D OTA Bootloader jumps to application but application never starts</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/KW24D-OTA-Bootloader-jumps-to-application-but-application-never/m-p/846466#M5688</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 might not be jumping to the part where the application it's located.,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please check&amp;nbsp;the&amp;nbsp;3.Deploying Standalone Bootloader Firmware in the&amp;nbsp;Kinetis Thread Stack and FSCI Bootloader Quick Start Guide User’s Guide?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Estephania&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2018 21:48:57 GMT</pubDate>
    <dc:creator>stephanie_m</dc:creator>
    <dc:date>2018-11-16T21:48:57Z</dc:date>
    <item>
      <title>KW24D OTA Bootloader jumps to application but application never starts</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW24D-OTA-Bootloader-jumps-to-application-but-application-never/m-p/846465#M5687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am working with KW24D512 on IAR and I am trying to add ota functionality to my application.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Based on "Connectivity Framework RM rev2" , MKW2xD_Connectivity_Software_1.0.2 and the OtaSupport functions, my own application can load, from a .srec file, a new application image into a AT45DB161E external Eeprom&amp;nbsp;according to the format :&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;[Image_Size (@0x00 - 4bytes)] / [Bitmap (@&lt;SPAN&gt;0x04 -&amp;nbsp;&lt;/SPAN&gt;32 byte)] / [Application_Image &lt;SPAN&gt;(@&lt;/SPAN&gt;&lt;SPAN&gt;0x24 - x&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;byte)&lt;/SPAN&gt;].&lt;/P&gt;&lt;P style="border: 0px;"&gt;(gEepromType_d == gEepromDevice_AT45DB161E_c)&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;First, in order to test the OTA bootloader I write&amp;nbsp;&lt;SPAN&gt;the bootloader binary to the board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;The Bootloader checks the flags at the internal flash address @0x4400, gets back the image, the size and bitmap and finally copies the image from the external eeprom to the internal flash at the address @0x4000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;At the end Flags are updated to complete and bootloader tries to jump to the application (&lt;SPAN style="background-color: #ffffff;"&gt;@0x4000&lt;/SPAN&gt;) but something wrong must happen because bootloader is restarted again and again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;In order to see the program sequence, I added a TRACE function via a second UART to the bootloader and my own application both. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;My application never starts&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;I suppose the problem is due to the icf file of my own application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;So my questions are&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;&amp;nbsp;- How to modify a .icf file to write an application binary just after the bootloader sectors&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;&amp;nbsp;- Using IAR, How to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;merge an user application and bootloader in a single file&amp;nbsp;which&amp;nbsp;can be downloaded into the microcontroller at once and reduce manufacturing time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Regards.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Mickael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 10:13:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW24D-OTA-Bootloader-jumps-to-application-but-application-never/m-p/846465#M5687</guid>
      <dc:creator>miket2</dc:creator>
      <dc:date>2018-11-16T10:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: KW24D OTA Bootloader jumps to application but application never starts</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW24D-OTA-Bootloader-jumps-to-application-but-application-never/m-p/846466#M5688</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 might not be jumping to the part where the application it's located.,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please check&amp;nbsp;the&amp;nbsp;3.Deploying Standalone Bootloader Firmware in the&amp;nbsp;Kinetis Thread Stack and FSCI Bootloader Quick Start Guide User’s Guide?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Estephania&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 21:48:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW24D-OTA-Bootloader-jumps-to-application-but-application-never/m-p/846466#M5688</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2018-11-16T21:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: KW24D OTA Bootloader jumps to application but application never starts</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW24D-OTA-Bootloader-jumps-to-application-but-application-never/m-p/846467#M5689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Estephania&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, I solve my problem thank to your indications.&lt;/P&gt;&lt;P&gt;So, do you know how to merge 2 .bin files (bootloader and aplication image) with IAR system ?&lt;/P&gt;&lt;P&gt;I found on&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-328202"&gt;https://community.nxp.com/docs/DOC-328202&lt;/A&gt;&amp;nbsp; the solution with KDS but it is not so easy to do the same thing with IAR IDE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 14:55:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW24D-OTA-Bootloader-jumps-to-application-but-application-never/m-p/846467#M5689</guid>
      <dc:creator>miket2</dc:creator>
      <dc:date>2018-12-20T14:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: KW24D OTA Bootloader jumps to application but application never starts</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW24D-OTA-Bootloader-jumps-to-application-but-application-never/m-p/846468#M5690</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;Sorry, we no dot have such guide, maybe you should&amp;nbsp; IAR as if it is possible, it&amp;nbsp;might also depend on the IDE version you use.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2019 17:12:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW24D-OTA-Bootloader-jumps-to-application-but-application-never/m-p/846468#M5690</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2019-01-03T17:12:07Z</dc:date>
    </item>
  </channel>
</rss>

