<?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>Kinetis MicrocontrollersのトピックRe: How does the KW47 ROM Bootloader decide which image is newest?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-does-the-KW47-ROM-Bootloader-decide-which-image-is-newest/m-p/2378583#M68401</link>
    <description>&lt;P lang="es-419"&gt;Hello, hope you are doing well!&lt;/P&gt;
&lt;P lang="es-419"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a dual-image setup, the images are treated as primary (experimental or latest firmware image) and secondary (as a backup fallback image).&lt;/P&gt;
&lt;P&gt;The KW47 ROM bootloader determines the newer image using the firmwareVersion field from each image’s metadata and boots the higher version. If both versions are equal, the Boot Image Base Address is considered for boot (as a tie-breaker), and if the newer version image fails validation/authentication or rollback protection, Boot ROM falls back to the older image.&lt;/P&gt;
&lt;P lang="es-419"&gt;In terms of firmware version enforcement, the Boot ROM provides rollback protection by preventing firmware updates if the update image version is older than the version allowed by the system, and by preventing boot (secure boot failure) if the firmware version is older than the minimum version permitted for execution.&lt;/P&gt;
&lt;P lang="es-419"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P lang="es-419"&gt;More information is available on the &lt;A href="https://www.nxp.com/docs/en/reference-manual/MCXW72SRM.pdf" target="_blank"&gt;KW47 Security Reference Manual&lt;/A&gt;.&lt;/P&gt;
&lt;P lang="es-419"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P lang="es-419"&gt;Best regards,&lt;BR /&gt;Sofia.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jun 2026 22:51:59 GMT</pubDate>
    <dc:creator>sofiaurueta</dc:creator>
    <dc:date>2026-06-08T22:51:59Z</dc:date>
    <item>
      <title>How does the KW47 ROM Bootloader decide which image is newest?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-does-the-KW47-ROM-Bootloader-decide-which-image-is-newest/m-p/2375554#M68391</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi NXP Team,&lt;/P&gt;&lt;P&gt;I am working on the &lt;STRONG&gt;KW47 dual-image boot / OTA update concept&lt;/STRONG&gt;, and I would like to clarify how the &lt;STRONG&gt;ROM bootloader selects the newest image&lt;/STRONG&gt; during boot.&lt;/P&gt;&lt;P&gt;From my understanding, in a dual-image setup we may have two valid application images in internal flash, for example:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Primary Image&lt;/STRONG&gt; -&amp;gt; Address configured by Boot Image Base Address in ROMCFG / IFR0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;Secondary Image&lt;/STRONG&gt; -&amp;gt; Address configured by FLW region / ABASE in ROMCFG / IFR0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;During reset, the ROM bootloader checks both images and decides which one should be booted.&lt;/P&gt;&lt;P&gt;My doubt is mainly about this point:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How does the KW47 ROM bootloader know which image is newer?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2026 06:41:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-does-the-KW47-ROM-Bootloader-decide-which-image-is-newest/m-p/2375554#M68391</guid>
      <dc:creator>manuvs014</dc:creator>
      <dc:date>2026-06-03T06:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: How does the KW47 ROM Bootloader decide which image is newest?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-does-the-KW47-ROM-Bootloader-decide-which-image-is-newest/m-p/2378583#M68401</link>
      <description>&lt;P lang="es-419"&gt;Hello, hope you are doing well!&lt;/P&gt;
&lt;P lang="es-419"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a dual-image setup, the images are treated as primary (experimental or latest firmware image) and secondary (as a backup fallback image).&lt;/P&gt;
&lt;P&gt;The KW47 ROM bootloader determines the newer image using the firmwareVersion field from each image’s metadata and boots the higher version. If both versions are equal, the Boot Image Base Address is considered for boot (as a tie-breaker), and if the newer version image fails validation/authentication or rollback protection, Boot ROM falls back to the older image.&lt;/P&gt;
&lt;P lang="es-419"&gt;In terms of firmware version enforcement, the Boot ROM provides rollback protection by preventing firmware updates if the update image version is older than the version allowed by the system, and by preventing boot (secure boot failure) if the firmware version is older than the minimum version permitted for execution.&lt;/P&gt;
&lt;P lang="es-419"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P lang="es-419"&gt;More information is available on the &lt;A href="https://www.nxp.com/docs/en/reference-manual/MCXW72SRM.pdf" target="_blank"&gt;KW47 Security Reference Manual&lt;/A&gt;.&lt;/P&gt;
&lt;P lang="es-419"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P lang="es-419"&gt;Best regards,&lt;BR /&gt;Sofia.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2026 22:51:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-does-the-KW47-ROM-Bootloader-decide-which-image-is-newest/m-p/2378583#M68401</guid>
      <dc:creator>sofiaurueta</dc:creator>
      <dc:date>2026-06-08T22:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: How does the KW47 ROM Bootloader decide which image is newest?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-does-the-KW47-ROM-Bootloader-decide-which-image-is-newest/m-p/2378797#M68403</link>
      <description>&lt;P&gt;Hello Sofia,&lt;/P&gt;&lt;P&gt;Thank you for the response.&lt;BR /&gt;"The KW47 ROM bootloader determines the newer image using the firmwareVersion field from each image’s metadata and boots the higher version. If both versions are equal, the Boot Image Base Address is considered for boot (as a tie-breaker), and if the newer version image fails validation/authentication or rollback protection, Boot ROM falls back to the older image."&lt;/P&gt;&lt;P&gt;I would like to clarify one implementation detail from the application/developer side.&lt;/P&gt;&lt;P&gt;How should we configure or place this image metadata, especially the firmwareVersion field, inside each firmware image so that the KW47 ROM bootloader can read it?&lt;/P&gt;&lt;P&gt;Specifically:&lt;/P&gt;&lt;P&gt;Is there a fixed metadata/header address inside each bootable image where the ROM bootloader expects to find the firmwareVersion?&lt;BR /&gt;Is this metadata located relative to the image start address, for example near the image vector table or image header?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2026 07:59:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-does-the-KW47-ROM-Bootloader-decide-which-image-is-newest/m-p/2378797#M68403</guid>
      <dc:creator>manuvs014</dc:creator>
      <dc:date>2026-06-09T07:59:44Z</dc:date>
    </item>
  </channel>
</rss>

