<?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>DFU over Bluetooth - Modify the Peripheral LBS sample error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111955/dfu-over-bluetooth---modify-the-peripheral-lbs-sample-error</link><description>Hi, 
 I have a question regarding the DFU example 
 
 Board used: nRF7002dk Toolchain used: v2.6.1 SDK used: v2.6.99-cs2 OS used: Windows 10 
 
 I was following the process of &amp;#39;DFU over Bluetooth - Modify the Peripheral LBS sample&amp;#39; from the link below</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Jul 2024 02:21:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111955/dfu-over-bluetooth---modify-the-peripheral-lbs-sample-error" /><item><title>RE: DFU over Bluetooth - Modify the Peripheral LBS sample error</title><link>https://devzone.nordicsemi.com/thread/491947?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 02:21:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e6683d0-71af-424f-90f6-e209d0105401</guid><dc:creator>selfcontrol</dc:creator><description>&lt;p&gt;Hi Abhijith,&lt;br /&gt;&lt;br /&gt;I have successfully built the Matter example with SDK v2.6.1, and the provided Thread files have been successfully built with SDK v2.4.0.&lt;br /&gt;&lt;br /&gt;I have referred to the 7002dk configuration files in the child_image and boards folders of the Matter example and moved them accordingly. but,&amp;nbsp;It doesn&amp;#39;t work as well as you think.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;build error:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;warning: FLASH_MAP (defined at subsys/storage/flash_map/Kconfig:10) has direct dependencies FLASH_HAS_DRIVER_ENABLED with value n, but is currently being y-selected by the following symbols:
- MCUBOOT_DEVICE_SETTINGS (defined at C:/ncs/v2.6.1/bootloader/mcuboot/boot/zephyr/Kconfig:681), with value y, direct dependencies y (value: y)

error: Aborting due to Kconfig warnings

-- Configuring incomplete, errors occurred!
CMake Error at C:/ncs/v2.6.1/nrf/cmake/multi_image.cmake:449 (message):
CMake generation for mcuboot failed, aborting. Command: 1
Call Stack (most recent call first):
C:/ncs/v2.6.1/nrf/cmake/multi_image.cmake:178 (add_child_image_from_source)
C:/ncs/v2.6.1/nrf/modules/mcuboot/CMakeLists.txt:328 (add_child_image)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/config_and_build/multi_image.html#permanent_configuration_changes_to_child_images"&gt;https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/config_and_build/multi_image.html#permanent_configuration_changes_to_child_images&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m having difficulty integrating the bootloader configuration files for nRF7002dk into [SDK sample] ble_peripheral_lbs as described in the provided link.&lt;br /&gt;&lt;br /&gt;My goal is to perform BLE DFU with Wi-Fi BLE coexistence on the nRF7002dk, but, Could you please help me test DFU with the modified ble_peripheral_lbs sample?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;&lt;br /&gt;BR&lt;br /&gt;Jeon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over Bluetooth - Modify the Peripheral LBS sample error</title><link>https://devzone.nordicsemi.com/thread/490607?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 11:37:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be43d311-aba3-45e1-a73e-63adaea36420</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I apologize for the inconvenience with the previous link I provided for the Matter sample. The issue might be due to ongoing updates on our documentation.&lt;/p&gt;
&lt;p&gt;Please try accessing the sample through the link below. Additionally, I am attaching the link for the same sample from GitHub.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/matter/light_bulb/README.html#device_firmware_upgrade_support"&gt;Matter light bulb: with FOTA support.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/samples/matter/light_bulb"&gt;GitHub link to the sample&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over Bluetooth - Modify the Peripheral LBS sample error</title><link>https://devzone.nordicsemi.com/thread/490453?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 04:12:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee95db1d-0052-4974-9e88-be875823bc86</guid><dc:creator>selfcontrol</dc:creator><description>&lt;div class="flex-shrink-0 flex flex-col relative items-end"&gt;
&lt;div class="pt-0.5 juice:pt-0"&gt;
&lt;div class="gizmo-bot-avatar flex h-6 w-6 items-center justify-center overflow-hidden rounded-full juice:h-8 juice:w-8"&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;Hello again, &lt;span&gt;&lt;span&gt;Abhijith.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;[quote userid="115767" url="~/f/nordic-q-a/111955/dfu-over-bluetooth---modify-the-peripheral-lbs-sample-error/489678"]it appears you need to modify the sample for the nRF7002DK.[/quote]
&lt;div class="flex-shrink-0 flex flex-col relative items-end"&gt;
&lt;div&gt;
&lt;div class="pt-0.5 juice:pt-0"&gt;
&lt;div class="gizmo-bot-avatar flex h-6 w-6 items-center justify-center overflow-hidden rounded-full juice:h-8 juice:w-8"&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="group/conversation-turn relative flex w-full min-w-0 flex-col agent-turn"&gt;
&lt;div class="flex-col gap-1 md:gap-3"&gt;
&lt;div class="flex flex-grow flex-col max-w-full"&gt;
&lt;div dir="auto" data-message-author-role="assistant" data-message-id="c3c18d68-443c-4143-a670-8fb589ae7721"&gt;
&lt;div class="markdown prose w-full break-words dark:prose-invert light"&gt;
&lt;div class="flex-shrink-0 flex flex-col relative items-end"&gt;
&lt;div&gt;
&lt;div class="pt-0.5 juice:pt-0"&gt;
&lt;div class="gizmo-bot-avatar flex h-6 w-6 items-center justify-center overflow-hidden rounded-full juice:h-8 juice:w-8"&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;&lt;span style="font-size:inherit;"&gt;How will this matter proceed in the future?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
[quote userid="115767" url="~/f/nordic-q-a/111955/dfu-over-bluetooth---modify-the-peripheral-lbs-sample-error/489678"] I recommend checking the&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.99-dev3/nrf/samples/matter/light_bulb/README.html#device-firmware-upgrade-support:~:text=is%20explicitly%20selected.-,Device%20Firmware%20Upgrade%20support,-%EF%83%81"&gt; Matter sample, which supports FOTA&lt;/a&gt;.[/quote]
&lt;div class="flex-shrink-0 flex flex-col relative items-end"&gt;
&lt;div&gt;
&lt;div class="pt-0.5 juice:pt-0"&gt;
&lt;div class="gizmo-bot-avatar flex h-6 w-6 items-center justify-center overflow-hidden rounded-full juice:h-8 juice:w-8"&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="group/conversation-turn relative flex w-full min-w-0 flex-col agent-turn"&gt;
&lt;div class="flex-col gap-1 md:gap-3"&gt;
&lt;div class="flex flex-grow flex-col max-w-full"&gt;
&lt;div dir="auto" data-message-author-role="assistant" data-message-id="db8e274f-0345-4184-91b6-7ea06bc3089b"&gt;
&lt;div&gt;
&lt;div class="markdown prose w-full break-words dark:prose-invert light"&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;It seems that the link for this is incorrect.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="115767" url="~/f/nordic-q-a/111955/dfu-over-bluetooth---modify-the-peripheral-lbs-sample-error/489678"]Additionally, refer &lt;a href="https://devzone.nordicsemi.com/support-private/support/321965"&gt;to this old thread&lt;/a&gt; where my colleague shared a working FOTA DFU sample for the nRF7002DK.[/quote]
&lt;div class="flex-shrink-0 flex flex-col relative items-end"&gt;
&lt;div&gt;
&lt;div class="pt-0.5 juice:pt-0"&gt;
&lt;div class="gizmo-bot-avatar flex h-6 w-6 items-center justify-center overflow-hidden rounded-full juice:h-8 juice:w-8"&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="group/conversation-turn relative flex w-full min-w-0 flex-col agent-turn"&gt;
&lt;div class="flex-col gap-1 md:gap-3"&gt;
&lt;div class="flex flex-grow flex-col max-w-full"&gt;
&lt;div dir="auto" data-message-author-role="assistant" data-message-id="dc1fbddc-c28b-4d3e-9066-d2057e5c01a3"&gt;
&lt;div&gt;
&lt;div class="markdown prose w-full break-words dark:prose-invert light"&gt;
&lt;p&gt;I attempted the additional configuration for entering the bootloader as mentioned in the thread, but I encountered build failures, possibly because I did not fully understand the setup method. I have posted about this issue in the thread.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Additionally, there are not many mentions of &amp;quot;dfu with nrf7002dk board&amp;quot; in other threads, which makes it difficult.&lt;br /&gt; Could I request a more detailed guide for BLE OTA, by any means necessary?&lt;br /&gt;&lt;br /&gt;&lt;span&gt;BR&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Jeon.&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over Bluetooth - Modify the Peripheral LBS sample error</title><link>https://devzone.nordicsemi.com/thread/489678?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2024 10:31:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f626b1fc-1b6c-4b52-bde6-b33911e90cc9</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Apologies for the delayed response. I was reviewing the sample in the DevAcademy, and it appears you need to modify the sample for the nRF7002DK. I recommend checking the&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.99-dev3/nrf/samples/matter/light_bulb/README.html#device-firmware-upgrade-support:~:text=is%20explicitly%20selected.-,Device%20Firmware%20Upgrade%20support,-%EF%83%81"&gt; Matter sample, which supports FOTA&lt;/a&gt;. Please refer to its configuration, as you can adapt it for a non-Matter application. Additionally, refer &lt;a href="https://devzone.nordicsemi.com/support-private/support/321965"&gt;to this old thread&lt;/a&gt; where my colleague shared a working FOTA DFU sample for the nRF7002DK.&lt;br /&gt;&lt;br /&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over Bluetooth - Modify the Peripheral LBS sample error</title><link>https://devzone.nordicsemi.com/thread/488895?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 14:15:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cdd82e7-230d-4be6-aa34-92b25d277938</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;That&amp;#39;s strange. I will try to test this here and get back to you by Monday.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over Bluetooth - Modify the Peripheral LBS sample error</title><link>https://devzone.nordicsemi.com/thread/488398?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 23:53:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f010c29b-eda4-4db0-a47e-3ae32987474c</guid><dc:creator>selfcontrol</dc:creator><description>&lt;p&gt;Hello again.&lt;/p&gt;
&lt;p&gt;The OTA BLE DFU guide provided by the academy follows the same process as the link I mentioned. However, I followed the exact conditions of the Nordic Academy environment once again. I attempted to build the solution project for exercise 3 of lesson 8 in the intermediate course. As a result, the build fails on the nRF7002dk board, which requires OTA, up to this point.&lt;/p&gt;
&lt;p&gt;Visual Code - Nordic Connect for VS Code Extension Pack v2023.11.3 Sample: [Academy Intermediate] inter_less8_exer3_solution&lt;/p&gt;
&lt;p&gt;First attempt (Academy environment) Toolchains: v2.4.2 (python3.8.2) SDKs: v2.5.2 Build config:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;nrf52840dk_nrf52840&lt;/li&gt;
&lt;li&gt;nrf7002dk_nrf5340_cpuapp&lt;/li&gt;
&lt;li&gt;nrf7002dk_nrf5340_cpuapp_ns&lt;/li&gt;
&lt;li&gt;nrf5340dk_nrf5340_cpuapp_ns&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;= Only the nrf5340dk_nrf5340_cpuapp_ns build succeeds, as suggested by the Compatible boards setting.&lt;/p&gt;
&lt;p&gt;Second attempt (latest version environment) Toolchains: v2.6.1 (python3.9.13) SDKs: v2.6.99-cs2 &amp;amp; v2.7.0_rc1 Build config:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;nrf7002dk_nrf5340_cpuapp&lt;/li&gt;
&lt;li&gt;nrf7002dk_nrf5340_cpuapp_ns&lt;/li&gt;
&lt;li&gt;nrf5340dk_nrf5340_cpuapp_ns&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;= Similarly, only the nrf5340dk_nrf5340_cpuapp_ns build succeeds, as suggested by the Compatible boards setting.&lt;/p&gt;
&lt;p&gt;I tested this on two Windows 10 computers, and the same error occurs. If all other board environments also failed, it would be considered strange, but the build succeeds on the 5340dk_ns.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;quot;If the Python path is not set to &amp;#39;Toolchain_folder\opt\bin\python.exe&amp;#39; for someone else, and it&amp;#39;s running as a local Python without installed pip modules, the build for nRF5340dk_nrf5340_cpuapp_ns will also fail.&lt;/p&gt;
&lt;p&gt;Build failure message: from cryptography.hazmat.~ ImportError: DLL load failed while importing _rust&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The failure reasons on the 7002dk board include &amp;quot;RAM overflowed by 250184 bytes&amp;quot; and a few others.&lt;/p&gt;
&lt;p&gt;This board is the official nRF7002 DK board, not a custom-made one, and the sample is also an official sample. I am wondering if this error is occurring only for me.&lt;/p&gt;
&lt;p&gt;If possible, could you test the BLE OTA process?&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: DFU over Bluetooth - Modify the Peripheral LBS sample error</title><link>https://devzone.nordicsemi.com/thread/488318?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 12:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcf591aa-7cd3-493e-a588-ab9e704f217c</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could you tell me what your build configuration is or to which board you are building this sample? I recommend you follow the&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/"&gt; Developer Academy tutoria&lt;/a&gt;l for doing the OTA BLE DFU.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over Bluetooth - Modify the Peripheral LBS sample error</title><link>https://devzone.nordicsemi.com/thread/488212?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 04:50:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d054bf7-431c-4b03-9871-82b8b717693b</guid><dc:creator>selfcontrol</dc:creator><description>&lt;p&gt;Hello, Abhijith.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I apologize, there seems to have been a mistake in the translation process. &lt;br /&gt;I intended to provide the build log through the Insert tab as Code.&lt;/p&gt;
&lt;div&gt;but, it didn&amp;#39;t work well, so I am providing it in its original form. My goal is to simply add DFU OTA to the BLE_COEX sample code. Therefore, as practice, I followed the DFU over Bluetooth - Modify the Peripheral LBS guide.&lt;/div&gt;
&lt;p&gt;The guide mentioned that for NCS version 2.5.0 or later,&lt;br /&gt; you should add the following configurations to prj.conf:&lt;/p&gt;
&lt;div&gt;
&lt;div class="flex items-center relative text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md"&gt;&lt;/div&gt;
&lt;div class="overflow-y-auto p-4" dir="ltr"&gt;&lt;code class="!whitespace-pre hljs language-makefile"&gt;&lt;/code&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y&lt;/pre&gt;&lt;/div&gt;
&lt;div class="overflow-y-auto p-4" dir="ltr"&gt;&lt;code class="!whitespace-pre hljs language-makefile"&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div class="overflow-y-auto p-4" dir="ltr"&gt;&lt;code class="!whitespace-pre hljs language-makefile"&gt;
&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;I only added these two lines and configured the 7002dk board in the BLE Peripheral LBS code.&lt;br /&gt; The build failed, and I am curious about the reason. Is there anything else I need to add?&lt;br /&gt;&lt;br /&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over Bluetooth - Modify the Peripheral LBS sample error</title><link>https://devzone.nordicsemi.com/thread/488081?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 10:32:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df4af468-84b6-483e-ab6c-dd3cb7251746</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please use English to describe your issue, as we don&amp;#39;t support any other language inside this forum. Briefly state your issue by explaining what you are trying to achieve and where exactly you are facing it. Please use the insert tab to attach the logs so that it is easy for us to go through.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>