<?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>nRF5340 OTA fails with Mcu Mgr Error: 10 Group: 1 after interrupted upload</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115669/nrf5340-ota-fails-with-mcu-mgr-error-10-group-1-after-interrupted-upload</link><description>Hi, 
 I get a Mcu Mgr Error: 10 Group: 1, when I 
 
 start OTA on Android smart phone 
 interrupt during upload by disabling BLE on the phone 
 enable BLE again 
 retry OTA upload 
 
 This is the corresponding error message: &amp;lt;err&amp;gt; mcumgr_img_grp: Image</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Oct 2024 09:22:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115669/nrf5340-ota-fails-with-mcu-mgr-error-10-group-1-after-interrupted-upload" /><item><title>RE: nRF5340 OTA fails with Mcu Mgr Error: 10 Group: 1 after interrupted upload</title><link>https://devzone.nordicsemi.com/thread/508306?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2024 09:22:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b697cd8f-7456-4406-a097-017de08b84c0</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The error message you are receiving &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/mgmt/mcumgr/grp/img_mgmt/src/img_mgmt.c#L791"&gt;can be found here&lt;/a&gt;. Please&lt;a href="https://devzone.nordicsemi.com/support-private/support/331849"&gt; refer to this DevZone ticket&lt;/a&gt;, which discusses a similar issue.&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: nRF5340 OTA fails with Mcu Mgr Error: 10 Group: 1 after interrupted upload</title><link>https://devzone.nordicsemi.com/thread/507654?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2024 20:31:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d463a3a6-3480-4192-b428-81a8d314c4bd</guid><dc:creator>lexologe</dc:creator><description>&lt;p&gt;Yes, sure. I am using NCS SDK v2.6.1 and I am using a custom PCB based on the nRF5340 DK&lt;/p&gt;
&lt;p&gt;I am not sure if I am allowed to share the entire log but I can share the part that contains the messages that come up when I start OTA.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:18.663,269] &amp;lt;inf&amp;gt; mcuboot_util: Secondary image of image pair (0.) is unreachable. Treat it as empty
[00:00:18.690,490] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 0, Swap type: none
[00:00:18.714,721] &amp;lt;err&amp;gt; mcumgr_img_grp: Failed to open flash area ID 2: -19
[00:00:18.739,624] &amp;lt;inf&amp;gt; mcuboot_util: Secondary image of image pair (1.) is unreachable. Treat it as empty
[00:00:18.766,906] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 1, Swap type: none
[00:00:18.790,863] &amp;lt;err&amp;gt; mcumgr_img_grp: Failed to open flash area ID 1: -2
[00:00:18.815,643] &amp;lt;err&amp;gt; mcumgr_img_grp: Failed to open flash area ID 8: -19
[00:00:19.017,608] &amp;lt;inf&amp;gt; mcuboot_util: Secondary image of image pair (1.) is unreachable. Treat it as empty
[00:00:19.045,043] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 1, Swap type: none
[00:00:19.069,000] &amp;lt;err&amp;gt; mcumgr_img_grp: Failed to open flash area ID 8: -19
[00:00:19.093,750] &amp;lt;err&amp;gt; mcumgr_img_grp: Image upload inspect failed: 10
[00:00:19.118,286] &amp;lt;err&amp;gt; mcumgr_img_grp: Failed to open flash area ID 2: -19&lt;/pre&gt;&lt;/p&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;p&gt;And the following messages show up for a successful OTA:&lt;br /&gt;(the errors should be okay because the network core update is not in flash)&lt;/p&gt;
&lt;pre&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:03:20.543,823] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 0, Swap type: none
[00:03:20.568,267] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 1, Swap type: none
[00:03:20.592,315] &amp;lt;err&amp;gt; mcumgr_img_grp: Failed to open flash area ID 1: -2
[00:03:32.743,469] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 1, Swap type: none
[00:03:44.001,068] &amp;lt;err&amp;gt; mcumgr_img_grp: Failed to open flash area ID 1: -2
[00:03:44.026,275] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 1, Swap type: none
[00:03:44.051,361] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 0, Swap type: none
[00:03:44.076,080] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 1, Swap type: perm
[00:03:44.100,158] &amp;lt;err&amp;gt; mcumgr_img_grp: Failed to open flash area ID 1: -2
[00:03:44.192,321] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 0, Swap type: none
[00:03:44.217,254] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 0, Swap type: perm
[00:03:44.242,065] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 1, Swap type: perm
[00:03:44.266,143] &amp;lt;err&amp;gt; mcumgr_img_grp: Failed to open flash area ID 1: -2
shell:~$ I: Starting bootloader
I: Image index: 0, Swap type: perm
I: Image index: 1, Swap type: perm
I: Image 0 upgrade secondary slot -&amp;gt; primary slot
I: Erasing the primary slot
I: Image 0 copying the secondary slot to the primary slot: 0x4e9c8 bytes
I: Image 1 upgrade secondary slot -&amp;gt; primary slot
I: Erasing the primary slot
I: Image 1 copying the secondary slot to the primary slot: 0x2ca0c bytes
I: Turned on network core
I: Turned off network core
I: Bootloader chainload address offset: 0xc000
�: Jumping to the first image slot&lt;/pre&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 OTA fails with Mcu Mgr Error: 10 Group: 1 after interrupted upload</title><link>https://devzone.nordicsemi.com/thread/507204?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2024 17:45:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1f22cd1-a38a-4e66-ad4a-19fdd33d21c2</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could you tell me which version of the SDK you are using here, and which Nordic chip or DK you are trying with? Could you share the entire log (including the error message) here?&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: nRF5340 OTA fails with Mcu Mgr Error: 10 Group: 1 after interrupted upload</title><link>https://devzone.nordicsemi.com/thread/507004?ContentTypeID=1</link><pubDate>Sat, 19 Oct 2024 13:59:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36134b5b-270b-49a2-964e-c4dba12e6505</guid><dc:creator>lexologe</dc:creator><description>&lt;p&gt;Funny thing: I found out that when I interrupt the upload in the first seconds (about less than 10% upload) I will get this mcu mgr error 10.&lt;/p&gt;
&lt;p&gt;If I wait longer (interrupted about 30-40%) the upload will be resumed on the next try.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>