<?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>nRF Desktop Programmer Tool always fails to flash nRF52840 dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124771/nrf-desktop-programmer-tool-always-fails-to-flash-nrf52840-dongle</link><description>Hi, 
 I can&amp;#39;t program nRF52840 dongle using Programmer Tool on Linux. 
 Dongle is visible, can be selected and memory content read without any problems but file write attempt fails just after upload stage with message: Failed with exit code 1. One or</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Oct 2025 09:23:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124771/nrf-desktop-programmer-tool-always-fails-to-flash-nrf52840-dongle" /><item><title>RE: nRF Desktop Programmer Tool always fails to flash nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/550986?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2025 09:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9fd7649-528d-4a6e-b5d7-8fe1b035ae1c</guid><dc:creator>ask6483</dc:creator><description>&lt;p&gt;So today the issue is gone, all programming attempts are successful, even when using USB hub. It doens&amp;#39;t make any sense, I think that we can close this as this as this problem may only affect my system.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Desktop Programmer Tool always fails to flash nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/550904?ContentTypeID=1</link><pubDate>Wed, 08 Oct 2025 12:58:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3f3fb53-7c79-4e4a-8a78-06af64c31b6b</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi ask6483,&lt;/p&gt;
&lt;p&gt;Could you please enable verbose logging in the &amp;quot;About&amp;quot; tab of the app, and send us the full log from the failures?&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Desktop Programmer Tool always fails to flash nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/550853?ContentTypeID=1</link><pubDate>Wed, 08 Oct 2025 00:36:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00af8778-aeda-4425-a505-13d38cbef615</guid><dc:creator>PjGlasso</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;So I have all three devices, both DK&amp;#39;s and the dongle, &amp;quot;&lt;span&gt;I can&amp;#39;t program nRF52840 dongle using Programmer Tool on Linux.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m on windows 11, if I select the Dongle with the programmer it opens it in boot loader mode, If I open the BLE program and select it It prompts me to allow it to re-program it, YEs/Enter returns it to normal as the dongle, Note the name of the device changes so AFAIK it supports, (open boot loader , MCUBoot loader mode to use the programmer (if it&amp;#39;s on the dongle)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;also It makes a difference if it is a real USB 3.0 or plain 2.0&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;HTH&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;GL :-) PJ :v:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Desktop Programmer Tool always fails to flash nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/550844?ContentTypeID=1</link><pubDate>Tue, 07 Oct 2025 19:28:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5df290a-d229-47c4-aca1-9e7cae9f1c8f</guid><dc:creator>ask6483</dc:creator><description>&lt;p&gt;I got some new&amp;nbsp;findings&amp;nbsp;about this issue: programming always fails when dongle is connected to USB hub.&lt;/p&gt;
&lt;p&gt;Tested with two of them one USB 2.0 and the other 3.0, on both there is alwyas the same issue. Strange part is that I&amp;#39;m using those hubs daily with two JLinks, one STLink even Saleae Logic analyzer without any issues.&lt;/p&gt;
&lt;p&gt;BUT connecting the dongle directly to the host PC USB port is not solving this issue in 100%, flashing still fails&amp;nbsp;from time to time, fail rate is like 1:5 - 1 error every 5 tries.&lt;/p&gt;
&lt;p&gt;Looks like USB issue but why upload never fails, also tested 2 dongles and there is the same problem with them?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Desktop Programmer Tool always fails to flash nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/550795?ContentTypeID=1</link><pubDate>Tue, 07 Oct 2025 11:07:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e4a8ec4-d535-43e5-b701-e65a27247b47</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Considering&amp;nbsp;your logs showing progress with the upload, it seems you have remembered to press the button and put the device into bootloader mode, so I will rule out this most common issue.&lt;/p&gt;
&lt;p&gt;I will relay your logs to our Programmer app developers and seek input from them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Desktop Programmer Tool always fails to flash nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/550710?ContentTypeID=1</link><pubDate>Mon, 06 Oct 2025 12:54:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:570a584a-9daa-47ec-bd7c-ab875aada688</guid><dc:creator>ask6483</dc:creator><description>&lt;p&gt;No it stays in bootloader&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Desktop Programmer Tool always fails to flash nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/550708?ContentTypeID=1</link><pubDate>Mon, 06 Oct 2025 12:52:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:047c4209-9b83-4bed-b772-3b470456ebe7</guid><dc:creator>PaKa</dc:creator><description>&lt;p&gt;Does the device run or not? The normal sequence is that the programmer exits the DFU as as soon as the programming is completed and this unfortunately triggers an error message on the PC side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Desktop Programmer Tool always fails to flash nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/550606?ContentTypeID=1</link><pubDate>Fri, 03 Oct 2025 14:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:166d8053-5606-4a52-8c4a-108b7198960b</guid><dc:creator>ask6483</dc:creator><description>&lt;p&gt;I have created firmware package to try nrfutil directly via commad line:&lt;br /&gt;nrfutil dfu usb-serial -pkg deploy/central_pca10059_1.8.1-8.zip -p /dev/ttyACM0&lt;br /&gt;&lt;br /&gt;It also fails but with two&amp;nbsp;different results, first error message:&lt;/p&gt;
&lt;p&gt;[########################------------] 68% 00:00:15&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;nordicsemi/dfu/dfu_transport_serial.py&amp;quot;, line 301, in send_firmware&lt;br /&gt; File &amp;quot;nordicsemi/dfu/dfu_transport_serial.py&amp;quot;, line 475, in __stream_data&lt;br /&gt; File &amp;quot;nordicsemi/dfu/dfu_transport_serial.py&amp;quot;, line 451, in validate_crc&lt;br /&gt;nordicsemi.dfu.dfu_transport_serial.ValidationException: Failed CRC validation.&lt;br /&gt;Expected: 1882036456 Received: 3434675894.&lt;/p&gt;
&lt;p&gt;During handling of the above exception, another exception occurred:&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;nordicsemi/__main__.py&amp;quot;, line 1555, in &amp;lt;module&amp;gt;&lt;br /&gt; File &amp;quot;click/core.py&amp;quot;, line 1137, in __call__&lt;br /&gt; File &amp;quot;click/core.py&amp;quot;, line 1062, in main&lt;br /&gt; File &amp;quot;click/core.py&amp;quot;, line 1668, in invoke&lt;br /&gt; File &amp;quot;click/core.py&amp;quot;, line 1668, in invoke&lt;br /&gt; File &amp;quot;click/core.py&amp;quot;, line 1404, in invoke&lt;br /&gt; File &amp;quot;click/core.py&amp;quot;, line 763, in invoke&lt;br /&gt; File &amp;quot;nordicsemi/__main__.py&amp;quot;, line 1032, in usb_serial&lt;br /&gt; File &amp;quot;nordicsemi/__main__.py&amp;quot;, line 988, in do_serial&lt;br /&gt; File &amp;quot;nordicsemi/dfu/dfu.py&amp;quot;, line 127, in dfu_send_images&lt;br /&gt; File &amp;quot;nordicsemi/dfu/dfu.py&amp;quot;, line 100, in _dfu_send_image&lt;br /&gt; File &amp;quot;nordicsemi/dfu/dfu_transport_serial.py&amp;quot;, line 304, in send_firmware&lt;br /&gt;pc_ble_driver_py.exceptions.NordicSemiException: Failed to send firmware&lt;br /&gt;[154067] Failed to execute script &amp;#39;__main__&amp;#39; due to unhandled exception!&lt;br /&gt;&lt;br /&gt;and second try error:&lt;/p&gt;
&lt;p&gt;[########################------------] 68% 00:00:15&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;nordicsemi/__main__.py&amp;quot;, line 1555, in &amp;lt;module&amp;gt;&lt;br /&gt; File &amp;quot;click/core.py&amp;quot;, line 1137, in __call__&lt;br /&gt; File &amp;quot;click/core.py&amp;quot;, line 1062, in main&lt;br /&gt; File &amp;quot;click/core.py&amp;quot;, line 1668, in invoke&lt;br /&gt; File &amp;quot;click/core.py&amp;quot;, line 1668, in invoke&lt;br /&gt; File &amp;quot;click/core.py&amp;quot;, line 1404, in invoke&lt;br /&gt; File &amp;quot;click/core.py&amp;quot;, line 763, in invoke&lt;br /&gt; File &amp;quot;nordicsemi/__main__.py&amp;quot;, line 1032, in usb_serial&lt;br /&gt; File &amp;quot;nordicsemi/__main__.py&amp;quot;, line 988, in do_serial&lt;br /&gt; File &amp;quot;nordicsemi/dfu/dfu.py&amp;quot;, line 127, in dfu_send_images&lt;br /&gt; File &amp;quot;nordicsemi/dfu/dfu.py&amp;quot;, line 100, in _dfu_send_image&lt;br /&gt; File &amp;quot;nordicsemi/dfu/dfu_transport_serial.py&amp;quot;, line 301, in send_firmware&lt;br /&gt; File &amp;quot;nordicsemi/dfu/dfu_transport_serial.py&amp;quot;, line 474, in __stream_data&lt;br /&gt; File &amp;quot;nordicsemi/dfu/dfu_transport_serial.py&amp;quot;, line 412, in __calculate_checksum&lt;br /&gt;pc_ble_driver_py.exceptions.NordicSemiException: Did not receive checksum response from DFU target. If MSD is enabled on the target device, try to disable it ref. &lt;a href="https://wiki.segger.com/index.php?title=J-Link-OB_SAM3U"&gt;wiki.segger.com/index.php&lt;/a&gt;&lt;br /&gt;[154370] Failed to execute script &amp;#39;__main__&amp;#39; due to unhandled exception!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>