<?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>USB DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117597/usb-dfu</link><description>I am using qt C++ to refactor the dfu master station, currently I have a problem, that is, I want to communicate with 52840 simulated com but failed, I initialize, you see this is correct, I try to initialize the send command 0x06,0x01,0x0c after successful</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Feb 2026 04:29:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117597/usb-dfu" /><item><title>RE: USB DFU</title><link>https://devzone.nordicsemi.com/thread/561901?ContentTypeID=1</link><pubDate>Tue, 24 Feb 2026 04:29:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70c5b576-beba-4ff4-9961-13a96bcaa467</guid><dc:creator>leehaney</dc:creator><description>&lt;p data-start="64" data-end="172"&gt;If you&amp;rsquo;re using an nRF52840 over a virtual COM port, the issue is likely not Qt but the DFU protocol itself.&lt;/p&gt;
&lt;p data-start="174" data-end="196"&gt;A few things to check:&lt;/p&gt;
&lt;ul data-start="198" data-end="710"&gt;
&lt;li data-start="198" data-end="280"&gt;
&lt;p data-start="200" data-end="280"&gt;Make sure the nRF52840 is actually in &lt;strong data-start="238" data-end="250"&gt;DFU mode&lt;/strong&gt;, not normal application mode.&lt;/p&gt;
&lt;/li&gt;
&lt;li data-start="281" data-end="363"&gt;
&lt;p data-start="283" data-end="363"&gt;Verify baud rate, parity, stop bits, and flow control match the device settings.&lt;/p&gt;
&lt;/li&gt;
&lt;li data-start="364" data-end="514"&gt;
&lt;p data-start="366" data-end="514"&gt;Confirm that &lt;code data-start="379" data-end="397"&gt;0x06, 0x01, 0x0C&lt;/code&gt; is valid for the specific DFU protocol you&amp;rsquo;re using (Nordic Secure DFU is packet-based and not simple raw commands).&lt;/p&gt;
&lt;/li&gt;
&lt;li data-start="515" data-end="615"&gt;
&lt;p data-start="517" data-end="615"&gt;Check whether the device expects SLIP encoding or a specific packet structure (init packet + CRC).&lt;/p&gt;
&lt;/li&gt;
&lt;li data-start="616" data-end="710"&gt;
&lt;p data-start="618" data-end="710"&gt;Use a serial sniffer or log the raw TX/RX data to confirm the device is receiving the bytes. &lt;a href="https://eggycar-free.github.io"&gt;eggy car&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p data-start="712" data-end="833"&gt;If this is Nordic Secure DFU, you cannot just send raw hex commands &amp;mdash; the packets must follow the DFU transport protocol.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU</title><link>https://devzone.nordicsemi.com/thread/516477?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2024 09:24:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b00699c-7c63-4f02-a9cd-3e252b83ac07</guid><dc:creator>shsh</dc:creator><description>&lt;p&gt;Thank you, I have solved this problem, I run on win64, send command does not reply the first reason is that QT5 comes with the library QSerialPort has a problem, but I do not know where the problem is, I now replace the open-source qextserialport on github to solve it. 52840 cannot receive after sending. The second problem is to send the ending 0XC0 which I wrote 0X0C&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU</title><link>https://devzone.nordicsemi.com/thread/516452?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2024 07:20:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24f3a575-38b8-4a90-87e3-2b23b50e4ab5</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Which device does the above qt C++ code run on?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU</title><link>https://devzone.nordicsemi.com/thread/516438?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2024 00:28:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb0800e9-dea5-488c-a8f3-5933a0a0fd5b</guid><dc:creator>shsh</dc:creator><description>&lt;p&gt;I am using SDK 17.0.2, I am using either homemade DFU or USB-Secure, I am using 52840, if I use nrfutil I can download the program, I would like to refactor nrfutil, thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU</title><link>https://devzone.nordicsemi.com/thread/516292?ContentTypeID=1</link><pubDate>Fri, 27 Dec 2024 07:45:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b544f77a-07cb-4d5c-9e1a-c2cccf582c6d</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p style="margin:0;padding:0;text-align:left;"&gt;For us to help you with this in the best possible way, please list the following information:&lt;/p&gt;
&lt;ul style="list-style-type:disc;margin:0;text-align:left;"&gt;
&lt;li&gt;SDK Version&lt;/li&gt;
&lt;li&gt;Which sample do you use, if any?&lt;/li&gt;
&lt;li&gt;Do you use custom hardware or code?&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0;text-align:left;"&gt;&amp;nbsp;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>