<?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>DFU over BLE + MCUboot + External Flash QSPI: &amp;quot;MGMT_ERR_ENOENT&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93696/dfu-over-ble-mcuboot-external-flash-qspi-mgmt_err_enoent</link><description>Hi, 
 
 I am working with nRF52840 SoC (custom board) and AT25QL641 QSPI Flash chip. I am on v2.1.0 of nRF Connect SDK. The slot1 (update slot) is on an external flash. 
 
 Whenever I try to upload the update image from nRF Connect Device Manager I get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Aug 2024 12:06:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93696/dfu-over-ble-mcuboot-external-flash-qspi-mgmt_err_enoent" /><item><title>RE: DFU over BLE + MCUboot + External Flash QSPI: "MGMT_ERR_ENOENT"</title><link>https://devzone.nordicsemi.com/thread/499369?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 12:06:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af61fbf7-c570-48fe-acc6-9bd5449a2eeb</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I see that you have a dedicated thread on your specific issue. I suggest that you continue in that thread.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over BLE + MCUboot + External Flash QSPI: "MGMT_ERR_ENOENT"</title><link>https://devzone.nordicsemi.com/thread/499365?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 11:56:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d75fdc4-2cef-4243-84e2-3ecdc35949e4</guid><dc:creator>Sankton</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/hkn"&gt;Håkon Alseth&lt;/a&gt;&amp;nbsp;&lt;br /&gt;HI Hakon&amp;nbsp;&lt;br /&gt;I am facing similar issue as above person&amp;nbsp;&lt;br /&gt;&lt;br /&gt;while&amp;nbsp;dfu upgrade thru nrf device app I am getting error -&amp;gt; &amp;quot;error : : NO entry &amp;quot;&lt;br /&gt;&lt;br /&gt;SDK 2.3.0&lt;br /&gt;Tool chain 2.4.0&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I followed all steps above still no resolution .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over BLE + MCUboot + External Flash QSPI: "MGMT_ERR_ENOENT"</title><link>https://devzone.nordicsemi.com/thread/395274?ContentTypeID=1</link><pubDate>Fri, 11 Nov 2022 10:09:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7e65ceb-f0c6-43de-ba9b-6acfaeb0d13b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Great to hear!&lt;/p&gt;
&lt;p&gt;Hope you have a wonderful weekend!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over BLE + MCUboot + External Flash QSPI: "MGMT_ERR_ENOENT"</title><link>https://devzone.nordicsemi.com/thread/395166?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2022 15:41:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fec62539-c03f-4874-b39a-c802350197e2</guid><dc:creator>ayuzva</dc:creator><description>&lt;p&gt;The second issue seems to have been resolved also after a pristine rebuild of the project directory. Perhaps the application update image had the wrong layout. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over BLE + MCUboot + External Flash QSPI: "MGMT_ERR_ENOENT"</title><link>https://devzone.nordicsemi.com/thread/395153?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2022 14:56:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ebf039a-bd6d-4c67-87e1-b029563326e2</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="ayuzva"]&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I was able to resolve the issue of not being able to transfer by including pm_static.yml in my project directory.&lt;/p&gt;[/quote]
&lt;p&gt;Great that you found this!&lt;/p&gt;
&lt;p&gt;This should be done for all &amp;quot;upgrade project&amp;quot; to align the&amp;nbsp;flash layout as your original mcuboot expects.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="ayuzva"]I re-opened this ticked because even though I am able to transfer the update images and boot them, I am unable to confirm them. After the transfer is finished and the target has restarted and booted up, nRF Connect Device Manager tries to confirm the image and returns &amp;quot;Device returned error: In Value (3)&amp;quot;. This also happens when I try to confirm manually through the &amp;quot;Advanced&amp;quot; interface.[/quote]
&lt;p&gt;To eliminate any firmware related issues, could you try to run the function &amp;quot;ret = boot_write_img_confirmed();&amp;quot; in the init of your updated project?&lt;/p&gt;
&lt;p&gt;This will manually verify a &amp;quot;test&amp;quot; firmware, and swap it as a permanent image.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over BLE + MCUboot + External Flash QSPI: "MGMT_ERR_ENOENT"</title><link>https://devzone.nordicsemi.com/thread/394990?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 18:12:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fa0c7ac-9481-4c2a-98c3-2abcb1f8bf40</guid><dc:creator>ayuzva</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/hkn"&gt;Håkon Alseth&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;I was able to resolve the issue of not being able to transfer by including pm_static.yml in my project directory.&lt;/p&gt;
&lt;p&gt;I re-opened this ticked because even though I am able to transfer the update images and boot them, I am unable to confirm them. After the transfer is finished and the target has restarted and booted up, nRF Connect Device Manager tries to confirm the image and returns &amp;quot;Device returned error: In Value (3)&amp;quot;. This also happens when I try to confirm manually through the &amp;quot;Advanced&amp;quot; interface.&lt;/p&gt;
&lt;p&gt;Meanwhile, the logs do not show any issues.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; [00:00:58.944,274] &amp;lt;inf&amp;gt; mcuboot_util: Swap type: none
00&amp;gt; [00:00:58.948,577] &amp;lt;inf&amp;gt; mcuboot_util: Swap type: none
00&amp;gt; [00:00:59.040,557] &amp;lt;inf&amp;gt; mcuboot_util: Swap type: none
00&amp;gt; [00:00:59.041,381] &amp;lt;inf&amp;gt; mcuboot_util: Swap type: none
00&amp;gt; [00:01:40.856,719] &amp;lt;inf&amp;gt; mcuboot_util: Swap type: none
00&amp;gt; [00:01:40.857,543] &amp;lt;dbg&amp;gt; mcuboot_util: boot_write_magic: writing magic; fa_id=2 off=0xe3ff0 (0xe3ff0)
00&amp;gt; [00:01:40.858,367] &amp;lt;dbg&amp;gt; mcuboot_util: boot_write_swap_info: writing swap_info; fa_id=2 off=0xe3fd8 (0xe3fd8), swap_type=0x2 image_num=0x0
00&amp;gt; [00:01:40.860,626] &amp;lt;inf&amp;gt; mcuboot_util: Swap type: test
00&amp;gt; [00:01:40.864,959] &amp;lt;inf&amp;gt; mcuboot_util: Swap type: test&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over BLE + MCUboot + External Flash QSPI: "MGMT_ERR_ENOENT"</title><link>https://devzone.nordicsemi.com/thread/394962?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 15:26:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:687ef6cd-5878-4807-bcb3-8b94ef956a7f</guid><dc:creator>ayuzva</dc:creator><description>&lt;p&gt;Thank you&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/hkn"&gt;Håkon Alseth&lt;/a&gt;&amp;nbsp; the size has been fixed.&lt;/p&gt;
&lt;p&gt;The example that I have used as a starting point is this one:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu"&gt;Add DFU support to your application&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;With all debugging logging enabled, the only message I am logging is:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;inf&amp;gt; mcuboot_util: Swap type: revert&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When I read the image information from nRF Connect Device Manager I only see:&lt;/p&gt;
&lt;p&gt;Image 0&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Slot: 0&lt;/li&gt;
&lt;li&gt;Version 0.0.0&lt;/li&gt;
&lt;li&gt;Hash: 0x...&lt;/li&gt;
&lt;li&gt;Flags: Bootable, Active&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When I was using internal flash only, I&amp;nbsp;saw information about two slots.&amp;nbsp;I believe the second slot is not recognized&amp;nbsp;by the MCUmgr for some reason.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In addition to the above in child_image/mcuboot.conf I do also have:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NCS_MCUBOOT_IN_BUILD=y&lt;/pre&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;While in the prj.conf I have:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUMGR=y
CONFIG_MCUMGR_CMD_IMG_MGMT=y
CONFIG_MCUMGR_CMD_OS_MGMT=y
CONFIG_MCUMGR_SMP_BT=y

CONFIG_FLASH=y
CONFIG_NRFX_QSPI=y
CONFIG_NORDIC_QSPI_NOR=y

CONFIG_NORDIC_QSPI_NOR_STACK_WRITE_BUFFER_SIZE=16
CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y
CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=n

CONFIG_MCUMGR_LOG_LEVEL_DBG=y
CONFIG_MCUMGR_IMG_MGMT_LOG_LEVEL_DBG=y
CONFIG_MCUMGR_SMP_LOG_LEVEL_DBG=y
CONFIG_IMG_MANAGER_LOG_LEVEL_DBG=y
CONFIG_BT_DFU_SMP_LOG_LEVEL_DBG=y
CONFIG_FLASH_LOG_LEVEL_DBG=y
CONFIG_IMG_MGMT_VERBOSE_ERR=y&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over BLE + MCUboot + External Flash QSPI: "MGMT_ERR_ENOENT"</title><link>https://devzone.nordicsemi.com/thread/394922?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 13:19:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e85ac0a8-821e-4fe8-8ee0-db9097e8cccf</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which example are you using as a starting-point?&lt;/p&gt;
[quote user=""]&lt;span&gt;Whenever I try to upload the update image from nRF Connect Device Manager I get &amp;quot;Remote error: No Entry (5)&amp;quot;. This&amp;nbsp;is translated from&amp;nbsp;a&amp;nbsp; &amp;quot;&lt;/span&gt;MGMT_ERR_ENOENT&amp;quot; error code return from&amp;nbsp;img_mgmt_read_info() of MCUmanager. I have seen this&amp;nbsp;thread with a similar issue:[/quote]
&lt;p&gt;This indicates that you are using an application aware DFU process, ie. that your application is fetching the image and storing it to flash.&lt;/p&gt;
&lt;p&gt;This will therefore require that the application has certain configurations enabled as well as the mcuboot child_image.&lt;/p&gt;
&lt;p&gt;Do you have a log output from the nRF that you can share?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The size in DT should be provided as bits, and you have set 512MBit (size=&amp;lt;536870912&amp;gt;; -&amp;gt; 64MByte), while the part number that you list:&lt;/p&gt;
[quote user=""]AT25QL641[/quote]
&lt;p&gt;indicates that the flash is 64 MBit.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>