<?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>BLE DFU on NRF54L05 using ncs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120756/ble-dfu-on-nrf54l05-using-ncs</link><description>Hello Team, 
 We are currently working with the nRF54L05 SoC and are in the process of enabling DFU over BLE. However, after integrating DFU support, we are encountering memory overflow errors. 
 Upon reviewing related discussions on DevZone, we understand</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Apr 2025 12:39:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120756/ble-dfu-on-nrf54l05-using-ncs" /><item><title>RE: BLE DFU on NRF54L05 using ncs</title><link>https://devzone.nordicsemi.com/thread/532123?ContentTypeID=1</link><pubDate>Thu, 17 Apr 2025 12:39:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a061212-3990-403f-bb97-11d9b28a9ddd</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;It&amp;#39;s hard to say because it depends on the feature enabled in the mcuboot.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU on NRF54L05 using ncs</title><link>https://devzone.nordicsemi.com/thread/532105?ContentTypeID=1</link><pubDate>Thu, 17 Apr 2025 07:39:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da8488a2-f361-41fe-848b-49eb36b400c8</guid><dc:creator>payalD</dc:creator><description>&lt;p&gt;What is the minimum size required for a bootloader?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU on NRF54L05 using ncs</title><link>https://devzone.nordicsemi.com/thread/532047?ContentTypeID=1</link><pubDate>Wed, 16 Apr 2025 14:51:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8d9adbd-1c23-434e-a7da-66cc0ba634cb</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;The&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/scripts/partition_manager/partition_manager.html#partition-manager"&gt;&lt;span&gt;Partition Manager&lt;/span&gt;&lt;/a&gt;&amp;nbsp;would allocate the memory automatically according to the mcuboot requirement.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU on NRF54L05 using ncs</title><link>https://devzone.nordicsemi.com/thread/532039?ContentTypeID=1</link><pubDate>Wed, 16 Apr 2025 14:02:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dde6ad0-1a79-4b76-9680-82309d40853b</guid><dc:creator>payalD</dc:creator><description>&lt;p&gt;Thanks for the update&lt;/p&gt;
&lt;p&gt;Regarding maximum available memory, considering above mentioned architecture, we need the maximum size that can be configured for the bootloader, primary slot, and secondary slot.&lt;/p&gt;
&lt;p&gt;Note: This is required for NRF54l05&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU on NRF54L05 using ncs</title><link>https://devzone.nordicsemi.com/thread/532036?ContentTypeID=1</link><pubDate>Wed, 16 Apr 2025 13:51:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9b33c0a-18e4-4a2e-a0ae-db813e4966b0</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]1. For the nRF54L05, what is the typical memory architecture used for DFU? [/quote]
&lt;p&gt;&lt;span&gt;There are three main parts for DFU: The bootloader, a primary slot and a secondary slot.&amp;nbsp;DFU can only send an image to the application running on a device. Then the application can write that image to flash.&amp;nbsp;But the application can not write to the slot itself runs in, as that would break the application. Therefore, we need a&amp;nbsp;&lt;strong&gt;second slot&lt;/strong&gt;&amp;nbsp;to write the new image to, as such:&lt;br /&gt;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/blob/main/.images/new_firmware.png" rel="noopener noreferrer" target="_blank"&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/pastedimage1744810524771v2.png" alt=" " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;DFU is to send new firmware to a slot in flash. This is often handeled by the application.&amp;nbsp;The bootloader do not need to be involved in the DFU.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]what is the maximum available memory we can allocate to a single application?[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The nRF Connect SDK variant of MCUboot uses the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/scripts/partition_manager/partition_manager.html#partition-manager"&gt;&lt;span&gt;Partition Manager&lt;/span&gt;&lt;/a&gt;&amp;nbsp;to configure the flash memory partitions for these image slots. See&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/bootloaders_dfu/mcuboot_nsib/bootloader_partitioning.html"&gt;Partitioning device memory&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]2. Is it possible to configure DFU with only a single application slot (i.e., remove the secondary slot) to save flash and avoid overflow?[/quote]
&lt;p&gt;No, because BLE DFU is handled by the application instead of mcuboot. To avoid overflow, you could try to &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/optimizing/index.html"&gt;optimize the application&lt;/a&gt;, &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-3-dfu-with-external-flash/"&gt;update&amp;nbsp;with external flash&lt;/a&gt;&amp;nbsp;or use other nRF chips with larger internal flash.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>