<?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 use the nrfutil to develop a usb dfu soft in windowns?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67941/how-use-the-nrfutil-to-develop-a-usb-dfu-soft-in-windowns</link><description>hi 
 im use the command line of nrfutil to ota the nrf52840&amp;#39; firmware.but now i want to develop a soft to ota the device without the environment of python.but i dont kown how to use the nrfutil ,so there is any way to achieve it?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Nov 2020 13:38:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67941/how-use-the-nrfutil-to-develop-a-usb-dfu-soft-in-windowns" /><item><title>RE: how use the nrfutil to develop a usb dfu soft in windowns?</title><link>https://devzone.nordicsemi.com/thread/278455?ContentTypeID=1</link><pubDate>Wed, 04 Nov 2020 13:38:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76d59e86-9824-493f-b5f3-1a262227443f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We provide the source code for&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt;pc-nrfutil&lt;/a&gt;&amp;nbsp;(python) which supports DFU transfers through USB CDC, so you&amp;nbsp;could use that as a reference if you want to implement the same functionality with the Windows SDK. We also have the DFU message sequence charts that give an overview of how the DFU exchange works. See&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;a title="USB CDC ACM DFU Transport" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_dfu_transport_serial.html?cp=7_1_3_5_2_3_0#lib_dfu_transport_usb"&gt;USB CDC ACM DFU Transport&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;span&gt;We also have the&amp;nbsp;&lt;a title="DFU Trigger Library (USB)" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_dfu_trigger_usb.html?cp=7_1_3_5_3"&gt;DFU Trigger Library (USB)&lt;/a&gt;&amp;nbsp;as you may have seen.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For nrfutil.exe, e&lt;/span&gt;nter the following command to start the DFU process over the serial link, where&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;package.zip&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is the name of the firmware package that you want to upload and&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;COM_PORT&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is the COM port to which the device is connected:&lt;br clear="none" /&gt;&lt;br clear="none" /&gt;&lt;code&gt;nrfutil dfu usb_serial -pkg&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;package.zip&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;-p&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;COM_PORT&lt;/em&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for USB transport&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See the&amp;nbsp;&lt;/span&gt;&lt;a title="Secure DFU Bootloader over Serial Link (UART/USB)" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/sdk_app_serial_dfu_bootloader.html?cp=7_1_4_4_4"&gt;Secure DFU Bootloader over Serial Link (UART/USB)&lt;/a&gt;&lt;span&gt;&amp;nbsp;example regarding how to use the example image with the nrfutil.exe.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how use the nrfutil to develop a usb dfu soft in windowns?</title><link>https://devzone.nordicsemi.com/thread/278430?ContentTypeID=1</link><pubDate>Wed, 04 Nov 2020 11:53:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9da284f-93b6-4225-865e-dd2893700b10</guid><dc:creator>pipixia_8_8</dc:creator><description>&lt;p&gt;&amp;nbsp; im sorry for my desc,i want to develop a windowns app to dfu my usb device，and how should i use the nrfutil.exe&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how use the nrfutil to develop a usb dfu soft in windowns?</title><link>https://devzone.nordicsemi.com/thread/278429?ContentTypeID=1</link><pubDate>Wed, 04 Nov 2020 11:49:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab9a03d2-03d2-409c-b8b3-e854faa304ad</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Not sure I understand the question.&amp;nbsp;If you want to develop the USB DFU bootloader, please see the&amp;nbsp;&lt;a title="Secure DFU Bootloader over Serial Link (UART/USB)" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/sdk_app_serial_dfu_bootloader.html?cp=7_1_4_4_4"&gt;Secure DFU Bootloader over Serial Link (UART/USB)&lt;/a&gt;&amp;nbsp;example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>