<?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>Updating firmware in bootloader process through ble in nrf52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102635/updating-firmware-in-bootloader-process-through-ble-in-nrf52</link><description>Hi, 
 I need to download and update the firmware during the bootloader process, 
 coz of the memory constraint, Is it possible to download firmware during the bootloader process i.e., To enable BLE communication on the bootloader 
 if yes please guide</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Aug 2023 11:41:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102635/updating-firmware-in-bootloader-process-through-ble-in-nrf52" /><item><title>RE: Updating firmware in bootloader process through ble in nrf52</title><link>https://devzone.nordicsemi.com/thread/440947?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2023 11:41:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5d09c6a-715b-49c2-9c52-2b5b201228ca</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi again,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Well, distance measurement is not a simple application. A simple BLE application, for example peripheral_lbs only takes 139kB of flash.&lt;/p&gt;
&lt;p&gt;The DM application requires the BLE stack and the distance measurement library.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;As I mentioned in the previous reply, please try to optimize using&amp;nbsp;what inside&amp;nbsp;&lt;span&gt;prj_minimal.conf in peripheral_lbs.&amp;nbsp; But I doubt you would be able to bring it down under 200kB to fit into nRF52832 + FOTA DFU.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;Or you can use nRF52832 but instead of doing FOTA DFU you can do Serial recovery which doesn&amp;#39;t require dual bank.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware in bootloader process through ble in nrf52</title><link>https://devzone.nordicsemi.com/thread/440921?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2023 09:52:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5d0d695-d397-446c-8445-6531e7d4fd0e</guid><dc:creator>syed_</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;This is a simple distance measurement application provided in the SDK for which i am trying to do an OTA. Do i need to have an external flash for this? Does that mean that nordic examples given also need an external flash. I am totally lost here... A simple application taking more than 256kb flash memory is really not acceptable. can u please check? If not we might need to consider some other solution in the future as we cannot do a simple OTA on sample applications given by nordic after having bought a micro controller of 512KB. This is highly unacceptable. can u please check again?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Syed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware in bootloader process through ble in nrf52</title><link>https://devzone.nordicsemi.com/thread/440916?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2023 09:29:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fe07ffb-4f32-49d5-937b-852662e76bd5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Syed,&amp;nbsp;&lt;br /&gt;I have no solution here. The flash is overflow by 51kB.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The last recommendation applied:&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;span&gt;You may need to look into the option to use external flash to receive the image, or use chip with larger flash size or optimize the application to get it fit into the dual bank set-up.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Have you considered switching to NRF52840 ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware in bootloader process through ble in nrf52</title><link>https://devzone.nordicsemi.com/thread/440913?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2023 09:19:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4823bf41-4528-417f-952d-219e6a3d62b3</guid><dc:creator>syed_</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf_5F00_dm_5F00_dfu.zip"&gt;devzone.nordicsemi.com/.../nrf_5F00_dm_5F00_dfu.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;i tried at my end but i am getting below memory overflow error:&lt;/p&gt;
&lt;p&gt;[276/276] Linking C executable zephyr\zephyr.elf&lt;br /&gt;Memory region&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Used Size&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Region Size&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%age Used&lt;br /&gt; FLASH:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;33908 B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;48 KB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 68.99%&lt;br /&gt; RAM:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23744 B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 64 KB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;36.23%&lt;br /&gt; IDT_LIST:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 GB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2 KB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.00%&lt;br /&gt;[503/524] Linking C executable zephyr\zephyr_pre0.elf.&lt;br /&gt;FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map &lt;br /&gt;cmd.exe /C &amp;quot;cd. &amp;amp;&amp;amp; D:\syed\nrf_connect_sdk\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -gdwarf-4 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf &amp;amp;&amp;amp; cmd.exe /C &amp;quot;cd /D D:\syed\proximity_tracker\notification-device\firmware\nrf_dm_dfu\build\zephyr &amp;amp;&amp;amp; D:\syed\nrf_connect_sdk\toolchains\v2.3.0\opt\bin\cmake.exe -E echo &amp;quot;&amp;quot;&lt;br /&gt;d:/syed/nrf_connect_sdk/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/../../../../arm-zephyr-eabi/bin/ld.exe: zephyr\zephyr_pre0.elf section `text&amp;#39; will not fit in region `FLASH&amp;#39;.&lt;br /&gt;d:/syed/nrf_connect_sdk/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/../../../../arm-zephyr-eabi/bin/ld.exe: &lt;strong&gt;region `FLASH&amp;#39; overflowed by 51664 bytes&lt;/strong&gt;.&lt;br /&gt;collect2.exe: error: ld returned 1 exit status.&lt;/p&gt;
&lt;p&gt;Can you please look into this at your end.&lt;/p&gt;
&lt;p&gt;thank you, Hung Bui,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware in bootloader process through ble in nrf52</title><link>https://devzone.nordicsemi.com/thread/440474?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2023 11:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01a0f498-da83-4121-93c8-7688e0a8c7bf</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Syed,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The no path is actually the BLE controller and part of Zephyr, unfortunately you can&amp;#39;t just remove them.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What you can do is to try minimize the application flash size by disable any feature that you don&amp;#39;t use. I would suggest to&amp;nbsp;look at the minimum configuration&amp;nbsp;prj_minimal.conf in peripheral_lbs to see how to do it.&amp;nbsp;&lt;br /&gt;In my test here the flash size changed from 182kB when build peripheral_lbs with prj.conf down to 139kB when building with prj_minimal.conf.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware in bootloader process through ble in nrf52</title><link>https://devzone.nordicsemi.com/thread/440459?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2023 10:16:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1ecc97f-0d96-4f44-9acf-253dd1cad852</guid><dc:creator>syed_</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/pastedimage1691575746960v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Have a look on the above to differentiate memory reports the major space is captured by &lt;strong&gt;no path&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;only the application size of one is 5kb and the other is 652 bytes&amp;nbsp;&lt;/p&gt;
&lt;p&gt;is the on path necessary, if yes, please help me out reducing the size of&amp;nbsp;&lt;strong&gt;no path, &lt;/strong&gt;if no help me out removing it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;THANK YOU&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware in bootloader process through ble in nrf52</title><link>https://devzone.nordicsemi.com/thread/440322?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2023 13:11:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46ee5227-2eba-401e-8959-68fc5310dc91</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Syed,&amp;nbsp;&lt;br /&gt;I&amp;#39;m afraid that single bank update is not possible with the current OTA DFU solution with NCS. The problem here is that the application is needed to receive image via BLE. So it&amp;#39;s not possible to delete the application to get space for the new image.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You may need to look into the option to use external flash to receive the image, or use chip with larger flash size or optimize the application to get it fit into the dual bank set-up.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware in bootloader process through ble in nrf52</title><link>https://devzone.nordicsemi.com/thread/440313?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2023 12:52:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da0b0e03-4949-4505-889f-fa2867a8032e</guid><dc:creator>syed_</dc:creator><description>&lt;p&gt;As i am using nrf52832 i am facing memory limitation, as my firmware is covering up to&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Memory region&amp;nbsp; &amp;nbsp; &amp;nbsp;Used Size&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Region Size&amp;nbsp; &amp;nbsp; &amp;nbsp; %age Used&lt;br /&gt; FLASH:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 302424 B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;512 KB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 57.68%&lt;br /&gt; RAM:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 60284 B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;64 KB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;91.99%&lt;br /&gt; IDT_LIST:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 GB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 KB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.00%&lt;/p&gt;
&lt;p&gt;if Iam trying to integrate DFU in the present code I am facing memory overflow i.e.,&lt;/p&gt;
&lt;p&gt;d:/nrf_connect_sdk/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/../../../../arm-zephyr-eabi/bin/ld.exe: &lt;strong&gt;zephyr\zephyr_pre0.elf section `text&amp;#39; will not fit in region `FLASH&amp;#39;&lt;/strong&gt;&lt;br /&gt;d://nrf_connect_sdk/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/../../../../arm-zephyr-eabi/bin/ld.exe: &lt;strong&gt;region `FLASH&amp;#39; overflowed by 86148 bytes.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I know the MCUboot uses 2 slots, one for execution FW and the other for OTA.&lt;/p&gt;
&lt;p&gt;Is there any possibility to use the single slot update. Update the new FW from the bootloader by overwriting the execution FW?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware in bootloader process through ble in nrf52</title><link>https://devzone.nordicsemi.com/thread/440300?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2023 12:20:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4a5690d-7134-4440-b8d2-b0392598b901</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Syed,&amp;nbsp;&lt;br /&gt;Could you elaborate a bit more on this:&amp;nbsp;&lt;/p&gt;
[quote user=""] Is it possible to download firmware during the bootloader process i.e., To enable BLE communication on the bootloader[/quote]
&lt;p&gt;I am not 100% sure I understand what you meant.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Could you please clarify which bootloader you are looking at ?&amp;nbsp;&lt;br /&gt;Please be aware that MCUBoot doesn&amp;#39;t handle BLE communication. You would need to receive the image in the application.&amp;nbsp;&lt;br /&gt;The only option for DFU update using only the MCUBoot is serial recovery mode which uses UART.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware in bootloader process through ble in nrf52</title><link>https://devzone.nordicsemi.com/thread/440276?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2023 10:31:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac6f377d-ffe8-48f9-8dd0-8d0a1bc4d158</guid><dc:creator>syed_</dc:creator><description>&lt;p&gt;Any updates regarding the above issue...&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>