<?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>Software updates with Device Manager App</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117024/software-updates-with-device-manager-app</link><description>Hello Team, 
 we are using Device manager app update to test software updates. 
 
 Q1. After choosing the update, there is an option to choose between image0(main), image 1,image 2, and image 3.. I tried to to do software update with image 0 and image1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Dec 2024 13:47:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117024/software-updates-with-device-manager-app" /><item><title>RE: Software updates with Device Manager App</title><link>https://devzone.nordicsemi.com/thread/513644?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2024 13:47:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecbc20b8-9770-41e0-ae1f-a8eacc32b16e</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Let me answer in more details.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q1. Some devices have multiple images that must be sent for the DFU to succeed. This is a case in nRF53 (which has app core and net code) or for nRF54H (with SUIT bootloader, where additional images can be sent as cache partitions). The drop-down lets you specify the &amp;quot;image&amp;quot; parameter, as a plain .bin file is missin this information.&lt;/p&gt;
&lt;p&gt;The &amp;quot;Basic&amp;quot; view allows you to select a ZIP file, which usually includes a manifes.json file with metadata for each binary. This metadata contains the &amp;quot;imageIndex&amp;quot; field which is set automatically in that case.&lt;/p&gt;
&lt;p&gt;If your device has just one core and doesn&amp;#39;t support other images, this parameter most probably isn&amp;#39;t even read, so whatever value would you set, it will work. The app doesn&amp;#39;t &amp;quot;know&amp;quot; what device you&amp;#39;re connected to, so it can&amp;#39;t filter out this list or skip showing.&lt;/p&gt;
&lt;p&gt;Q2. Each image in a &amp;quot;slot&amp;quot; contains set of flags. Each one has a meaning, and they are&amp;nbsp;far from&amp;nbsp;obvious, so I understand your confusion. The &amp;quot;pending&amp;quot; flag is set when a Test or Confirm commands wers sent and the image isn&amp;#39;t &amp;quot;active&amp;quot;. It means, that on the next reboot the MCUboot will swap/apply this image and make is &amp;quot;active&amp;quot;. The &amp;quot;permanent&amp;quot; flag means, that after swap/apply this image will be marked as permanent - that won&amp;#39;t be reverted after subsequent reboot. This is the different between Test and Confirm commands. First one sets only &amp;quot;pending&amp;quot; flag, while the other both. The &amp;quot;active&amp;quot; flag means, that the device is currently running this image. The &amp;quot;confirmed&amp;quot; flag (not to be associated with Confirm command) means, that the MCUboot confirmed this image as valid, and it can become &amp;quot;active&amp;quot; (or something like that). &amp;quot;Bootable&amp;quot; should be more or less clear.&lt;/p&gt;
&lt;p&gt;Q3.&amp;nbsp;These UUIDs are hardcoded both in Zephyr / mcumgr /SMP subsystem and in mobile apps. You&amp;#39;re free to modify but you need to modify mobile libraries/apps to be compatible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software updates with Device Manager App</title><link>https://devzone.nordicsemi.com/thread/513617?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2024 12:37:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c816d1e-5d5d-4203-a8f4-a943412a9172</guid><dc:creator>Adarsh</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Q1. First I choose the &amp;quot;Advanced&amp;quot; option in the App.then I click on the &amp;quot;Select File&amp;quot; in the &amp;quot;Firmware Upgrade&amp;quot; section in the app. then i choose the app_update.bin for software update . Then I click &amp;quot;start&amp;quot; button.After this a popup window opens as seen in the screenshot.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Q2. Ok thanks its clear&lt;/p&gt;
&lt;p&gt;Q3. Does that mean that wealso need to change the zephyr source code ? I dont see any Kconfig to change the UUID.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Adarsh&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software updates with Device Manager App</title><link>https://devzone.nordicsemi.com/thread/513612?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2024 12:28:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd3bf8b9-d867-42e0-9ea0-6fcbbd40cea7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Adarsh,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q1. Could you let me know where you click to get the Images listed ? My understanding is that if you have multiple images in the .zip file you can select which image you want to do DFU update. For example if you have MCUBoot image or if you have network core image.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Q2. There is a permanent swap option as mentioned here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/mcuboot/design.html#boot_swap_types"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/mcuboot/design.html#boot_swap_types&lt;/a&gt;&amp;nbsp;. My understanding is that it&amp;#39;s the same as when you do confirm instead of test.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q3. The UUID for SMP server is fixed. But you are free to use your own UUID instead of SMP. Of course in that case the nRF Device Manager app won&amp;#39;t work.&amp;nbsp; You will need to implement your own app or modify Device Manager to work with the new UUIDs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I will try to get the app developer to comment here in case my understanding is not correct.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>