<?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>Multi Image Updates on NRF5340 Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111848/multi-image-updates-on-nrf5340-zephyr</link><description>I am working on a project that uses nRF5340. 
 We are now looking into designing software update mechanism. As a part of this, on the app core I am planning to move slot1_partition to external flash, as we are tight on space on internal flash. Using immutable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jul 2024 04:59:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111848/multi-image-updates-on-nrf5340-zephyr" /><item><title>RE: Multi Image Updates on NRF5340 Zephyr</title><link>https://devzone.nordicsemi.com/thread/494465?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 04:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f46822d7-60be-4158-a206-3bfdc369e94c</guid><dc:creator>ducklife12</dc:creator><description>&lt;p&gt;It is amazing! Your great and helpful post is really helpful for us! Thank you so much for taking the time to share with us. Have a great time with&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://run3ds.com"&gt;run 3&lt;/a&gt;&amp;nbsp;&lt;/span&gt;free.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi Image Updates on NRF5340 Zephyr</title><link>https://devzone.nordicsemi.com/thread/489903?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 09:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c16ce626-6ccf-47a1-8689-37650d1a18bd</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I apologize for the delayed response. My last reply altered the status of this case, causing it to disappear, and I only discovered this two days ago. I appreciate you stepping in and checking the status.&lt;/p&gt;
&lt;p&gt;As a starting point, I recommend looking at our &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/exercise-1-dfu-over-uart/"&gt;Developer Academy course on DFU and bootloader&lt;/a&gt;, which explains multi-image DFU for the nRF5340. Please refer to the minimal configurations used there. How are you defining the external flash in the overlay file? &lt;a href="https://github.com/NordicDeveloperAcademy/ncs-inter/blob/main/lesson8/inter_less8_exer2_solution/child_image/mcuboot.overlay"&gt;See this overlay.&lt;/a&gt;&lt;/p&gt;
[quote user=""]Do I need to change NET core&amp;#39;s slot0/slot1 to slot2/slot3?[/quote]
&lt;p&gt;It is not necessary to change the slot names when dealing with multiple cores. I think the only benefit of this might be to distinguish the partitions more clearly.&lt;/p&gt;
&lt;p&gt;Could you check the &amp;quot;pm_config.h&amp;quot; file inside the build folder? You can find this file at&lt;span style="color:rgba(0, 0, 255, 1);"&gt; build/zephyr/include/generated/pm_config.h&lt;/span&gt;. Ensure that all the partitions are present.&lt;/p&gt;
&lt;p&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: Multi Image Updates on NRF5340 Zephyr</title><link>https://devzone.nordicsemi.com/thread/489593?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2024 19:50:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbb3820d-2c7e-4b99-9e9d-856be33ec0de</guid><dc:creator>gitu</dc:creator><description>&lt;p&gt;I am still waiting for support with this question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi Image Updates on NRF5340 Zephyr</title><link>https://devzone.nordicsemi.com/thread/488490?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 12:15:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8488175-1ecb-4b49-8000-7e3cb73ebb75</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for the delay in responding. I am a bit held up with some other work. I will get back to you soon. You can expect a response by tomorrow or the day after.&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: Multi Image Updates on NRF5340 Zephyr</title><link>https://devzone.nordicsemi.com/thread/488172?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 16:03:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e23c73a-4511-4f9d-8de5-be508ed6af5c</guid><dc:creator>gitu</dc:creator><description>&lt;p&gt;nRF Connect SDK version is 2.6.1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is the build error:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;xyz/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h: In function &amp;#39;__flash_area_ids_for_slot&amp;#39;:
xyz/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:37: error: &amp;#39;PM_MCUBOOT_PRIMARY_1_ID&amp;#39; undeclared (first use in this function); did you mean &amp;#39;PM_MCUBOOT_PRIMARY_ID&amp;#39;?
   48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
xyz/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro &amp;#39;FLASH_AREA_IMAGE_1_SLOTS&amp;#39;
   55 |                             FLASH_AREA_IMAGE_1_SLOTS
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
xyz/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro &amp;#39;ALL_AVAILABLE_SLOTS&amp;#39;
   67 |         ALL_AVAILABLE_SLOTS
      |         ^~~~~~~~~~~~~~~~~~~
xyz/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:37: note: each undeclared identifier is reported only once for each function it appears in
   48 | #define FLASH_AREA_IMAGE_1_SLOTS    PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
xyz/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro &amp;#39;FLASH_AREA_IMAGE_1_SLOTS&amp;#39;
   55 |                             FLASH_AREA_IMAGE_1_SLOTS
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
xyz/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro &amp;#39;ALL_AVAILABLE_SLOTS&amp;#39;
   67 |         ALL_AVAILABLE_SLOTS
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It looks like mcuboot_primary_1 is not being found even if I have it in my pm_static file.&lt;/p&gt;
&lt;p&gt;mcuboot_primary_1:&lt;br /&gt; address: 0x0&lt;br /&gt; size: 0x40000&lt;br /&gt; device: flash_ctrl&lt;br /&gt; region: ram_flash&lt;br /&gt;slot2_partition:&lt;br /&gt; address: 0x00000&lt;br /&gt; orig_span: &amp;amp;id003&lt;br /&gt; - mcuboot_primary_1&lt;br /&gt; device: flash_ctrl&lt;br /&gt; region: ram_flash&lt;br /&gt; size: 0x40000&lt;br /&gt; span: *id003&lt;/p&gt;
&lt;p&gt;Let me know if you need any more information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi Image Updates on NRF5340 Zephyr</title><link>https://devzone.nordicsemi.com/thread/487912?ContentTypeID=1</link><pubDate>Fri, 07 Jun 2024 12:40:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16d3a626-dcfa-4b91-9c42-d8198a2abbad</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am letting you know that I have been assigned to this case and have started looking into it. Could you tell me which version of the nRF Connect SDKs you are using here?&lt;/p&gt;
&lt;p&gt;You could also share the error you are getting; you may share the whole log here (use the insert tab for that). On reading your query, I think you can do this by including the partition inside the pm_static file, and editing the dts file will also make it work, but it&amp;#39;s not a recommended method. I will get back to you on Monday with some more information regarding this.&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>