<?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>How to do USB DFU for nRF7002DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115072/how-to-do-usb-dfu-for-nrf7002dk</link><description>Hello, 
 I have a BLE DFU question in this thread that has not yet been resolved. 
 
 Since the BLE DFU problem has not been resolved, I have implemented a USB DFU as an alternative, but it still does not work well. I attach the project here. 
 
 Like</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Feb 2025 08:31:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115072/how-to-do-usb-dfu-for-nrf7002dk" /><item><title>RE: How to do USB DFU for nRF7002DK</title><link>https://devzone.nordicsemi.com/thread/524015?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 08:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8a12183-6a31-407d-ae7c-16ccb16f5371</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Image 1 is for the netcore, see&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/bootloaders_dfu/sysbuild_image_ids.html#image_numbers"&gt;Assigned image numbers&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
[quote user="Yoshihiro Goto"]Why does mcumgr&amp;#39;s image list command not show image number 1?[/quote]
&lt;p&gt;The primary &amp;quot;flash&amp;quot; partition for the network core image is only emulated in RAM&amp;nbsp;in MCUBoot is running and is not accessible when the application is running.&lt;/p&gt;
&lt;p&gt;Image number is passed to the mcumgr cli with the -n/--image argument:&lt;/p&gt;
&lt;p&gt;&lt;strong&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/pastedimage1740126501374v1.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to do USB DFU for nRF7002DK</title><link>https://devzone.nordicsemi.com/thread/523974?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 00:08:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b978c9be-2ad8-4adb-97a7-3255eb8a88c4</guid><dc:creator>Yoshihiro Goto</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have additional question.&lt;br /&gt;I use sysbuild and not multi image build, what is image 1?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to do USB DFU for nRF7002DK</title><link>https://devzone.nordicsemi.com/thread/523820?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 08:20:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5dfef19-4464-4dc0-8042-f7c96efb6c65</guid><dc:creator>Yoshihiro Goto</dc:creator><description>&lt;p&gt;Why does mcumgr&amp;#39;s image list command not show image number 1?&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/mcumgr1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to do USB DFU for nRF7002DK</title><link>https://devzone.nordicsemi.com/thread/523819?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 08:15:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75ec8668-ad3a-406f-9544-0e9fc0de2703</guid><dc:creator>Yoshihiro Goto</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;&amp;gt;Notice that the image number is 1&lt;/p&gt;
&lt;p&gt;Great!&lt;br /&gt;Finally&amp;nbsp;I have succeeded in DFU with my multi-core CPU!&lt;/p&gt;
&lt;p&gt;I have some additional question.&lt;br /&gt;- Multi-core CPUs need to perform as many uploads as there are cores in the USB DFU. Is that correct?&lt;br /&gt;- Then what is dfu_multi_image.bin used for?&lt;br /&gt;-&amp;nbsp;I think AuTerm is a wrapper for mcumgr, how do I specify the image number in mcumgr?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Yoshihiro Goto&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to do USB DFU for nRF7002DK</title><link>https://devzone.nordicsemi.com/thread/523803?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 06:41:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3492a5d-a87e-4ce3-bcb3-5d103f0e62da</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I tried the&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8206.dfu_5F00_usb_5F00_ext.zip"&gt;dfu_usb_ext.zip&lt;/a&gt;&amp;nbsp;project and was able to update the hci_ipc FW on the network core. Notice that the image number is 1 (&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/bootloaders_dfu/sysbuild_image_ids.html#image_numbers"&gt;Assigned image numbers&lt;/a&gt;).&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/pastedimage1740033546780v1.png" alt=" " /&gt;&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><item><title>RE: How to do USB DFU for nRF7002DK</title><link>https://devzone.nordicsemi.com/thread/523644?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 09:02:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c410572-cd9f-4aad-94f7-bb17d29f489e</guid><dc:creator>Yoshihiro Goto</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;Both projects are almost identical in content, so you can choose any.&lt;/p&gt;
&lt;p&gt;----- Repeated -----&lt;/p&gt;
&lt;p&gt;I have created two sample projects. Mostly copied from DevAcademy samples, and I have also added some configuration to enable nRF700x.&lt;/p&gt;
&lt;p&gt;These are a slight difference to execute DFU.&lt;br /&gt;- Using extended advertising.&lt;br /&gt;- VERSION number is 2.&lt;br /&gt;- LED blinking cycle slowed down.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to do USB DFU for nRF7002DK</title><link>https://devzone.nordicsemi.com/thread/523637?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 08:46:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9056035a-d788-4c14-bb48-72d17c447d28</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I can have have a look at the project you uploaded, but which one of them should I be looking at,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6102.dfu_5F00_usb_5F00_ext.zip"&gt;dfu_usb_ext.zip&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7587.dfu_5F00_usb.zip"&gt;dfu_usb.zip&lt;/a&gt;?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to do USB DFU for nRF7002DK</title><link>https://devzone.nordicsemi.com/thread/523612?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 01:55:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb95fd86-1a9a-4be0-a85c-c5a4c0110316</guid><dc:creator>Yoshihiro Goto</dc:creator><description>&lt;p&gt;Sorry for not replying for long time.&lt;/p&gt;
&lt;p&gt;I did not try your sample project at the time which I received above reply. Because I didn&amp;#39;t know about sysbuild.&lt;/p&gt;
&lt;p&gt;I was learning about sysbuild during the period. The DevAcademy lessons were also updated Just recently.&lt;br /&gt;By the way, This thread is about USB DFU, may I talk about USB DFU again?&lt;br /&gt;I want to update the network core with USB DFU because our recent project uses BLE scanner mode, not advertising.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/dfu_5F00_usb.zip"&gt;devzone.nordicsemi.com/.../dfu_5F00_usb.zip&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/dfu_5F00_usb_5F00_ext.zip"&gt;devzone.nordicsemi.com/.../dfu_5F00_usb_5F00_ext.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have created two sample projects.&amp;nbsp;Mostly copied from DevAcademy samples, and I&amp;nbsp;have also added&amp;nbsp;some configuration to enable nRF700x.&lt;/p&gt;
&lt;p&gt;These are a slight difference to execute DFU.&lt;br /&gt;-&amp;nbsp;Using extended advertising.&lt;br /&gt;- VERSION number is 2.&lt;br /&gt;- LED blinking cycle slowed down.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I tried to execute DFU from AuTerm following the DevAcademy, but AuTerm displayed &amp;#39;MCUboot header was not found.&amp;#39;&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/AuTerm1.png" /&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/AuTerm2.png" /&gt;&lt;/p&gt;
&lt;p&gt;I thought&lt;br /&gt;SB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_MCUBOOT=y&lt;br /&gt;might be needed, didn&amp;#39;t work for the reason of dependency.&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/AuTerm3.png" /&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/AuTerm4.png" /&gt;&lt;/p&gt;
&lt;p&gt;Extra information, the DFU works properly when I use zephyr.signed.bin(App core).&lt;br /&gt;Needless to say, but the network core was not updated with DFU. So the firmware will cause the fail with extended advertising at next startup.&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/pastedimage1739930611108v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I was trying a lot of configuration, my conclusion is that the network core cannot be updated with the USB DFU. Is that correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to do USB DFU for nRF7002DK</title><link>https://devzone.nordicsemi.com/thread/504313?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 09:15:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52217b6a-2ce0-42a1-94fa-863907b7c14c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please try the sample attached below if the goal is to support FOTA over BLE. It is based on the peripheral_lbs sample in SDK v2.7.0 and is configured for sysbuild.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Demo sample&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/peripheral_5F00_lbs_5F00_ble_5F00_fota.zip"&gt;devzone.nordicsemi.com/.../peripheral_5F00_lbs_5F00_ble_5F00_fota.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;The DFU package which contain the app and netcore FW will be placed in the build folder and is called dfu_application.zip. The update can be performed via the Device Manager app on Android or iOS. Just remember to&amp;nbsp;bump the version number in the VERSION file between updates.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>