<?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 Bootloader reports &amp;quot;Image in the secondary slot is not valid&amp;quot; in MCXE31B in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Bootloader-reports-quot-Image-in-the-secondary-slot-is-not-valid/m-p/2331508#M5024</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I am working on the &lt;/SPAN&gt;&lt;STRONG&gt;NXP MCXE31B&lt;/STRONG&gt;&lt;SPAN&gt; and using the &lt;/SPAN&gt;&lt;STRONG&gt;MCUboot &lt;/STRONG&gt;&lt;STRONG&gt;mcuboot_opensource&lt;/STRONG&gt;&lt;STRONG&gt; example&lt;/STRONG&gt;&lt;SPAN&gt; as the bootloader.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My goal is to implement &lt;/SPAN&gt;&lt;STRONG&gt;OTA firmware updates&lt;/STRONG&gt;&lt;SPAN&gt; by flashing the &lt;/SPAN&gt;&lt;STRONG&gt;secondary slot via SPI using LPSPI in slave mode&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;OTA Flow&lt;/STRONG&gt;&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;The secondary firmware image is generated using the &lt;/SPAN&gt;&lt;STRONG&gt;imgtool&lt;/STRONG&gt;&lt;SPAN&gt; utility.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The image is transmitted from the SPI master in &lt;/SPAN&gt;&lt;STRONG&gt;256-byte chunks&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;On the receiver side, the firmware receives the SPI data and writes it into the &lt;/SPAN&gt;&lt;STRONG&gt;secondary slot&lt;/STRONG&gt;&lt;SPAN&gt; using &lt;/SPAN&gt;&lt;SPAN&gt;mflash_drv_page_program()&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;After the transfer is completed, the bootloader API &lt;/SPAN&gt;&lt;SPAN&gt;boot_set_pending()&lt;/SPAN&gt;&lt;SPAN&gt; is called to mark the image for swap.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;&lt;STRONG&gt;Bootloader Behavior&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;After resetting the board, the bootloader prints the following log:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bootloader Version 2.2.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Image index: 0, Swap type: test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Image is invalid, erasing...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Image in the secondary slot is not valid!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bootloader chainload address offset: 0x500000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Reset_Handler address offset: 0x500400&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jumping to the image&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Image Header Verification&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;To verify the received image, I printed the MCUboot image header on the receiver side:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--- MCUboot Image Header Check ---&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Magic: &amp;nbsp; 0x96F3B83D (Expected: 0x96F3B83D)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Size:&amp;nbsp; &amp;nbsp; 20436 bytes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Version: 1.0.5+0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;SPI Transfer Log&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;During SPI transfer, the firmware receives and writes the image successfully. The progress log shows the entire secondary slot being written:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Progress: 16384 / 786432 bytes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Progress: 786432 / 786432 bytes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data transfer finished (786432 bytes).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After writing the data, the trailer is written and the image is marked as pending:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;writing magic; fa_id=1 off=0xbfff0 (0x6bfff0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;writing swap_info; fa_id=1 off=0xbffd8 (0x6bffd8), swap_type=0x2 image_num=0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Success! Image marked. Resetting to trigger swap...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Flash Layout&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;Primary slot &amp;nbsp; : 0x500000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Secondary slot : 0x600000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;SPI Transfer Configuration&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;#define TRANSFER_SIZE 256&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Issue&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;Even though:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;STRONG&gt;image header magic is correct&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The image is generated using &lt;/SPAN&gt;&lt;STRONG&gt;imgtool&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;STRONG&gt;entire secondary slot is written successfully&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The image is &lt;/SPAN&gt;&lt;STRONG&gt;marked pending&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;The bootloader still reports that the &lt;/SPAN&gt;&lt;STRONG&gt;secondary image is invalid&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Possible Causes Considered&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;I am currently investigating the following possibilities:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Incorrect &lt;/SPAN&gt;&lt;STRONG&gt;image signing parameters&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Mismatch between &lt;/SPAN&gt;&lt;STRONG&gt;image size and slot size&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Missing &lt;/SPAN&gt;&lt;STRONG&gt;padding (&lt;/STRONG&gt;&lt;STRONG&gt;--pad&lt;/STRONG&gt;&lt;STRONG&gt;) during imgtool signing&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Alignment issues&lt;/STRONG&gt;&lt;SPAN&gt; with flash writes&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Flash programming constraints when writing via &lt;/SPAN&gt;&lt;SPAN&gt;mflash_drv_page_program()&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Corruption of the &lt;/SPAN&gt;&lt;STRONG&gt;MCUboot trailer area&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;&lt;STRONG&gt;Request&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;I would appreciate any suggestions or guidance on &lt;/SPAN&gt;&lt;STRONG&gt;why MCUboot might reject the secondary image in this scenario&lt;/STRONG&gt;&lt;SPAN&gt; and what additional checks I should perform to debug this issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Mar 2026 13:15:23 GMT</pubDate>
    <dc:creator>blessyvinolin</dc:creator>
    <dc:date>2026-03-12T13:15:23Z</dc:date>
    <item>
      <title>Bootloader reports "Image in the secondary slot is not valid" in MCXE31B</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Bootloader-reports-quot-Image-in-the-secondary-slot-is-not-valid/m-p/2331508#M5024</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am working on the &lt;/SPAN&gt;&lt;STRONG&gt;NXP MCXE31B&lt;/STRONG&gt;&lt;SPAN&gt; and using the &lt;/SPAN&gt;&lt;STRONG&gt;MCUboot &lt;/STRONG&gt;&lt;STRONG&gt;mcuboot_opensource&lt;/STRONG&gt;&lt;STRONG&gt; example&lt;/STRONG&gt;&lt;SPAN&gt; as the bootloader.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My goal is to implement &lt;/SPAN&gt;&lt;STRONG&gt;OTA firmware updates&lt;/STRONG&gt;&lt;SPAN&gt; by flashing the &lt;/SPAN&gt;&lt;STRONG&gt;secondary slot via SPI using LPSPI in slave mode&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;OTA Flow&lt;/STRONG&gt;&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;The secondary firmware image is generated using the &lt;/SPAN&gt;&lt;STRONG&gt;imgtool&lt;/STRONG&gt;&lt;SPAN&gt; utility.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The image is transmitted from the SPI master in &lt;/SPAN&gt;&lt;STRONG&gt;256-byte chunks&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;On the receiver side, the firmware receives the SPI data and writes it into the &lt;/SPAN&gt;&lt;STRONG&gt;secondary slot&lt;/STRONG&gt;&lt;SPAN&gt; using &lt;/SPAN&gt;&lt;SPAN&gt;mflash_drv_page_program()&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;After the transfer is completed, the bootloader API &lt;/SPAN&gt;&lt;SPAN&gt;boot_set_pending()&lt;/SPAN&gt;&lt;SPAN&gt; is called to mark the image for swap.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;&lt;STRONG&gt;Bootloader Behavior&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;After resetting the board, the bootloader prints the following log:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bootloader Version 2.2.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Image index: 0, Swap type: test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Image is invalid, erasing...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Image in the secondary slot is not valid!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bootloader chainload address offset: 0x500000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Reset_Handler address offset: 0x500400&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jumping to the image&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Image Header Verification&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;To verify the received image, I printed the MCUboot image header on the receiver side:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--- MCUboot Image Header Check ---&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Magic: &amp;nbsp; 0x96F3B83D (Expected: 0x96F3B83D)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Size:&amp;nbsp; &amp;nbsp; 20436 bytes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Version: 1.0.5+0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;SPI Transfer Log&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;During SPI transfer, the firmware receives and writes the image successfully. The progress log shows the entire secondary slot being written:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Progress: 16384 / 786432 bytes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Progress: 786432 / 786432 bytes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data transfer finished (786432 bytes).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After writing the data, the trailer is written and the image is marked as pending:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;writing magic; fa_id=1 off=0xbfff0 (0x6bfff0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;writing swap_info; fa_id=1 off=0xbffd8 (0x6bffd8), swap_type=0x2 image_num=0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Success! Image marked. Resetting to trigger swap...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Flash Layout&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;Primary slot &amp;nbsp; : 0x500000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Secondary slot : 0x600000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;SPI Transfer Configuration&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;#define TRANSFER_SIZE 256&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Issue&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;Even though:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;STRONG&gt;image header magic is correct&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The image is generated using &lt;/SPAN&gt;&lt;STRONG&gt;imgtool&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;STRONG&gt;entire secondary slot is written successfully&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The image is &lt;/SPAN&gt;&lt;STRONG&gt;marked pending&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;The bootloader still reports that the &lt;/SPAN&gt;&lt;STRONG&gt;secondary image is invalid&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Possible Causes Considered&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;I am currently investigating the following possibilities:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Incorrect &lt;/SPAN&gt;&lt;STRONG&gt;image signing parameters&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Mismatch between &lt;/SPAN&gt;&lt;STRONG&gt;image size and slot size&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Missing &lt;/SPAN&gt;&lt;STRONG&gt;padding (&lt;/STRONG&gt;&lt;STRONG&gt;--pad&lt;/STRONG&gt;&lt;STRONG&gt;) during imgtool signing&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Alignment issues&lt;/STRONG&gt;&lt;SPAN&gt; with flash writes&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Flash programming constraints when writing via &lt;/SPAN&gt;&lt;SPAN&gt;mflash_drv_page_program()&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Corruption of the &lt;/SPAN&gt;&lt;STRONG&gt;MCUboot trailer area&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;&lt;STRONG&gt;Request&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;I would appreciate any suggestions or guidance on &lt;/SPAN&gt;&lt;STRONG&gt;why MCUboot might reject the secondary image in this scenario&lt;/STRONG&gt;&lt;SPAN&gt; and what additional checks I should perform to debug this issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2026 13:15:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Bootloader-reports-quot-Image-in-the-secondary-slot-is-not-valid/m-p/2331508#M5024</guid>
      <dc:creator>blessyvinolin</dc:creator>
      <dc:date>2026-03-12T13:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader reports "Image in the secondary slot is not valid" in MCXE31B</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Bootloader-reports-quot-Image-in-the-secondary-slot-is-not-valid/m-p/2334014#M5039</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/259760"&gt;@blessyvinolin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;For using the &lt;CODE&gt;mcuboot_opensource&lt;/CODE&gt; example, I highly recommend that you use MCUXpresso Secure Provisioning too.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-secure-provisioning-tool:MCUXPRESSO-SECURE-PROVISIONING" target="_blank"&gt;https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-secure-provisioning-tool:MCUXPRESSO-SECURE-PROVISIONING&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Follow the steps described in&lt;/DIV&gt;
&lt;P&gt;Secure Provisioning Tool User Guide 25.12 -&amp;gt; 7.5 MCUboot workflow .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 10:27:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Bootloader-reports-quot-Image-in-the-secondary-slot-is-not-valid/m-p/2334014#M5039</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2026-03-17T10:27:36Z</dc:date>
    </item>
  </channel>
</rss>

