<?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 KL03Z32 -- how the ROM boot loader know the user application is valid or not in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03Z32-how-the-ROM-boot-loader-know-the-user-application-is/m-p/451907#M26832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am using KL03Z32 for our project. In Figure 11-2 in the Reference Manual (KL03 Sub-Family Reference Manual, Rev. 4, August, 2014), there is a judgement that "Is user application valid?". I would like to understand how the ROM boot loader know the user application is valid or not. It would be appreciated if someone can share the answer or give me a hint.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2015 01:17:58 GMT</pubDate>
    <dc:creator>felixtsai</dc:creator>
    <dc:date>2015-08-20T01:17:58Z</dc:date>
    <item>
      <title>KL03Z32 -- how the ROM boot loader know the user application is valid or not</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03Z32-how-the-ROM-boot-loader-know-the-user-application-is/m-p/451907#M26832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am using KL03Z32 for our project. In Figure 11-2 in the Reference Manual (KL03 Sub-Family Reference Manual, Rev. 4, August, 2014), there is a judgement that "Is user application valid?". I would like to understand how the ROM boot loader know the user application is valid or not. It would be appreciated if someone can share the answer or give me a hint.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 01:17:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03Z32-how-the-ROM-boot-loader-know-the-user-application-is/m-p/451907#M26832</guid>
      <dc:creator>felixtsai</dc:creator>
      <dc:date>2015-08-20T01:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: KL03Z32 -- how the ROM boot loader know the user application is valid or not</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03Z32-how-the-ROM-boot-loader-know-the-user-application-is/m-p/451908#M26833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Felix Tsai:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the response in the next thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/538188"&gt;Re: how application got valid&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any doubt just let me know.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 02:01:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03Z32-how-the-ROM-boot-loader-know-the-user-application-is/m-p/451908#M26833</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-08-21T02:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: KL03Z32 -- how the ROM boot loader know the user application is valid or not</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03Z32-how-the-ROM-boot-loader-know-the-user-application-is/m-p/451909#M26834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your reply. The thread you hinted is not the answer to my question. I have to implement the failsafe mechanism when the firmware update fails due to unstable power, such as the power is unintentionally unplugged when firmware update is in progress. From the reference manual, I understood how to make KL03Z32 boot from ROM bootloader when power on resets. But no information about how the ROM boot loader know the user application is valid or not, so that I cannot understand if Timeout detection is enabled or not. If I know how bootloader code check the user application is valid or not, I can control bootloader code to disable Timeout detection and stay in ROM bootloader, i.e. not jump to the corrupted user application in the flash memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Felix.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 03:01:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03Z32-how-the-ROM-boot-loader-know-the-user-application-is/m-p/451909#M26834</guid>
      <dc:creator>felixtsai</dc:creator>
      <dc:date>2015-08-21T03:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: KL03Z32 -- how the ROM boot loader know the user application is valid or not</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03Z32-how-the-ROM-boot-loader-know-the-user-application-is/m-p/451910#M26835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should reserve an area of memory that the boot loader clears on start, and fills with a specific pattern on successful completion. I can't think of a good way to actually ensure the validity of the firmware otherwise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 14:25:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03Z32-how-the-ROM-boot-loader-know-the-user-application-is/m-p/451910#M26835</guid>
      <dc:creator>joeygouly</dc:creator>
      <dc:date>2016-01-04T14:25:13Z</dc:date>
    </item>
  </channel>
</rss>

