<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126610/mcuboot-images-intermittently-failing-to-apply----dfu-image-is-not-valid-9-0</link><description>I&amp;#39;ve been wrestling with an issue whereby I attempt to deploy an mcuboot image to a device and inconsistently I get a message that says the firmware image is not valid (error code 9). 
 Some specifics: 
 
 I am using nRF52840 on an Adafruit Feather nRF52840</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Feb 2026 14:18:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126610/mcuboot-images-intermittently-failing-to-apply----dfu-image-is-not-valid-9-0" /><item><title>RE: mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/thread/560676?ContentTypeID=1</link><pubDate>Mon, 09 Feb 2026 14:18:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f67d7d5a-3507-42b0-988a-445e7a3cd2e2</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The DFU error message you’re seeing is not caused by the &lt;code&gt;bootable: false&lt;/code&gt; flag. The &lt;code&gt;bootable&lt;/code&gt; field is simply a flag in the image state response that indicates whether the image has the bootable flag set. See the section &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/device_mgmt/smp_groups/smp_group_1.html#state_of_images"&gt;state of images.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you look at the Academy sample for serial recovery, you’ll also notice that it shows &lt;code&gt;bootable: false&lt;/code&gt; for the image in slot 0, and the image is still valid for serial recovery DFU testing.&lt;/p&gt;
&lt;p&gt;I still doubt if this could be because of partition manager configuration. The main question is why it fails on only one board while it works on the others.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt; Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/thread/560271?ContentTypeID=1</link><pubDate>Tue, 03 Feb 2026 20:52:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56c9b124-d295-4198-a7cb-02ad7f35c019</guid><dc:creator>cscase</dc:creator><description>&lt;p&gt;Partway through this troubleshooting, I started using this as an indicator for &amp;quot;Is it good or not?&amp;quot; because it seemed to simplify things:&lt;/p&gt;
&lt;p&gt;I do &amp;quot;image list&amp;quot;&amp;nbsp;with mcumgr and look to see if it says the image in slot0 is bootable. Every time, it says false. I understood that as indicative of the problem. But apparently, these images can actually boot despite what it says, because I can hit the reset key after uploading an image and having it say its not bootable, and the firmware comes up. Why is that? I wonder if this has led me down the wrong path with my troubleshooting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/thread/560042?ContentTypeID=1</link><pubDate>Fri, 30 Jan 2026 20:02:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72f2a128-a7a6-4f91-b13e-05fc6d3d1186</guid><dc:creator>cscase</dc:creator><description>&lt;p&gt;Thanks Abhijith. Here&amp;#39;s what I did and the results:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I took the partition file you attached on your last post and used it for my pm_static.yml, after renaming the old pm_static.yml.&lt;/li&gt;
&lt;li&gt;Did a pristine build.&lt;/li&gt;
&lt;li&gt;Boot my board in bootloader mode.&lt;/li&gt;
&lt;li&gt;Uploaded the newly-generated app_update.bin to the bootloader via serial with mcumgr&lt;/li&gt;
&lt;li&gt;Asked for a list of images from mcumgr (mcumgr --conntype serial --connstring &amp;quot;dev=COM6,baud=115200&amp;quot; image list)&lt;/li&gt;
&lt;li&gt;It says that the image is not bootable, which is the same as before.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Then I think, &amp;quot;Maybe the problem is the image that was already on there.&amp;quot; I re-flashed the board using nrfjprog, before uploading the image to the bootloader again, repeating the steps above. So what I did was&amp;nbsp;upload an image that is the same thing as the existing firmware already running on the board. At the end of this sequence, I checked again, and again it says that the image on the board is not bootable:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1769803234969v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This firmware, when flashed to the board, works fine. There is nothing wrong with the firmware itself. But the bin being generated by NCS is refused by the bootloader. It has been pretty consistent about this since I&amp;#39;ve been using mcumgr to do testing. I just can&amp;#39;t figure out what is making this bin invalid.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/thread/560014?ContentTypeID=1</link><pubDate>Fri, 30 Jan 2026 13:30:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ae580e7-5f0f-478f-90c8-767742ae7339</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Yes, that’s correct, an erase or recover operation will also clear the bootloader. Could you please try using the partition manager file below and see if that resolves the issue?&lt;/p&gt;
&lt;p&gt;I don’t have the exact board you’re using, so reproducing this issue on my side is a bit difficult. Please give this a try and let me know how it goes. If it doesn’t help, I can try testing it on an nRF52840 DK.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;app:
  address: 0xc200
  end_address: 0x0ff000
  region: flash_primary
  size: 0xf2e00


mcuboot:
  address: 0x0
  end_address: 0xc000
  placement:
    before:
      - mcuboot_primary
  region: flash_primary
  size: 0xc000


mcuboot_pad:
  address: 0xc000
  end_address: 0xc200
  placement:
    align:
      start: 0x1000
    before:
      - mcuboot_primary_app
  region: flash_primary
  size: 0x200

mcuboot_primary:
  address: 0xc000
  end_address: 0x0ff000
  region: flash_primary
  size: 0xf3000
  span:
    - mcuboot_pad
    - app

mcuboot_primary_app:
  address: 0xc200
  end_address: 0x0ff000
  region: flash_primary
  size: 0xf2e00
  span:
    - app

sram_primary:
  address: 0x20000000
  end_address: 0x20040000
  region: sram_primary
  size: 0x40000&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/thread/559936?ContentTypeID=1</link><pubDate>Thu, 29 Jan 2026 14:58:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc905b38-7446-43ea-a7b8-450efe979739</guid><dc:creator>cscase</dc:creator><description>&lt;p&gt;Thanks Abhijith.&lt;/p&gt;
&lt;p&gt;I think that if I perform an erase operation, that will clear all of the onboard flash, right? That includes the bootloader. So after the erase, I wouldn&amp;#39;t be able to get it into bootloader mode to accept a DFU. Not sure what is the best move from here.&lt;/p&gt;
&lt;p&gt;Scott&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/thread/559931?ContentTypeID=1</link><pubDate>Thu, 29 Jan 2026 14:37:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70285c77-dbf0-4e18-b8ca-adb5c474ef78</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I needed to look into another issue, which caused a slight delay in getting back to you.&lt;/p&gt;
&lt;p&gt;I reviewed your partition file and don’t see any obvious issues there. As a test, could you please try erasing the flash before performing the DFU and check whether you see the same result? You can try running &lt;code&gt;nrfutil device erase&lt;/code&gt; or &lt;code&gt;nrfutil device recover&lt;/code&gt; first, and then let me know if it&amp;#39;s throwing the same issue.&lt;/p&gt;
[quote user="cscase"]Because of schedule demands, I could only do that if there were no other way to resolve this issue and we were pretty confident that would do the trick. If you think that is the case, let me know.[/quote]
&lt;p&gt;Also, if you are close to delivery, I wouldn’t recommend porting at this stage, as moving to sysbuild (introduced in NCS v2.7.0 and later) is a major change and can take a significant amount of time.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/thread/559714?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2026 16:13:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:901f1994-dc37-4fe5-ac63-34106539f75f</guid><dc:creator>cscase</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I was able to get RTT output by using the Segger RTT viewer, as you suggest above. The output from that is in my post above. The RTT log doesn&amp;#39;t say much that seems helpful, unfortunately, but the RTT is working now if we need to use it.&lt;/p&gt;
&lt;p&gt;You are also correct about sysbuilld - my version of NCS does not use it. I think if I upgrade to a newer SDK I would spend weeks troubleshooting problems and making it work again. That&amp;#39;s not a trivial change, right? Or could I upgrade without breaking changes? Because of schedule demands, I could only do that if there were no other way to resolve this issue and we were pretty confident that would do the trick. If you think that is the case, let me know.&lt;/p&gt;
&lt;p&gt;I will attach here the pm_static and the child_image/mcuboot.conf, as well as the overlay and prj.conf&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5857.prj.conf.txt"&gt;devzone.nordicsemi.com/.../5857.prj.conf.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4452.pm_5F00_static.yml.txt"&gt;devzone.nordicsemi.com/.../4452.pm_5F00_static.yml.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0243.mcuboot.conf"&gt;devzone.nordicsemi.com/.../0243.mcuboot.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mcuboot.overlay.txt"&gt;devzone.nordicsemi.com/.../mcuboot.overlay.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/thread/559656?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2026 09:58:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40f3fccc-e266-4758-acf4-830dad370651</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am not sure why RTT logs are not working for you. I am attaching a sample with minimal config to enable the RTT logs. Please check the prj.config and sysbuil/mcuboot.confg.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I believe you are not using sysbuild (as you are on NCSv2.6.x), hence check the mcuboot.conf under your child_image/mcuboot.conf folder. I also recommend using the Jlink RTT viewer to see the logs via RTT.&lt;/p&gt;
&lt;p&gt;Can you share the pm_static file as well , so that I can take a look? And if possible please update the SDK to latest available, as the SDK you are using is quite old.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/OTA_5F00_MCUBOOTLOGS_5F00_RTT.zip"&gt;devzone.nordicsemi.com/.../OTA_5F00_MCUBOOTLOGS_5F00_RTT.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Kind Regards,&lt;br /&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/thread/559480?ContentTypeID=1</link><pubDate>Fri, 23 Jan 2026 14:46:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0486859-9ee1-4b00-b148-793bcea58513</guid><dc:creator>cscase</dc:creator><description>&lt;p&gt;Right, I get that, but I mention it because it lets us know what key is being used for this build.&lt;/p&gt;
&lt;p&gt;I found that although there appears to be no way to view it from within nRF Connect, I &lt;em&gt;can&lt;/em&gt; see mcuboot&amp;#39;s output using the Segger RTT viewer. I uploaded the bin but the log doesn&amp;#39;t show any errors. Here&amp;#39;s the last bit where it finishes uploading:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; I: Writing at 0x30a84 until 0x30bd4
00&amp;gt; I: RX: 0x0
00&amp;gt; I: TX
00&amp;gt; I: RX: 0x0
00&amp;gt; I: TX
00&amp;gt; I: RX: 0x0
00&amp;gt; I: TX
00&amp;gt; I: RX: 0x0
00&amp;gt; I: TX
00&amp;gt; I: Writing at 0x30bd4 until 0x30d24
00&amp;gt; I: RX: 0x0
00&amp;gt; I: TX
00&amp;gt; I: RX: 0x0
00&amp;gt; I: TX
00&amp;gt; I: RX: 0x0
00&amp;gt; I: TX
00&amp;gt; I: RX: 0x0
00&amp;gt; I: TX
00&amp;gt; I: Writing at 0x30d24 until 0x30e74
00&amp;gt; I: RX: 0x0
00&amp;gt; I: TX
00&amp;gt; I: RX: 0x0
00&amp;gt; I: TX
00&amp;gt; I: RX: 0x0
00&amp;gt; I: TX
00&amp;gt; I: Writing at 0x30e74 until 0x30fc4
00&amp;gt; I: RX: 0x0
00&amp;gt; I: TX
00&amp;gt; I: RX: 0x0
00&amp;gt; I: TX
00&amp;gt; I: Erasing range 0x%jx:0x%jx
00&amp;gt; I: Writing at 0x30fc4 until 0x31088
00&amp;gt; I: Erasing range 0x%jx:0x%jx
00&amp;gt; I: RX: 0x0
00&amp;gt; I: TX
00&amp;gt; I: TX&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;At the end there is where I sent&amp;nbsp;the &amp;quot;image list&amp;quot; command from mcumgr, and the RTT says TX TX.&lt;/p&gt;
&lt;p&gt;From my cmd window, here&amp;#39;s the mcumgr output where I uploaded the file and then checked to see if the image is bootable:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;PS C:\users\scase&amp;gt; mcumgr --conntype serial --connstring &amp;quot;dev=COM6,baud=115200&amp;quot; image upload app_update.bin
 196.13 KiB / 196.13 KiB [======================================================================] 100.00% 788 B/s 4m14s
Done
PS C:\users\scase&amp;gt; mcumgr --conntype serial --connstring &amp;quot;dev=COM6,baud=115200&amp;quot; image list
Images:
 image=0 slot=0
    version: 0.0.0
    bootable: false
    flags:
    hash: 88c94b0d46cdcc25ebadbdb9a13757fee9ef7604ebbbeca5611ea15730384b17
Split status: N/A (0)
PS C:\users\scase&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;One possible reason, I read online, that the image might not be considered valid, would be if it is larger than the available space partitioned for the slot. But this image - in hex format, which is uncompressed I&amp;#39;m pretty sure - is 659 kb. You can see in the pm_static that we have almost a megabyte available for slot0.&lt;/p&gt;
&lt;p&gt;How can I determine what causes the image to be considered invalid or non-bootable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/thread/559476?ContentTypeID=1</link><pubDate>Fri, 23 Jan 2026 14:04:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:446927de-15ae-443a-8ccd-ba4228b383df</guid><dc:creator>Menon</dc:creator><description>[quote user="cscase"]I think that because I am trying to flash the same build that is already on the board, that means it must have the same signature for both, right? I see the warning that says &amp;quot;Using the default MCUBoot key, it should not be used for production&amp;quot; whenever I build.[/quote]
&lt;p&gt;That is an expected warning message when using the default key and does not indicate any issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/thread/559417?ContentTypeID=1</link><pubDate>Thu, 22 Jan 2026 22:48:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75e1e439-a4cb-4905-88eb-4b8033699c1e</guid><dc:creator>cscase</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve enabled RTT in the prj.conf for mcuboot. A couple of things: When I added that, I got an error saying that a dependency was missing. It wanted LOG_MODE_MINIMAL, so I added that as well.&lt;/p&gt;
&lt;p&gt;When it starts up now, I see this message at the bottom-right of VSCode:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Element with id 504500724 is already registered&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(This number is the serial # for my JLink.)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And where previously, I could expand the J-link item under &amp;quot;Connected Devices&amp;quot; and see RTT, I don&amp;#39;t see that now. Expanding this item shows nothing nested under it:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1769121383226v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I boot the app as normal, I still see serial output from USB serial. When I start the bootloader, the COM port disappears. In either case, though, I see nothing any more aobut RTT under the programmer in nRF Connect&amp;#39;s lower-left pane.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I haven&amp;#39;t used RTT and have been using the USB serial for debugging on this project, so I apologize for not having it running more easily here.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regarding the signatures:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;ve been trying something different here and just trying to bootload the exact same image that the board is programmed with. I do the following:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Flash the board with NCS&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Manually put it in bootloader mode&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Upload the app_update.bin for the same build that I just flashed to the board, directly from \build\zephyr\.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;It shows this image as not bootable.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I think that because I am trying to flash the same build that is already on the board, that means it must have the same signature for both, right? I see the warning that says &amp;quot;Using the default MCUBoot key, it should not be used for production&amp;quot; whenever I build.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I was working on this today and I used imgtool to&amp;nbsp;use the private key from the mcuboot source directory to get the public key.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here&amp;#39;s my prj.conf from the child project for reference. You can see where I added the RTT enable options.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_PM=n

CONFIG_MAIN_STACK_SIZE=10240
CONFIG_MBEDTLS_CFG_FILE=&amp;quot;mcuboot-mbedtls-cfg.h&amp;quot;

CONFIG_BOOT_SWAP_SAVE_ENCTLV=n
CONFIG_BOOT_ENCRYPT_IMAGE=n

CONFIG_BOOT_UPGRADE_ONLY=n
CONFIG_BOOT_BOOTSTRAP=n

### mbedTLS has its own heap
# CONFIG_HEAP_MEM_POOL_SIZE is not set

### We never want Zephyr&amp;#39;s copy of tinycrypt.  If tinycrypt is needed,
### MCUboot has its own copy in tree.
# CONFIG_TINYCRYPT is not set
# CONFIG_TINYCRYPT_ECC_DSA is not set
# CONFIG_TINYCRYPT_SHA256 is not set

CONFIG_FLASH=y
CONFIG_FPROTECT=y

### Various Zephyr boards enable features that we don&amp;#39;t want.
# CONFIG_BT is not set
# CONFIG_BT_CTLR is not set
# CONFIG_I2C is not set

CONFIG_LOG=y
CONFIG_LOG_MODE_MINIMAL=y # former CONFIG_MODE_MINIMAL
### Ensure Zephyr logging changes don&amp;#39;t use more resources
CONFIG_LOG_DEFAULT_LEVEL=0
### Use info log level by default
CONFIG_MCUBOOT_LOG_LEVEL_INF=y
### Decrease footprint by ~4 KB in comparison to CBPRINTF_COMPLETE=y
CONFIG_CBPRINTF_NANO=y
### Use the minimal C library to reduce flash usage
CONFIG_MINIMAL_LIBC=y
CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT=0

### FROM FORUM POST
# Enable Zephyr logging
CONFIG_LOG=y
# Enable RTT as logging backend
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_MODE_MINIMAL=y
CONFIG_LOG_BACKEND_RTT=y
#Disable UART logging backend/console
CONFIG_LOG_BACKEND_UART=n
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=n
&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/thread/559407?ContentTypeID=1</link><pubDate>Thu, 22 Jan 2026 19:57:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2962ffd0-f073-4d74-b969-8333fd7cb9ba</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="cscase"]How can I get the bootloader logging to an interface where I&amp;#39;ll be able to see it? When mcuboot is active, I don&amp;#39;t currently have the USB CDC interface. It has uart0, but I don&amp;#39;t think I can log to there because that&amp;#39;s the interface being used by mcumgr when I&amp;#39;m testing, or by the outboard device providing the new firmware image. What&amp;#39;s the best way for me to approach?[/quote]
&lt;p&gt;Could you please try collecting the logs via RTT? You can enable the following configurations in the &lt;code&gt;prj.conf&lt;/code&gt; file and then check the logs using J-Link RTT Viewer or VS Code.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;Enable Zephyr logging
CONFIG_LOG=y
# Enable RTT as logging backend
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y
#Disable UART logging backend/console
CONFIG_LOG_BACKEND_UART=n
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It’s a bit strange that the same application works fine on the other two boards but shows an issue on only one board. Could you please verify that this is not caused by a signing key mismatch between MCUboot and the application image?&lt;br /&gt;&lt;br /&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/thread/559310?ContentTypeID=1</link><pubDate>Wed, 21 Jan 2026 18:29:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e350aaf5-7aed-4824-b2f7-c7a41b6bb1ef</guid><dc:creator>cscase</dc:creator><description>&lt;p&gt;Thanks &lt;span&gt;Abhijith.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How can I get the bootloader logging to an interface where I&amp;#39;ll be able to see it? When mcuboot is active, I don&amp;#39;t currently have the USB CDC interface. It has uart0, but I don&amp;#39;t think I can log to there because that&amp;#39;s the interface being used by mcumgr when I&amp;#39;m testing, or by the outboard device providing the new firmware image. What&amp;#39;s the best way for me to approach?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To simplify troubleshooting, I just connected to the bootloader directly with mcumgr and uploaded an image. I did a pristine build and pulled the app_update.bin file from \build\zephyr\ and uploaded that to mcuboot. Afterward, I did &amp;quot;image list&amp;quot; and it lists the image in the slot as being not bootable. If I understand correctly, that means mcuboot is saying this is not a valid, workable firmware image. It just doesn&amp;#39;t tell me why, or what the problem is with the image. And despite this, if I use nrfjprog to flash this app to a board, it runs just fine.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Scott&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot images intermittently failing to apply -- DFU image is not valid 9(0)</title><link>https://devzone.nordicsemi.com/thread/559108?ContentTypeID=1</link><pubDate>Tue, 20 Jan 2026 08:22:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08c58e22-37f4-468a-81b5-96ba0c390804</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for explaining this in detail. I see that you have enabled logging; could you please also enable the MCUboot logs by setting &lt;code&gt;CONFIG_MCUBOOT_LOG_LEVEL_INF&lt;/code&gt;, and then share the logs here?&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>