<?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>Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113515/not-able-to-perform-dfu-over-ble-using-nrf7002</link><description>I am using a module MS12SF1(nrf5340 + nrf7002). I wanted to perform dfu over ble by using nrf7002dk_nrf5340_cpuapp_ns or nrf7002dk_nrf5340_cpuapp build configurations but as soon as I enable the dfu configurations and flash the code I don&amp;#39;t get anything</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Sep 2024 14:53:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113515/not-able-to-perform-dfu-over-ble-using-nrf7002" /><item><title>RE: Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/thread/502349?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2024 14:53:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b0962c4-d25f-4571-9baa-126f452e0219</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Are you testing on nRF7002DK?&lt;/p&gt;
&lt;p&gt;Do you update the file with the same static partition? You can duplicate build/partitions.yml, place it in the app folder, and rename it to&amp;nbsp;pm_static.yml to build.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/thread/502340?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2024 14:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d756975d-bd8f-494c-b5c5-f9fc5b4dc3f5</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Hey Amanda&amp;nbsp;&lt;br /&gt;The code which u shared above for dfu for DK I was testing using external flash as the secondary slot&amp;nbsp;&lt;br /&gt;The issue is that the dfu worked for the first time but when I tried to perform it for a different file it was continuously failing&amp;nbsp;&lt;br /&gt;I was getting no_file_slot(9) error as it was not clearing the older image&lt;br /&gt;&lt;br /&gt;I found&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MCUMGR_GRP_IMG_ALLOW_ERASE_PENDING&lt;/span&gt;&lt;span&gt;=y this&amp;nbsp;&lt;/span&gt;configuration, by doing this I wasn&amp;#39;t getting no_file_slot error but was getting hash not found error&lt;br /&gt;&lt;br /&gt;What can be the reason??&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/thread/499842?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2024 18:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc019f06-4f4f-495b-ad2c-db10c4f2a8c1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;Refer to the&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/test_and_optimize/optimizing/memory.html"&gt;Memory footprint optimization&lt;/a&gt;&lt;span&gt;&amp;nbsp;doc.&amp;nbsp;to reduce the size.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/thread/499837?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2024 18:24:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27c38681-aea3-4758-a9cd-8252b8da20be</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Yes I was able to perform dfu now&amp;nbsp;&lt;br /&gt;Actually I had to add the SYNTH clock configuration in the mcuboot.conf too so that the device can advertise after enabling boot&lt;br /&gt;After enabling the clock it was working fine.&lt;br /&gt;&lt;br /&gt;But the issue is that as soon as I integrated the dfu part in my original code I got flash overflow issues&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/thread/499835?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2024 18:21:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eaf73ea-6c93-4ad1-9616-0fb84d0f0598</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Rakshita"]And what about the&amp;nbsp;&lt;span&gt;nrf7002dk_nrf5340_cpuapp.overlay and&amp;nbsp;nrf7002dk_nrf5340_cpuapp.conf files present in child_image/mcuboot folder as in overlay file external flash is selected&lt;/span&gt;[/quote]
&lt;p&gt;Also, remove them.&amp;nbsp;&lt;/p&gt;
[quote user="Rakshita"]&lt;span&gt;Also don&amp;#39;t I need to call any function in main like the one done in&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu#mcetoc_1h90kb1ii2"&gt;https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu#mcetoc_1h90kb1ii2&lt;/a&gt;&amp;nbsp;where s&lt;/span&gt;mp_bt_register() was called?[/quote]
&lt;p&gt;Not anymore in v2.6.1.&amp;nbsp;&lt;/p&gt;
[quote user="Rakshita"]Tried multiple ways to run the code by removing the configurations or adding them but nothing is working[/quote]
&lt;p&gt;Are you able to build without issue? I see you created a new case&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/114227/regarding-flash-overflow-when-dfu-is-enabled"&gt;Regarding flash overflow when dfu is enabled&lt;/a&gt;, and I have answered it.&amp;nbsp;&lt;/p&gt;
[quote user="Rakshita"]how to decide whether to use static or dynamic configuration for partition?[/quote]
&lt;p&gt;Let the partition manager generate the partition automatically, and then use that partition as the static partition.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/thread/499656?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2024 05:12:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4669126c-2b45-42ac-8f6d-ad15a9e6bd5c</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;&lt;br /&gt;Tried multiple ways to run the code by removing the configurations or adding them but nothing is working&lt;br /&gt;Am I missing something?&amp;nbsp;&lt;br /&gt;Also how to decide whether to use static or dynamic configuration for partition?&lt;br /&gt;Its very urgent&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/thread/499627?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 20:11:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da54d739-8ba5-4438-bd13-6088950f39b8</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;And what about the&amp;nbsp;&lt;span&gt;nrf7002dk_nrf5340_cpuapp.overlay and&amp;nbsp;nrf7002dk_nrf5340_cpuapp.conf files present in child_image/mcuboot folder as in overlay file external flash is selected&lt;br /&gt;&lt;br /&gt;Also don&amp;#39;t I need to call any function in main like the one done in&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu#mcetoc_1h90kb1ii2"&gt;https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu#mcetoc_1h90kb1ii2&lt;/a&gt;&amp;nbsp;where s&lt;/span&gt;mp_bt_register() was called?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/thread/499622?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 18:39:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6c61178-78c7-4ca6-950b-b74d09bb0040</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Remove the&amp;nbsp;nrf7002dk_nrf5340_cpuapp.overlay and&amp;nbsp;nrf7002dk_nrf5340_cpuapp.conf under the board folder in my sample. They are for SPI external flash.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/thread/499614?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 15:58:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d12ca69-7d70-4e0f-aa1a-1f5821811f63</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Only the spi part or configurations too&lt;br /&gt;Can u tell me exactly which configurations are related to external flash so that I can disable them, little bit confused&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/thread/499606?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 14:20:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73de3064-bf13-4e8d-a8bb-c8c272121cbd</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You can disable the external flash part in my sample.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/thread/499605?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 14:17:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9bea18c-cb9b-46e6-899e-8176f9182012</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Also I don&amp;#39;t have external flash, so for DFU internal flash would be used, no SPI needed&lt;br /&gt;&lt;br /&gt;I was going through&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu#mcetoc_1h90kb1ii2"&gt;https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu#mcetoc_1h90kb1ii2&lt;/a&gt;&amp;nbsp;this thread but nothing is happening and even the code is also not getting builded now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/thread/499604?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 14:16:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61c754c6-e25f-4882-9295-34499385b805</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Rakshita"]Also wanted to confirm that do I need to add nrf5340dk_app_sr_net.conf, nrf5340dk_mcuboot_sr_net.conf and overlay_bt.conf files additionally?[/quote]
&lt;p&gt;I use&amp;nbsp;&lt;span&gt;overlay_bt.conf is to enable BLE DFU in peripheral_uart for nRF7002DK.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrf5340dk_app_sr_net.conf and nrf5340dk_mcuboot_sr_net.conf are for the MCUboot with the serial recovery of the networking core image feature. You can ignore them in the set-up stage.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="Rakshita"]I get&amp;nbsp;&lt;br /&gt;[00:00:00.002,288] &amp;lt;err&amp;gt; spi_nor: Device id 00 00 00 does not match config c2 28 17 this error on rtt[/quote]
&lt;p&gt;You can check the similar cases&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/98050/qspi_nor-error-using-spi-jedec-id-00-00-00-expect-c2-28-17"&gt;qspi_nor error using SPI: JEDEC id [00 00 00] expect [c2 28 17]&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/100640/jedec-id-00-00-00-expect-c2-28-17-in-matter-template-sample"&gt;JEDEC id [00 00 00] expect [c2 28 17] in Matter template sample&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/97222/spi_nor-device-id-00-00-00-does-not-match-config-c2-28-17"&gt;spi_nor device id 00 00 00 does not match config c2 28 17&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/thread/499484?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 07:51:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07151fc3-3a26-42b8-99a4-8baef4a485a7</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Hi Amanda&lt;br /&gt;Sorry got busy with other priority tasks&lt;br /&gt;&lt;br /&gt;So now I am back to working with DFU&amp;nbsp;&lt;br /&gt;I wanted to share the custom board build configuration files as I am not able to build the code with it but able to build it with the default present nrf7002dk_nrf5340 build configuration&lt;br /&gt;&lt;br /&gt;It would be great if u can review it once and let me know what I can add&lt;br /&gt;The module which we are using is MS12SF1 (nrf5340+nrf7002)&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/arm.zip"&gt;devzone.nordicsemi.com/.../arm.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also wanted to confirm that do I need to add nrf5340dk_app_sr_net.conf, nrf5340dk_mcuboot_sr_net.conf and overlay_bt.conf files additionally?&lt;br /&gt;&lt;br /&gt;One more thing I added the necessary configurations which u added in your code in my code, earlier zi was using spi4 for sd card so I changed it to spi3 and using spi4 for flash&lt;br /&gt;&lt;br /&gt;I get&amp;nbsp;&lt;br /&gt;[00:00:00.002,288] &amp;lt;err&amp;gt; spi_nor: Device id 00 00 00 does not match config c2 28 17 this error on rtt&lt;br /&gt;&lt;br /&gt;Want to add one more point&lt;br /&gt;When I tried executing the code u sent above, ble was not advertising&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to perform dfu over ble using nrf7002</title><link>https://devzone.nordicsemi.com/thread/496291?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 20:10:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6271fd45-77f6-49be-b736-1256cba750f4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not clear to me what is the issue from the limited information.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is my test project&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/peripheral_5F00_uart_5F00_nrf7002DK_5F00_DFU.7z"&gt;devzone.nordicsemi.com/.../peripheral_5F00_uart_5F00_nrf7002DK_5F00_DFU.7z&lt;/a&gt; which can run peripheral_uart with BLE DFU on nRF7002DK in NCS v2.6.1.&lt;/p&gt;
&lt;p&gt;The build command is&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -p -b nrf7002dk_nrf5340_cpuapp -d build_nrf7002dk_nrf5340_cpuapp -- -DOVERLAY_CONFIG=overlay-bt.conf&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It requires extra board/BLE DFU configs and overlay files for nRF7002DK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;“Beware that this code/configuration is not fully tested or qualified and should be considered provided “as-is”. Please test it with your application and let me know if you find any issues.”&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>