<?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>The process of ble ota is a bit long</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117317/the-process-of-ble-ota-is-a-bit-long</link><description>HI ALL, 
 I am using v2.8.0, NRF54L15,and peripheral_uart demo has not made any modifications except for adding the following content. The test shows that the OTA upgrade (from start to device restart) takes about 80 seconds. Through Wirshark packet capture</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Dec 2024 07:38:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117317/the-process-of-ble-ota-is-a-bit-long" /><item><title>RE: The process of ble ota is a bit long</title><link>https://devzone.nordicsemi.com/thread/515391?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 07:38:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bcc1519-25b9-4e5f-8a64-68e8c605aa34</guid><dc:creator>666</dc:creator><description>&lt;p&gt;I succeeded, thank you very much&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The process of ble ota is a bit long</title><link>https://devzone.nordicsemi.com/thread/515389?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 07:30:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1deaed01-3292-4f87-9857-053c5e5a7242</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The mcuboot.conf file (Kconfig fragment) must be placed in a folder named &amp;#39;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/build/sysbuild/index.html#sysbuild_file_suffix_support"&gt;sysbuild&lt;/a&gt;&amp;#39; for it to be detected by the build system.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Edit: Here is the project I used for test:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7776.peripheral_5F00_lbs_5F00_dfu.zip"&gt;devzone.nordicsemi.com/.../7776.peripheral_5F00_lbs_5F00_dfu.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The process of ble ota is a bit long</title><link>https://devzone.nordicsemi.com/thread/515387?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 07:26:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:169afc88-d002-4f0a-8d66-225e22baac5b</guid><dc:creator>666</dc:creator><description>&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/pastedimage1734506558739v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I first created file&amp;nbsp;&lt;span&gt;mcuboot.conf&lt;/span&gt;, then clicked &lt;span&gt;&amp;nbsp;pristine build&lt;/span&gt;,I didn&amp;#39;t&amp;nbsp;&lt;span&gt;add new Kconfig or DT overlays&lt;/span&gt;&amp;nbsp;.I don&amp;#39;t know why it didn&amp;#39;t set up successfully. Do you have any suggestions&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The process of ble ota is a bit long</title><link>https://devzone.nordicsemi.com/thread/515375?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 06:49:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c8a283e-507e-4a48-867f-f6712b4fbff8</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please check if the&amp;nbsp;CONFIG_NRF_RRAM_WRITE_BUFFER_SIZE symbol got set to &amp;#39;32&amp;#39; in your build by checking the configuration file generated for the mcuboot build:&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/pastedimage1734504346564v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Note that you must perform a pristine build after adding new Kconfig or DT overlays for it to be applied to the build.&amp;nbsp;&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/pastedimage1734504480455v2.png" alt=" " /&gt;&lt;/p&gt;
[quote user="666"]2.How long is normal for ble ota in NRF54L15?[/quote]
&lt;p&gt;I tested this change, and the copy process was reduced from around 80 seconds as in your case, to just 6 seconds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The process of ble ota is a bit long</title><link>https://devzone.nordicsemi.com/thread/515366?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 02:01:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47e3066d-0cc5-468c-b10d-db300e866ef6</guid><dc:creator>666</dc:creator><description>&lt;p&gt;1.It seems to have no effect. I created a &amp;#39;mcuboot.conf&amp;#39; file based on my previous work and included the following content.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1734487069983v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;However, the device runs very slowly and takes over 70 seconds to operate.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1734491122711v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Then I changed &amp;quot;&lt;span&gt;CONFIG_MAIN_STACK_SIZE&lt;/span&gt;&lt;span&gt;=1152&lt;/span&gt;&amp;quot; to&amp;nbsp;&amp;quot;&lt;span&gt;CONFIG_MAIN_STACK_SIZE&lt;/span&gt;&lt;span&gt;=4096&lt;/span&gt;&amp;quot; and it will run normally, but the effect was the same as before and had no effect&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1734491329453v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;2.How long is normal for ble ota in NRF54L15?&lt;/p&gt;
&lt;p&gt;Looking forwad to your reply!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The process of ble ota is a bit long</title><link>https://devzone.nordicsemi.com/thread/515277?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2024 13:47:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85af2c2a-4409-493b-b97d-b35aa5e4947c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems like MCUBoot builds do not enable the RRAM write buffer by default. As a result, the routine that copies the updated image from the secondary slot to the primary slot becomes very slow.&lt;/p&gt;
&lt;p&gt;Please try&amp;nbsp;to add this line to your mcuboot configuration:&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Increase log level in bootloader
CONFIG_LOG_DEFAULT_LEVEL=4
CONFIG_MCUBOOT_LOG_LEVEL_DBG=y
# Enable write buffer for faster writes to RRAM
CONFIG_NRF_RRAM_WRITE_BUFFER_SIZE=32&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;PROJ_DIR&amp;gt;/sysbuild&lt;br /&gt;└── mcuboot.conf&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>