<?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>AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124681/aws-iot-example---utilizing-92-5-flash-without-configuration-changes-on-7002dk</link><description>Hi Nordic Support Team, I&amp;#39;m experiencing severe memory constraints with the AWS Io T Core example on the nRF 7002DK (nRF 5340) that make it impract ical for real-world applications requiring WiFi provisioning and custom functionality . 
 Current Memory</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Nov 2025 14:03:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124681/aws-iot-example---utilizing-92-5-flash-without-configuration-changes-on-7002dk" /><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/553831?ContentTypeID=1</link><pubDate>Mon, 10 Nov 2025 14:03:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23590487-e015-4579-8eb8-ac97fda198ee</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Understood. I&amp;#39;ll let the R&amp;amp;D guy leave this for the time being then.&lt;/p&gt;
&lt;p&gt;Let us know if there is anything else!&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/553665?ContentTypeID=1</link><pubDate>Fri, 07 Nov 2025 12:24:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3637f447-036a-4af4-9da0-f7f4dbced5a7</guid><dc:creator>ddavson</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;br /&gt;&lt;br /&gt;I appreciate that complexity - thanks for updating me. For this and other reasons, we&amp;#39;ve decided to go with a simpler approach, doing the OTA over BLE for the first product (using the 54 series).&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Dan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/553582?ContentTypeID=1</link><pubDate>Thu, 06 Nov 2025 15:19:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5c832ea-e16b-4f8d-a903-5c51e63d0797</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I have someone from the relevant R&amp;amp;D team looking into this, though unfortunately it might take some time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So this is a rather complex feature, and currently works only with a one-time programmed firmware. For FOTA, the biggest concern is that if either the application or the nRF70 firmware patch is updated independently, a version mismatch may occur, which can lead to compatibility issues and potentially cause the Wi-Fi functionality to stop working.&lt;/p&gt;
&lt;p&gt;What would be easiest by far would be switching to 54LM20. &lt;span&gt;Its FOTA solution combines the application and the nRF70 firmware patch, which prevents such compatibility problems.&amp;nbsp;&lt;/span&gt;Is that something you are still considering?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/552791?ContentTypeID=1</link><pubDate>Wed, 29 Oct 2025 14:59:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cea1e77c-d64c-4036-971a-d1286da6d641</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Good.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m looking it the rest of your argument below. I&amp;#39;m getting the feeling that this could be a bug. I&amp;#39;ll try to reproduce it sometime next week.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/552341?ContentTypeID=1</link><pubDate>Fri, 24 Oct 2025 10:31:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:475805d8-f93b-4073-bb6d-65e9e49d5432</guid><dc:creator>ddavson</dc:creator><description>&lt;p&gt;Hi Elfving&lt;br /&gt;&lt;br /&gt;Thanks for looking into this - yes,SB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_WIFI_FW_PATCH is set, as per:&lt;br /&gt;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf70/nrf70_fw_patch_update.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf70/nrf70_fw_patch_update.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Dan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/552239?ContentTypeID=1</link><pubDate>Thu, 23 Oct 2025 11:40:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d460d9a6-6d89-418b-b2ba-675af1e52581</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;Considering this:&lt;/p&gt;
[quote user="ddavson"]The build fails with:&lt;br /&gt;&amp;nbsp; &amp;nbsp; FileNotFoundError: build/nrf70.signed.bin[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you check if either of these are set?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1761219613437v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/551837?ContentTypeID=1</link><pubDate>Fri, 17 Oct 2025 15:10:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66326257-cd0a-4313-bb94-53bc88892a02</guid><dc:creator>ddavson</dc:creator><description>&lt;p&gt;Hi, thanks the&amp;nbsp;CONFIG_DFU_MULTI_IMAGE=y dependency was missing. There are still 2 issues I have though:&lt;br /&gt;&lt;br /&gt;1. Multi-Image Package Build Error&lt;br /&gt;&lt;br /&gt;When we enable:&lt;br /&gt;&amp;nbsp; &amp;nbsp; SB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_BUILD=y&lt;br /&gt;&amp;nbsp; &amp;nbsp; SB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_WIFI_FW_PATCH=y&lt;br /&gt;&lt;br /&gt;The build fails with:&lt;br /&gt;&amp;nbsp; &amp;nbsp; FileNotFoundError: build/nrf70.signed.bin&lt;br /&gt;&lt;br /&gt;I think sysbuild system tries to create dfu_multi_image.bin before nrf70.signed.bin is generated (build ordering issue).&lt;br /&gt;&lt;br /&gt;2. The Matter bridge example demonstrates WiFi patch FOTA, which indicates MCUBoot can handle it, however the in the library used by the IOT core example, the fota_download library hardcodes img_num=0 when calling dfu_target_init() at line 183 of fota_download.c:&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; err = dfu_target_init(img_type, 0, file_size, dfu_target_callback_handler);&lt;br /&gt;&lt;br /&gt;This means WiFi firmware patches (nrf70.signed.bin) are always written to mcuboot_secondary (image 0) instead of mcuboot_secondary_1 (image 1), causing MCUboot to reject and revert the update.&lt;br /&gt;&lt;br /&gt;MCUboot is correctly managing both images (we see &amp;quot;Image index: 0&amp;quot; and &amp;quot;Image index: 1&amp;quot; in boot logs), and application FOTA works fine. The issue is specifically that the FOTA library can&amp;#39;t target image 1.&lt;br /&gt;&lt;br /&gt;Note: We observed that Matter OTA handles WiFi patch updates using the dfu_multi_image API with combined packages, whereas AWS FOTA uses the fota_download API which hardcodes img_num=0 - is there a recommended way to integrate dfu_multi_image support into AWS FOTA?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/551804?ContentTypeID=1</link><pubDate>Fri, 17 Oct 2025 11:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2f4909f-798d-48e8-a288-0f13b6866408</guid><dc:creator>Elfving</dc:creator><description>[quote user="ddavson"]&lt;p&gt;2. How should I configure FOTA updates for WiFi firmware patches when using AWS IoT FOTA library? Currently, AWS FOTA treats all updates as application updates (image 0), causing WiFi patch binaries to be written to the wrong slot.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;span&gt;The wifi fw patch FOTA process is same as app and net images. The device can use nrf FOTA library to finish firmware download and MCUBoot to do swap afterwards. Looks some customer has made this work with their http server: &lt;a title="https://devzone.nordicsemi.com/f/nordic-q-a/122242/nrf5340-nrf7002-multi-image-https-fota" href="https://devzone.nordicsemi.com/f/nordic-q-a/122242/nrf5340-nrf7002-multi-image-https-fota" rel="noopener noreferrer" target="_blank"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/122242/nrf5340-nrf7002-multi-image-https-fota&lt;/a&gt;. AWS should be able to handle this as http sever.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="ddavson"]3. Should I be trying to get MCUboot to handle it, or do I need to intercept download and overwrite it in the application? Is there documentation I&amp;#39;m missing?&lt;br /&gt;[/quote]
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.1.1/page/nrf/app_dev/device_guides/nrf70/nrf70_fw_patch_update.html#nrf70-fw-patch-update-adding-partitions"&gt;Have a look here.&lt;/a&gt;&lt;/p&gt;
[quote user="ddavson"]4. Is there example code or documentation for performing OTA updates of WiFi patches stored in external flash with MCUboot multi-image support?&lt;br /&gt;[/quote]
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.1.1/page/nrf/applications/matter_bridge/doc/matter_bridge_description.html#building_and_running"&gt;You do for instance have this matter sample.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/551733?ContentTypeID=1</link><pubDate>Thu, 16 Oct 2025 14:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f36978e-4a76-44d3-9d3d-6cc9b8c2d936</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Thanks for the patience&lt;/p&gt;
[quote user="ddavson"]1. Why is CONFIG_NRF_WIFI_FW_PATCH_DFU not being enabled? Are there hidden dependencies?&lt;br /&gt;[/quote]
&lt;p&gt;Could be some missing dependency. Does the build log mention it? It typically says something along the line of &amp;quot;trying to set the config to this, but it got that value instead&amp;quot;.&lt;/p&gt;
[quote user="ddavson"]2. How should I configure FOTA updates for WiFi firmware patches when using AWS IoT FOTA library? Currently, AWS FOTA treats all updates as application updates (image 0), causing WiFi patch binaries to be written to the wrong slot.[/quote]
&lt;p&gt;This, and the rest regarding OTA for patches I am not sure about, I&amp;#39;ve forwarded this to the relevant R&amp;amp;D team to see if they have an idea. I&amp;#39;ll let you know once I hear from them.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/551027?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2025 13:59:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ead8326b-a03e-489b-9a52-fe9de76f97c5</guid><dc:creator>ddavson</dc:creator><description>&lt;p&gt;I have successfully configured WiFi firmware patches to be stored in external flash (MX25R64) and managed by MCUboot as a multi-image setup. The device boots and runs correctly with the patches in external flash. I can perform FOTA updates of the application, but am unsure of the best approach for updating the FW patches.&lt;/p&gt;
&lt;p&gt;CONFIG_NRF_WIFI_FW_PATCH_DFU remains disabled despite all documented dependencies being met.&lt;br /&gt;&lt;br /&gt;I have tried CONFIG_NRF_WIFI_FW_PATCH_DFU=y in both:&lt;br /&gt;- prj.conf&lt;br /&gt;- boards/nrf7002dk_nrf5340_cpuapp_ns.conf&lt;/p&gt;
&lt;p&gt;✓ CONFIG_NRF_WIFI_PATCHES_EXT_FLASH_STORE=y&lt;br /&gt;✓ CONFIG_PARTITION_MANAGER_ENABLED=y&amp;nbsp;&amp;nbsp;&lt;br /&gt;✓ CONFIG_BOOTLOADER_MCUBOOT=y&lt;br /&gt;✗ CONFIG_NRF_WIFI_FW_PATCH_DFU=y (set in prj.conf but shows as &amp;quot;not set&amp;quot; in build/.config)&lt;br /&gt;&lt;br /&gt;After building, the generated .config shows:&lt;br /&gt;# CONFIG_NRF_WIFI_FW_PATCH_DFU is not set&lt;br /&gt;&lt;br /&gt;Partition Layout (pm_static.yml):&lt;br /&gt;---------------------------------&lt;br /&gt;- mcuboot_secondary (0x0, 0xe4000) - App secondary&lt;br /&gt;- nrf70_wifi_fw_mcuboot_pad (0xe4000, 0x200)&lt;br /&gt;- nrf70_wifi_fw (0xe4200, 0x20000)&amp;nbsp;&amp;nbsp;&lt;br /&gt;- mcuboot_primary_1 (0xe4000, 0x21000)&lt;br /&gt;- mcuboot_secondary_1 (0x105000, 0x21000)&lt;br /&gt;&lt;br /&gt;Questions:&lt;br /&gt;----------&lt;br /&gt;1. Why is CONFIG_NRF_WIFI_FW_PATCH_DFU not being enabled? Are there hidden dependencies?&lt;br /&gt;&lt;br /&gt;2. How should I configure FOTA updates for WiFi firmware patches when using AWS IoT FOTA library? Currently, AWS FOTA treats all updates as application updates (image 0), causing WiFi patch binaries to be written to the wrong slot.&lt;/p&gt;
&lt;p&gt;3. Should I be trying to get MCUboot to handle it, or do I need to intercept download and overwrite it in the application? Is there documentation I&amp;#39;m missing?&lt;br /&gt;&lt;br /&gt;4. Is there example code or documentation for performing OTA updates of WiFi patches stored in external flash with MCUboot multi-image support?&lt;br /&gt;&lt;br /&gt;Files available upon request:&lt;br /&gt;-----------------------------&lt;br /&gt;- Complete prj.conf and board configs&lt;br /&gt;- pm_static.yml&amp;nbsp;&amp;nbsp;&lt;br /&gt;- sysbuild.conf&lt;br /&gt;- Build logs showing config resolution&lt;br /&gt;&lt;br /&gt;Thank you for your assistance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/550680?ContentTypeID=1</link><pubDate>Mon, 06 Oct 2025 11:05:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16d2811c-1ef6-4ec3-ba4b-84404c781140</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hope you&amp;#39;ve had a nice week-end Dan,&lt;/p&gt;
[quote user="ddavson"]&lt;p&gt;I had been looking at&amp;nbsp;&lt;a href="https://www.nordicsemi.com/-/media/Publications/WQ-Product-guide/Nordic-Product-Comparison-table-WQ-Dec-2024.pdf"&gt;https://www.nordicsemi.com/-/media/Publications/WQ-Product-guide/Nordic-Product-Comparison-table-WQ-Dec-2024.pdf &lt;/a&gt;so was not aware the NRF54L20 was released! That&amp;#39;s great that its been released! We could consider it - how do i get hold of an EVK? Mouser etc show no stock.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Please contact your local RSM for that, or let me know if you need her contact info. For that though I would need to make the case private, since I do not want to spread that info into the open.&lt;/p&gt;
[quote user="ddavson"]&lt;p&gt;Do you know why XIP not supported on the EVK?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;I believe this is because the flash on that is connected with SPI, and you need QSPI for XiP.&lt;/p&gt;
[quote user="ddavson"]Do you know how much RAM will be used using externally stored patches loaded into RAM? I&amp;#39;d like to know this before trying it as it&amp;#39;s a dead end if its the full 83KB thats stored in flash.&lt;br /&gt;[/quote]
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf70/fw_patches_ext_flash.html#configuration"&gt;You can transfer it in configurable chunk sizes.&lt;/a&gt;&lt;/p&gt;
[quote user="ddavson"]CONFIG_TFM_PROFILE_TYPE_MINIMAL=y fails for IOT core example - the SSL relies on it. The options selected for the example use basically the full 128KB (122KB) and you can&amp;#39;t really save the rest because of the alignment restrictions - less of a problem on the 54 series, so thanks for sharing that link too.&lt;br /&gt;[/quote]
&lt;p&gt;Glad it works on devices with a larger flash. So yeah, if I understood you correctly, that was not really a question&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/550601?ContentTypeID=1</link><pubDate>Fri, 03 Oct 2025 13:54:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06b42739-f18d-404b-b38e-230950b6383d</guid><dc:creator>ddavson</dc:creator><description>&lt;p&gt;Hi&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NRF54L20&lt;/strong&gt;&lt;br /&gt;I had been looking at&amp;nbsp;&lt;a href="https://www.nordicsemi.com/-/media/Publications/WQ-Product-guide/Nordic-Product-Comparison-table-WQ-Dec-2024.pdf"&gt;https://www.nordicsemi.com/-/media/Publications/WQ-Product-guide/Nordic-Product-Comparison-table-WQ-Dec-2024.pdf &lt;/a&gt;so was not aware the NRF54L20 was released! That&amp;#39;s great that its been released! We could consider it - how do i get hold of an EVK? Mouser etc show no stock.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Flash savings:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="reference external" href="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/wifi/throughput/overlay-memory-optimized.conf"&gt;overlay-memory-optimized.conf&lt;/a&gt;&amp;nbsp;used marginally more flash (so confirms that its mostly RAM optimizations)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;FYI - some flash saving measures I&amp;#39;ve found - and for others reading the thread in future:&lt;br /&gt;&lt;br /&gt;CONFIG_WIFI_NM_WPA_SUPPLICANT_WPA3=n # 17KB flash saving&lt;/p&gt;
&lt;p&gt;CONFIG_NET_IPV6=y # saves 36KB, a problem if we want thread/matter? breaks fota, but may be solvable (downloader fails).&lt;br /&gt;&lt;br /&gt;Of course disabling the shell is also significant (around &amp;gt;30KB). Inconvenient for development though.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;XiP / Wifi Patches&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1759490954399v1.png" alt=" " /&gt;&lt;br /&gt;&lt;/strong&gt;Do you know why XIP not supported on the EVK?&lt;/p&gt;
&lt;p&gt;Do you know how much RAM will be used using externally stored patches loaded into RAM? I&amp;#39;d like to know this before trying it as it&amp;#39;s a dead end if its the full 83KB thats stored in flash.&lt;br /&gt;&lt;br /&gt;Regards&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;CONFIG_TFM_PROFILE_TYPE_MINIMAL=y fails for IOT core example - the SSL relies on it. The options selected for the example use basically the full 128KB (122KB) and you can&amp;#39;t really save the rest because of the alignment restrictions - less of a problem on the 54 series, so thanks for sharing that link too.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/550437?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 08:31:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8015d2a5-8d9b-4e74-a384-57ddc03946da</guid><dc:creator>Elfving</dc:creator><description>[quote user="ddavson"]Switching to the nRF54L will seemingly have too little RAM (max 256KB and we are at 80% with the example with 512KB+64KB? on the nrf53)? So that doesn&amp;#39;t look viable.&lt;br /&gt;[/quote]
&lt;p&gt;Have you considered the new nrf&lt;a href="https://www.nordicsemi.com/Products/nRF54LM20A"&gt;54LM20&lt;/a&gt;? It has&amp;nbsp;&lt;span&gt;512 KB RAM.&lt;/span&gt;&lt;/p&gt;
[quote user="ddavson"]&lt;p&gt;Thanks for sharing those links, have come across them. While they do look worth exploring - most of them look like they are RAM saving measures. My expectation is that I&amp;#39;ll manage to shave a few KB of flash, not 10s of KB using that alone.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Yeah. It depends on the application of course, but that might be right.&amp;nbsp;&lt;/p&gt;
[quote user="ddavson"]&lt;p&gt;Could you get back to me on XIP for the wifi patches? I can&amp;#39;t find any clear documentation on how that interacts with FOTA.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf70/nrf70_fw_patch_update.html"&gt;There is some documentation on this here for instance&lt;/a&gt;&amp;nbsp;and &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf70/fw_patches_ext_flash.html#using-xip-access"&gt;here&lt;/a&gt;.&lt;/p&gt;
[quote user="ddavson"]&lt;p&gt;Are my other questions regarding different ways of building (around the TF-M, potentially not using it) worth exploring?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote][quote user=""]&lt;span&gt;What is the&lt;/span&gt;&lt;span&gt;&amp;nbsp;official guidance on building without TF&lt;/span&gt;&lt;span&gt;-M (/ns) for production applications&lt;/span&gt;&lt;span&gt;? What security implications should we consider&lt;/span&gt;&lt;span&gt;?&lt;/span&gt;[/quote]
&lt;p&gt;Without TF-M you wouldn&amp;#39;t get several security features, like no PSA RoT or APIs, no secure DFU. It is generally considered good practice to have&amp;nbsp;layers of security, eg. &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/security/tfm/processing_environments.html"&gt;security by separation&lt;/a&gt;, but there is also an increasing focus on security certifications these days, which are slowly becoming mandated.&amp;nbsp;So what features you would need might also depend on what markets you&amp;#39;d like to potentially sell your products in. &lt;a href="https://www.nordicsemi.com/Products/Technologies/Security/Regulations?lang=en#infotabs"&gt;Have a look here for a bit on the EU market for instance.&lt;/a&gt;&lt;/p&gt;
[quote user=""]&lt;span&gt;Is there a way to&lt;/span&gt;&lt;span&gt;&amp;nbsp;optimize the TF-M memory allocation&lt;/span&gt;&lt;span&gt;&amp;nbsp;to reclaim some of the apparent&lt;/span&gt;&lt;span&gt;&amp;nbsp;16KB waste in trustzone storage&lt;/span&gt;&lt;span&gt;? Or shrink the 128KB it is taking?&lt;/span&gt;[/quote]
&lt;p&gt;Yeah there are a few configs you can try. Have you had a look at &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/security/tfm/tfm_building.html#minimal_build"&gt;the minimal profile&lt;/a&gt;&amp;nbsp;CONFIG_TFM_PROFILE_TYPE_MINIMAL?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/550250?ContentTypeID=1</link><pubDate>Tue, 30 Sep 2025 16:46:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b2f4868-9e64-4b6d-a294-ec00ebbcb115</guid><dc:creator>ddavson</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for getting back to me.&lt;/p&gt;
&lt;p&gt;Switching to the nRF54L will seemingly have too little RAM (max 256KB and we are at 80% with the example with 512KB+64KB? on the nrf53)? So that doesn&amp;#39;t look viable.&lt;br /&gt;&lt;br /&gt;Thanks for sharing those links, have come across them. While they do look worth exploring - most of them look like they are RAM saving measures. My expectation is that I&amp;#39;ll manage to shave a few KB of flash, not 10s of KB using that alone.&lt;/p&gt;
&lt;p&gt;Could you get back to me on XIP for the wifi patches? I can&amp;#39;t find any clear documentation on how that interacts with FOTA.&lt;/p&gt;
&lt;p&gt;Are my other questions regarding different ways of building (around the TF-M, potentially not using it) worth exploring?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Dan&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IOT example - utilizing ~92.5% flash without configuration changes on 7002DK</title><link>https://devzone.nordicsemi.com/thread/550215?ContentTypeID=1</link><pubDate>Tue, 30 Sep 2025 13:56:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b549cf1-2dee-4bd1-928b-f991ec71fe39</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Dan,&lt;/p&gt;
&lt;p&gt;You are right in that flash space can be a problem with the nRF7002 stack, unfortunately. We have some documentations with things that could be tried though, but what you can configure would of course depend on the application. Have you seen &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/wifi/stack_configuration.html#nrf_wi-fi_driver_performance_and_memory_fine-tuning_controls"&gt;this&lt;/a&gt;, &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/wifi/stack_configuration.html#usage_profiles"&gt;this &lt;/a&gt;and &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/optimizing/memory.html#wi-fi"&gt;this &lt;/a&gt;for instance?&lt;/p&gt;
&lt;p&gt;Is switching to the nRF54Ls an option for you?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>