<?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-BLE Bootloader stuck unable to DFU after DFU process was interrupted</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79864/usb-ble-bootloader-stuck-unable-to-dfu-after-dfu-process-was-interrupted</link><description>Hello, 
 We&amp;#39;ve recently updated our BLE-USB bootloader from using SDK v15.2.0 to v17.0.2 and noticed an issue. Our USB-BLE bootloader was created with the USB-serial bootloader as the base. We then added the ble transport files, soft-device-related files</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Apr 2025 15:57:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79864/usb-ble-bootloader-stuck-unable-to-dfu-after-dfu-process-was-interrupted" /><item><title>RE: USB-BLE Bootloader stuck unable to DFU after DFU process was interrupted</title><link>https://devzone.nordicsemi.com/thread/531883?ContentTypeID=1</link><pubDate>Tue, 15 Apr 2025 15:57:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5d555dd-1393-4dda-b8de-89de34f67bf3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;This case was created three years ago. Please create a new support case for your issue.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB-BLE Bootloader stuck unable to DFU after DFU process was interrupted</title><link>https://devzone.nordicsemi.com/thread/531809?ContentTypeID=1</link><pubDate>Tue, 15 Apr 2025 08:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:383b1fa6-5dd4-491b-8367-4d9048a1a20f</guid><dc:creator>sniper15</dc:creator><description>&lt;p&gt;how do you resolve that,i have a same problem&lt;/p&gt;
&lt;div id="gtx-trans" style="left:-58px;position:absolute;top:25px;"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB-BLE Bootloader stuck unable to DFU after DFU process was interrupted</title><link>https://devzone.nordicsemi.com/thread/342909?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 12:27:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62eaaacb-e71e-4e93-9181-a39175cc63ec</guid><dc:creator>Karlo</dc:creator><description>&lt;p&gt;Ok, no prob.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB-BLE Bootloader stuck unable to DFU after DFU process was interrupted</title><link>https://devzone.nordicsemi.com/thread/342905?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 11:57:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba6dbac8-bafd-4bd2-914b-53e56ff2310c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you working on the same case? If not, please create a new support case for your own. I will start vacation next week and wouldn&amp;#39;t reply to this case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB-BLE Bootloader stuck unable to DFU after DFU process was interrupted</title><link>https://devzone.nordicsemi.com/thread/342823?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 07:42:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d9efcfc-7d20-4ae4-b3f6-d545f7d9a6c0</guid><dc:creator>Karlo</dc:creator><description>&lt;p&gt;As I said before, the issue is the same. I just provided you a log to help you debug it...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB-BLE Bootloader stuck unable to DFU after DFU process was interrupted</title><link>https://devzone.nordicsemi.com/thread/342821?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 07:29:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08e86f1f-b3f1-4538-941b-717264d1a1de</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please create a new support case for your own issue. Thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB-BLE Bootloader stuck unable to DFU after DFU process was interrupted</title><link>https://devzone.nordicsemi.com/thread/342567?ContentTypeID=1</link><pubDate>Wed, 08 Dec 2021 14:49:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3d142da-ccb7-470f-8ad3-9fefb9b53952</guid><dc:creator>Karlo</dc:creator><description>&lt;p&gt;Hi, i have same issue, when DFU process was interrupted DFU gets stuck and cant resume with update. It only happens when updating via USB (nrfutil).&lt;br /&gt;Here is log&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;warning&amp;gt; nrf_dfu_serial_usb: Could not read from CDC. Error: 0x92.
&amp;lt;debug&amp;gt; nrf_dfu_serial: Set receipt notif target: 0
&amp;lt;debug&amp;gt; nrf_dfu_serial_usb: Allocated buffer 20009D10
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_RECEIPT_NOTIF_SET
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Request handling complete. Result: 0x1
&amp;lt;debug&amp;gt; nrf_dfu_serial: Sending Response: [0x2, 0x1]
&amp;lt;debug&amp;gt; nrf_dfu_serial: Received serial mtu
&amp;lt;debug&amp;gt; nrf_dfu_serial_usb: Allocated buffer 20009D10
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_MTU_GET
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Request handling complete. Result: 0x1
&amp;lt;debug&amp;gt; nrf_dfu_serial: Sending Response: [0x7, 0x1]
&amp;lt;debug&amp;gt; nrf_dfu_serial_usb: Allocated buffer 20009D10
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_SELECT (command)
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Request handling complete. Result: 0x1
&amp;lt;debug&amp;gt; nrf_dfu_serial: Sending Response: [0x6, 0x1]
&amp;lt;debug&amp;gt; nrf_dfu_serial_usb: Allocated buffer 20009D10
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_EXECUTE (command)
&amp;lt;debug&amp;gt; nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.
&amp;lt;info&amp;gt; nrf_dfu_settings: Backing up settings page to address 0xFE000.
source, write not needed. Skipping.
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Writing valid init command to flash.
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Request handling complete. Result: 0x1
&amp;lt;debug&amp;gt; nrf_dfu_serial: Sending Response: [0x4, 0x1]
&amp;lt;debug&amp;gt; nrf_dfu_serial_usb: Allocated buffer 20009D10
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_SELECT (data)
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: crc = 0x0, offset = 0x0, max_size = 0x1000
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Request handling complete. Result: 0x1
&amp;lt;debug&amp;gt; nrf_dfu_serial: Sending Response: [0x6, 0x1]
&amp;lt;debug&amp;gt; nrf_dfu_serial_usb: Allocated buffer 20009D10
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_CREATE (data)
&amp;lt;debug&amp;gt; nrf_dfu_flash: nrf_fstorage_erase(addr=0x0x00027000, len=1 pages), queue usage: 0
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Creating object with size: 4096. Offset: 0x00000000, CRC: 0x00000000
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Request handling complete. Result: 0x1
&amp;lt;debug&amp;gt; nrf_dfu_serial: Sending Response: [0x1, 0x1]
&amp;lt;debug&amp;gt; nrf_dfu_serial_usb: Allocated buffer 2000A514
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data)
&amp;lt;debug&amp;gt; nrf_dfu_flash: nrf_fstorage_write(addr=0x00027000, src=0x20009D14, len=1024 bytes), queue usage: 1
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Request handling complete. Result: 0x1
&amp;lt;debug&amp;gt; nrf_dfu_serial_usb: Allocated buffer 2000AD18
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data)
&amp;lt;debug&amp;gt; nrf_dfu_flash: nrf_fstorage_write(addr=0x00027400, src=0x2000A518, len=1024 bytes), queue usage: 2
0x1
&amp;lt;error&amp;gt; nrf_dfu_serial_usb: Failed to allocate buffer!
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data)
&amp;lt;debug&amp;gt; nrf_dfu_flash: nrf_fstorage_write(addr=0x00027800, src=0x2000AD1C, len=1024 bytes), queue usage: 3
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Request handling complete. Result: 0x1
&amp;lt;error&amp;gt; nrf_dfu_serial_usb: Failed to allocate buffer!
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data)
&amp;lt;error&amp;gt; nrf_dfu_req_handler: Write request too long
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Request handling complete. Result: 0x3
&amp;lt;warning&amp;gt; nrf_dfu_serial: DFU request completed with result: 0x3
&amp;lt;debug&amp;gt; nrf_dfu_flash: Flash erase success: addr=0x00027000, pending 3
&amp;lt;debug&amp;gt; nrf_dfu_flash: Flash write success: addr=0x00027000, pending 2
&amp;lt;debug&amp;gt; nrf_dfu_flash: Flash write success: addr=0x00027400, pending 1
&amp;lt;debug&amp;gt; nrf_dfu_flash: Flash write success: addr=0x00027800, pending 0
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB-BLE Bootloader stuck unable to DFU after DFU process was interrupted</title><link>https://devzone.nordicsemi.com/thread/331427?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 07:39:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd6f4770-189a-489f-9414-0012d217ab46</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does the issue also happen to the unmodified SDK 15.2 bootloader?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="m.li"]Yes, the device is able to be DFU successfully when nrfutil is not interrupted.[/quote]
&lt;p&gt;Can the application run successfully after DFU updating?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="m.li"]We did not log yet as it is a bit difficult to get debug messages set up with the bootloader. Will update with the log when it is available.[/quote]
&lt;p&gt;It&amp;#39;s good to have log to know what happen on the device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="m.li"]We are only updating the Application.[/quote]
&lt;p&gt;What is the application? Does it require SD&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;s140_nrf52_7.2.0 to run&lt;/span&gt;?&lt;span&gt;&amp;nbsp;&lt;/span&gt;Does the board already contain SD&lt;span&gt;&amp;nbsp;&lt;/span&gt;s140_nrf52_7.2.0 before DFU updating?&lt;/p&gt;
&lt;p&gt;It seems you are running usb-bootloader based on SDK15.2 to update the application running with&amp;nbsp;&lt;span&gt;s140_nrf52_7.2.0. Is that right?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB-BLE Bootloader stuck unable to DFU after DFU process was interrupted</title><link>https://devzone.nordicsemi.com/thread/331344?ContentTypeID=1</link><pubDate>Mon, 27 Sep 2021 14:06:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:864bbdac-09c6-4e02-b454-27ee8c861da3</guid><dc:creator>m.li</dc:creator><description>&lt;p&gt;&lt;strong&gt;&amp;gt; Have you tried to disable the MSD class as the warning suggested (&lt;a href="https://devzone.nordicsemi.com/support-private/support/255438/Disabling%20MSD%20-%20remember%20power-cycle%20at%20the%20end"&gt;Disabling MSD - remember power-cycle at the end&lt;/a&gt;)?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We have&amp;nbsp;tried to disable MSD on the J-Link but it did not make a difference. We are also not using the Development Kit.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;gt; Are you able to update successfully without&amp;nbsp;the&amp;nbsp;keyboard interrupt?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes, the device is able to be DFU successfully when nrfutil is not interrupted.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;gt; Can you provide the debug log while the error happened?&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We did not log yet as it is a bit difficult to get debug messages set up with the bootloader. Will update with the log when it is available.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;gt; What do you update? SD+BL or SD+BL+APP?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We are only updating the Application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;&amp;gt; Please post the command you are using to generate the package.&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We use this command to generate the DFU package:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil pkg generate --hw-version 52 --application-version 0 --application app.hex --sd-req 0x00 --sd-id 0x0100 --key-file ../NordicSDK/keys/private.key app_dfu_package.zip&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for your reply.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB-BLE Bootloader stuck unable to DFU after DFU process was interrupted</title><link>https://devzone.nordicsemi.com/thread/331085?ContentTypeID=1</link><pubDate>Fri, 24 Sep 2021 12:50:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:542ac2c7-9f92-4f39-a865-287b7c853b13</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the delay.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have you tried to disable the MSD class as the warning suggested (&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/support-private/support/255438/Disabling%20MSD%20-%20remember%20power-cycle%20at%20the%20end"&gt;Disabling MSD - remember power-cycle at the end&lt;/a&gt;&lt;span&gt;)?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Are you able to update successfully without&amp;nbsp;&lt;span&gt;the&amp;nbsp;&lt;/span&gt;&lt;span&gt;keyboard interrupt?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you provide the debug log while the error happened?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What do you update? SD+BL or SD+BL+APP?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please post the command you are using to generate the package.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See my explanation in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/59906/if-first-dfu-fails-the-app-is-broken/244703#244703"&gt;post&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB-BLE Bootloader stuck unable to DFU after DFU process was interrupted</title><link>https://devzone.nordicsemi.com/thread/330544?ContentTypeID=1</link><pubDate>Tue, 21 Sep 2021 19:52:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f542534e-a6fb-410a-9e25-b5c7e3a7d1b0</guid><dc:creator>m.li</dc:creator><description>&lt;p&gt;Additional question: Is there a way to force the bootloader to restart the DFU from the start (i.e. no resuming) if it is interrupted during the DFU process?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit: I&amp;#39;ve found a workaround by changing &lt;em&gt;nrf_bootloader_fw_activate()&lt;/em&gt; in nrf_bootloader_fw_activation.c:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;pre class="ui-code" data-mode="text"&gt;    switch (p_bank-&amp;gt;bank_code)
    {
...
        case NRF_DFU_BANK_INVALID:
        default:
            nrf_dfu_settings_progress_reset(); // Added to force a DFU progress reset if the DFU was interrupted
            NRF_LOG_INFO(&amp;quot;No firmware to activate.&amp;quot;);
            return ACTIVATION_NONE;
    }&lt;/pre&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Will this have unintended effects on the rest of the bootloader operations?&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>