<?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>OTA on external flash fails after having loaded an image</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104223/ota-on-external-flash-fails-after-having-loaded-an-image</link><description>Hello, 
 I&amp;#39;m, trying to configure an nrf5340 based board to use the secondary boot image on an external SPI Flash. 
 The flash has tree partitions: 
 
 0: The second boot space. 
 1: The storage partition. 
 2: A littlefs partition. 
 
 The partition</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Oct 2023 20:19:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104223/ota-on-external-flash-fails-after-having-loaded-an-image" /><item><title>RE: OTA on external flash fails after having loaded an image</title><link>https://devzone.nordicsemi.com/thread/449092?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 20:19:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1dd446b-bdf4-4208-82bf-77e693d44599</guid><dc:creator>GBDVE</dc:creator><description>&lt;p&gt;&lt;strong&gt;Important Update&lt;/strong&gt;: I&amp;#39;ve finally found the solution for the 4K flash page settings, and now the OTA works fine:&lt;/p&gt;
&lt;p&gt;in the case of mcuboot config, the CONFIG_SPI_NOR_SFDP_MINIMAL=n must be included in the mcuboot.conf.&lt;br /&gt;&lt;br /&gt;I looked at autoconf.h and noticed that it was set to yes, and probably when active, the other option CONFIG_SPI_NOR_SFDP_RUNTIME=n is ignored.&lt;br /&gt;&lt;br /&gt;It seems that the CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE parameter is considered only if those two options are disabled.&lt;br /&gt;&lt;br /&gt;After this modification, the OTA procedure works properly: the mcuboot recognizes the second image and does the swap.&lt;/p&gt;
&lt;p&gt;Many Thanks, Amanda, for your support. I&amp;#39;ll check your suggestion in the next few days. Please consider that I&amp;#39;ve prepared the test code very quickly, and maybe there is something wrong, and its behavior may be different from the project I&amp;#39;m working on.&lt;/p&gt;
&lt;p&gt;Now, it remains to understand why the first build ignores the mcuboot configuration in the child_image dir.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Gabriele.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA on external flash fails after having loaded an image</title><link>https://devzone.nordicsemi.com/thread/449091?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 20:06:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27e6ab40-11cf-4511-9025-a95a2cd77d87</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I see these relevant warnings in the build log&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;warning: SPI_NOR (defined at drivers/flash/Kconfig.nor:4) was assigned the value &amp;#39;y&amp;#39; but got the
value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: DT_HAS_JEDEC_SPI_NOR_ENABLED (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_SPI_NOR and/or look up SPI_NOR in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and KLoaded configuration &amp;#39;C:/ncs/v2.1.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig&amp;#39;
Merged configuration &amp;#39;C:/ncs/v2.1.0/bootloader/mcuboot/boot/zephyr/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/v2.1.0/nrf/subsys/pcd/pcd.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/v2.1.0/nrf/subsys/bootloader/bl_override/override_external_mcuboot.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/v2.1.0/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf&amp;#39;
config - Tips and Best Practices sections of the manual might be helpful too.


warning: SPI_NOR_FLASH_LAYOUT_PAGE_SIZE (defined at drivers/flash/Kconfig.nor:56) was assigned the
value &amp;#39;4096&amp;#39; but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: SPI_NOR (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE and/or look
up SPI_NOR_FLASH_LAYOUT_PAGE_SIZE in the menuconfig/guiconfig interface. The Application Development
Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual
might be helpful too.&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For testing can you first try to make the flash test driver to work?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/tests/drivers/flash"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/main/tests/drivers/flash&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In your case&amp;nbsp;that&amp;nbsp;want to use spi you can find these two files relevant:&lt;br /&gt;&lt;span&gt;boards/nrf52840dk_flash_spi.conf&lt;/span&gt;&lt;br /&gt;&lt;span&gt;boards/nrf52840dk_mx25r_high_perf.overlay&lt;br /&gt;(remove the&amp;nbsp;&lt;/span&gt;&lt;span&gt;mxicy,mx25r-power-mode&lt;/span&gt;&lt;span&gt;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;quot;high-performance&amp;quot;&lt;/span&gt;&lt;span&gt;; in your case from the .overlay)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;By modifying the .overlay file you should hopefully relatively quickly find configuration that works.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA on external flash fails after having loaded an image</title><link>https://devzone.nordicsemi.com/thread/449082?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 16:35:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dc81677-09ba-43dc-8a03-6c66c2fcbe6b</guid><dc:creator>GBDVE</dc:creator><description>&lt;p&gt;Hi Amanda, thanks for your reply.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached an example source based on my project. It contains the configurations to use the external flash on the SPI bus, not QSPI.&lt;/p&gt;
&lt;p&gt;I build it on a Linux environment, in the following way:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ mkdir build_test_mcuboot_extflash
$ cd build_test_mcuboot_extflash
$ cmake -B . -DBOARD=nrf5340dk_nrf5340_cpuapp -G&amp;quot;Eclipse CDT4 - Ninja&amp;quot;  ../test_mcuboot_extflash/
$ west build&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The strange behavior I&amp;#39;ve explained in my previous post also happens when using &amp;quot;west build&amp;quot;.&lt;/p&gt;
&lt;p&gt;The autoconf.h doesn&amp;#39;t reflect the settings in mcuboot.conf:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ grep CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE mcuboot/zephyr/include/generated/autoconf.h
$&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;the CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE define is not present in the generated file.&lt;/p&gt;
&lt;p&gt;After having modified line 124 in the boards/nrf5340dk_nrf5340_cpuapp.conf, from CONFIG_MCUBOOT_IMAGE_VERSION=&amp;quot;2.0.3+3&amp;quot; to CONFIG_MCUBOOT_IMAGE_VERSION=&amp;quot;2.0.3+4&amp;quot;, and after having reissued the &amp;quot;west build&amp;quot; command, then the autoconf.h contains the definitions in the mcuboot.conf, but the flash page value is wrong:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ grep CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE mcuboot/zephyr/include/generated/autoconf.h 
#define CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE 65536
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using Zephyr version v3.1.99-ncs1, nrf v2.1.0, mbedtls-nrf v3.1.0-ncs1.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is the test source code:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/test_5F00_mcuboot_5F00_extflash.zip"&gt;devzone.nordicsemi.com/.../test_5F00_mcuboot_5F00_extflash.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Gabriele.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA on external flash fails after having loaded an image</title><link>https://devzone.nordicsemi.com/thread/448887?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2023 18:45:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eabcc8d-424d-4731-8af5-0955de722f59</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="GBDVE"]Both overlay and config for the mcuboot are similar to the examples you indicated to me.[/quote]
&lt;p&gt;The overlay and configs for SPI/QSPI external are different.&amp;nbsp;&lt;/p&gt;
[quote user="GBDVE"]As I previously reported, my problem is that the CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096 seems to be ignored by the cmake system, as the final autoconf.h contains a value of 65536.[/quote]
&lt;p&gt;You can check the build log to see why the value is ignored. Could you upload your project?&lt;/p&gt;
[quote user="GBDVE"]Is there something wrong in the cmake procedure I reported, or I&amp;#39;m missing something?[/quote]
&lt;p&gt;I am not familiar with cmake build command. We usually suggest using &amp;quot;west build&amp;quot; or VS Code to build the project. See the&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/programming.html"&gt;Building and programming an application&lt;/a&gt;&amp;nbsp;documentation.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA on external flash fails after having loaded an image</title><link>https://devzone.nordicsemi.com/thread/448602?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2023 08:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24a0ace1-0e44-42f3-9927-f1ae733dddd3</guid><dc:creator>GBDVE</dc:creator><description>&lt;p&gt;Hi Amanda, thanks for your reply and assistance.&lt;/p&gt;
&lt;p&gt;Both overlay and config for the mcuboot are similar to the examples you indicated to me.&lt;/p&gt;
&lt;p&gt;As I previously reported, my problem is that the CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096 seems to be ignored by the cmake system, as the final autoconf.h contains a value of 65536.&lt;/p&gt;
&lt;p&gt;There is another strange behaviour for the mcuboot sub-project: In the first step, after the creation of the build directory, the cmake command is executed to populate the directory, in the following way:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; cmake -B . -DBOARD=nrf5340dk_nrf5340_cpuapp -G&amp;quot;Eclipse CDT4 - Ninja&amp;quot;  ../my_sorce_path/&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In the second step, the &amp;quot;ninja&amp;quot; command is launched to start the build.&lt;/p&gt;
&lt;p&gt;On the first build, the generated &lt;em&gt;mcuboot/zephyr/zephyr.dts&lt;/em&gt; and &lt;em&gt;mcuboot/zephyr/include/generetad/autoconf.h&lt;/em&gt; do not contain any of the configurations reported on the two files &lt;em&gt;mcuboot.conf&lt;/em&gt; and &lt;em&gt;mcuboot.overlay&lt;/em&gt;. It&amp;#39;s necessary to modify the main prj.conf, for example by changing the version in the CONFIG_MCUBOOT_IMAGE_VERSION definition, and run ninja again. Only after this second step, the generated files in the mcuboot path reflect my settings, except the CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE which still presents a value of 64K instead of 4K.&lt;/p&gt;
&lt;p&gt;Is there something wrong in the cmake procedure I reported, or I&amp;#39;m missing something?&lt;/p&gt;
&lt;p&gt;Thank you very much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA on external flash fails after having loaded an image</title><link>https://devzone.nordicsemi.com/thread/448572?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 18:21:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63e4f180-5b58-486b-b8b3-d0a7e7a76623</guid><dc:creator>Amanda Hsieh</dc:creator><description>[quote user="GBDVE"]In my hardware, the external flash is connected on the SPI interface. [/quote]
&lt;p&gt;The external SPI flash setting is different from&amp;nbsp;&lt;span&gt;the external QSPI flash of the nrf5340-DK board.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It would need an overlay file like &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/edf807fd47cd6c3ab71c020363888fe73f2cc776/samples/drivers/jesd216/boards/nrf52840dk_nrf52840_spi.overlay"&gt;this example&lt;/a&gt;&amp;nbsp;and configs like &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/102734/use-external-flash-at45db0-with-mcuboot/441000"&gt;this post&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA on external flash fails after having loaded an image</title><link>https://devzone.nordicsemi.com/thread/448492?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 11:19:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c7f9974-acfb-4e6e-b8f8-e828171d360e</guid><dc:creator>GBDVE</dc:creator><description>&lt;p&gt;Hi Amanda, thank for your suggestion.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve successfully tested the smp_svr application on the external QSPI flash of the nrf5340-DK board.&lt;/p&gt;
&lt;p&gt;In my hardware, the external flash is connected on the SPI interface. After some debug, I&amp;#39;ve verified that the mcuboot can correctly access the SPI flash, but it fails with this error:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;wrn&amp;gt; mcuboot: Cannot upgrade: not a compatible amount of sectors: 236 vs 15&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After some investigation, I&amp;#39;ve found that the following configuration in mcuboot.conf seems ignored by the build:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The generated autoconf.h contains the following:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE 65536&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I already checked that the CONFIG_FLASH_PAGE_LAYOUT=y is set, the same configuration used in mcuboot.conf its used in the app, and the autoconf.h of the app contains the correct declaration of the page size, set to 4096.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know how to force CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096 in the mcuboot.conf, do you have any idea?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA on external flash fails after having loaded an image</title><link>https://devzone.nordicsemi.com/thread/448206?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2023 18:17:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9de17f5-2d89-455b-8d62-f489d9a2a720</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For NCS v2.1.0, please use the board config and overlay file from my example in the previous reply to build with v2.1.0&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/subsys/mgmt/mcumgr/smp_svr"&gt;smp_svr&lt;/a&gt;&amp;nbsp;sample.&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA on external flash fails after having loaded an image</title><link>https://devzone.nordicsemi.com/thread/448183?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2023 13:59:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b7937dd-0a14-4a52-b4de-9ef74441f136</guid><dc:creator>GBDVE</dc:creator><description>&lt;p&gt;Hi Amanda, thanks for your reply.&lt;/p&gt;
&lt;p&gt;The example you shared with me won&amp;#39;t compile,&lt;br /&gt;there are some config options undefined on the zephyr system.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using Zephyr version v3.1.99-ncs1, nrf v2.1.0, mbedtls-nrf v3.1.0-ncs1.&lt;/p&gt;
&lt;p&gt;I tried to comment the config options that caused the failure:&lt;/p&gt;
&lt;p&gt;on prj.conf:&lt;br /&gt;#CONFIG_CRC=y&lt;br /&gt;#CONFIG_MCUMGR_GRP_OS_TASKSTAT=y&lt;br /&gt;#CONFIG_MCUMGR_GRP_IMG=y&lt;br /&gt;#CONFIG_MCUMGR_GRP_OS=y&lt;br /&gt;#CONFIG_MCUMGR_GRP_STAT=y&lt;/p&gt;
&lt;p&gt;on nrf5340dk_nrf5340_cpuapp.conf:&lt;br /&gt;#CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y&lt;/p&gt;
&lt;p&gt;With those modifications, the cmake command completes without errors, but the ninja build stops with the following:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/opt/nordicsemi/ncs2/nrf/modules/mcuboot/hooks/nrf53_hooks.c: In function &amp;#39;boot_read_image_header_hook&amp;#39;:
/opt/nordicsemi/ncs2/nrf/modules/mcuboot/hooks/nrf53_hooks.c:29:27: error: &amp;#39;PM_CPUNET_APP_SIZE&amp;#39; undeclared (first use in this function)
   29 |   img_head-&amp;gt;ih_img_size = PM_CPUNET_APP_SIZE;
      |                           ^~~~~~~~~~~~~~~~~~
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It seems related to something wrong with the PM. In other projects, the PM_CPUNET_APP_SIZE is automatically defined in the file zephyr/include/generated/pm_config.h and mcuboot/zephyr/include/generated/pm_config.h.&lt;/p&gt;
&lt;p&gt;Do you have any idea?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Regarding this: &amp;quot;DTS Partitioning is ignored with MCUboot. Use Partition Manager instead.&amp;quot; it was just a test I&amp;#39;ve made after previous failed tests using PM; I suppose the definition added in the overlay does nothing.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Regards,&lt;br /&gt;Gabriele.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA on external flash fails after having loaded an image</title><link>https://devzone.nordicsemi.com/thread/448171?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2023 13:08:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20b3bc4d-bd19-46a4-bfdd-e69519e161f1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]The partition has been defined in the overlay configuration file in the following way:[/quote]
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;DTS Partitioning is ignored with MCUboot. Use Partition Manager instead.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;I would suggest you use the SMP Server sample&amp;nbsp;which also has support for LittleFS already. Here is my example&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/smp_5F00_svr_5F00_nRF5340_5F00_ExternalFlash.7z"&gt;smp_svr_nRF5340_ExternalFlash.7z&lt;/a&gt;&amp;nbsp;for NCS v2.4.0.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Beware that this code/configuration is not fully tested or qualified and should be considered provided “as-is”. Please test it with your application and let me know if you find any issues.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>