<?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>&amp;quot;image_index&amp;quot; and &amp;quot;version&amp;quot; in manifest for dfu_application.zip for Flutter nRF Connect Device Manager missing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104957/image_index-and-version-in-manifest-for-dfu_application-zip-for-flutter-nrf-connect-device-manager-missing</link><description>Hi there, 
 
 The &amp;quot;image_index&amp;quot; and &amp;quot;version&amp;quot; are missing in the manifest for dfu_application.zip. This setting would be needed by the Flutter nRF Connect Device Manager . 
 Accoring to , this should be automatically added for the nRF5340. However; while</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Nov 2023 08:36:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104957/image_index-and-version-in-manifest-for-dfu_application-zip-for-flutter-nrf-connect-device-manager-missing" /><item><title>RE: "image_index" and "version" in manifest for dfu_application.zip for Flutter nRF Connect Device Manager missing</title><link>https://devzone.nordicsemi.com/thread/453438?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2023 08:36:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a902606-08d7-4811-9cc4-7d16a06d220d</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="SirBuhi"]to only update the application core.[/quote]
&lt;p&gt;Aha, so you are trying to update only the application core.&lt;/p&gt;
&lt;p&gt;Anyway, to return to the original issue, with missing parameters in manifest.json:&lt;/p&gt;
&lt;p&gt;These are added in &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/modules/mcuboot/CMakeLists.txt"&gt;nrf/modules/mcuboot/CMakeLists.txt&lt;/a&gt;. For the netcore, it would be &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/1b82f72e52138fdb892c643de3885fc7214c0dd2/modules/mcuboot/CMakeLists.txt#L510-L523"&gt;here&lt;/a&gt;.&lt;br /&gt;If we build for only the application core on the other hand, it is done &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/1b82f72e52138fdb892c643de3885fc7214c0dd2/modules/mcuboot/CMakeLists.txt#L544-L547"&gt;here&lt;/a&gt; instead. The difference looks to be hardcoded, so we can not configure it. However, you can edit this CMakeLists.txt yourself to add what you need: For example, to add index as 0 for application updates:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;diff --git a/modules/mcuboot/CMakeLists.txt b/modules/mcuboot/CMakeLists.txt
index f2b1efbd5..68aca17ef 100644
--- a/modules/mcuboot/CMakeLists.txt
+++ b/modules/mcuboot/CMakeLists.txt
@@ -544,6 +544,7 @@ if(CONFIG_BOOTLOADER_MCUBOOT)
         set(generate_script_params
           &amp;quot;load_address=$&amp;lt;TARGET_PROPERTY:partition_manager,PM_APP_ADDRESS&amp;gt;&amp;quot;
           &amp;quot;version_MCUBOOT=${CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION}&amp;quot;
+          &amp;quot;image_index=0&amp;quot;
           )
       endif()
     endif()
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Is this what you need?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "image_index" and "version" in manifest for dfu_application.zip for Flutter nRF Connect Device Manager missing</title><link>https://devzone.nordicsemi.com/thread/453311?ContentTypeID=1</link><pubDate>Tue, 31 Oct 2023 14:23:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbe18f43-efe5-47a4-a01a-bb81dcfa3ba6</guid><dc:creator>SirBuhi</dc:creator><description>&lt;p&gt;Dear Sigurd,&lt;/p&gt;
&lt;p&gt;When working with the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_lbs/README.html"&gt;Peripheral LBS&lt;/a&gt;&lt;span&gt;&amp;nbsp;I do not have such clear marked &amp;quot;child image&amp;quot; folder for the netcore, instead the &amp;quot;hci_rpmsg&amp;quot; will be loaded on the netcore.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When having a look at the &amp;quot;app_update.bin&amp;quot; it seems to me, that only the code for the application core is available, which is fine for me at the moment, to only update the application core.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, as mentioned before, this yields an error while trying to do a DFU via BLE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Patrick&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "image_index" and "version" in manifest for dfu_application.zip for Flutter nRF Connect Device Manager missing</title><link>https://devzone.nordicsemi.com/thread/451935?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 10:35:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2121145-b1fb-434d-965d-b1606a2aa9a8</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Do you update both cores or only the appliction core?&lt;/p&gt;
&lt;p&gt;If both cores, do you do it simultaneously or non-simultaneously?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "image_index" and "version" in manifest for dfu_application.zip for Flutter nRF Connect Device Manager missing</title><link>https://devzone.nordicsemi.com/thread/451931?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 10:06:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ae02472-593f-4f99-a2a0-6c408ce14fe7</guid><dc:creator>SirBuhi</dc:creator><description>&lt;p&gt;Dear Sigrud,&lt;/p&gt;
&lt;p&gt;I took the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_lbs/README.html"&gt;Peripheral LBS&lt;/a&gt;&amp;nbsp;as base and added then the MCUMGR functionality as well as secure boot.&lt;/p&gt;
&lt;p&gt;Updating via serial connection works as well as updating via the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/NordicSemiconductor/Flutter-nRF-Connect-Device-Manager"&gt;Flutter nRF Connect Device Manager&lt;/a&gt;, however, in the latter I have to add manualy the&amp;nbsp;&lt;span&gt;&amp;quot;image_index&amp;quot; and &amp;quot;version&amp;quot; to the manifest file, which should not be the case for automation&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My manifest storred under &amp;quot;\build\zephyr\dfu_application.zip&amp;quot;, looks like:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
    &amp;quot;format-version&amp;quot;: 0,
    &amp;quot;time&amp;quot;: 1698137228,
    &amp;quot;files&amp;quot;: [
        {
            &amp;quot;load_address&amp;quot;: 229376,
            &amp;quot;version_MCUBOOT&amp;quot;: &amp;quot;0.0.0+0&amp;quot;,
            &amp;quot;type&amp;quot;: &amp;quot;application&amp;quot;,
            &amp;quot;board&amp;quot;: &amp;quot;nrf5340dk_nrf5340_cpuapp&amp;quot;,
            &amp;quot;soc&amp;quot;: &amp;quot;nRF5340_CPUAPP_QKAA&amp;quot;,
            &amp;quot;size&amp;quot;: 232327,
            &amp;quot;file&amp;quot;: &amp;quot;app_update.bin&amp;quot;,
            &amp;quot;modtime&amp;quot;: 1698137228
        }
    ],
    &amp;quot;name&amp;quot;: &amp;quot;ComNode_240&amp;quot;,
    &amp;quot;firmware&amp;quot;: {
        &amp;quot;zephyr&amp;quot;: {
            &amp;quot;revision&amp;quot;: &amp;quot;27e2af79da29a05e427b970a638bb63e407abfcd-dirty&amp;quot;
        },
        &amp;quot;nrf&amp;quot;: {
            &amp;quot;revision&amp;quot;: &amp;quot;75adfe8909fbac1c2e0ede465448d1ce2821dfa9&amp;quot;
        }
    }
}&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Patrick&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: "image_index" and "version" in manifest for dfu_application.zip for Flutter nRF Connect Device Manager missing</title><link>https://devzone.nordicsemi.com/thread/451920?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 09:27:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:306429ff-bfd9-419d-ae47-b931b001f4d6</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If I build my example &lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous"&gt;Simultaneous DFU for app and net core of nRF5340&lt;/a&gt;, I get the following manifset.json inside dfu_application.json:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4743.manifest.json"&gt;devzone.nordicsemi.com/.../4743.manifest.json&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Does this answer your question?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>