<?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>Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64139/sending-response-0x4-0xb-in-serial-dfu</link><description>Hi, 
 I m using nrf52840 and m doing DFU over serial. 
 one side is master controller and other end is NRF DFU serial(secure bootloader uart debug code). 
 After sending init packet. i m getting correct CRC value from NRF by sending value 03. 
 And then</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Aug 2020 05:51:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64139/sending-response-0x4-0xb-in-serial-dfu" /><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/263103?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 05:51:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b225d364-ccb5-484c-8e80-8ae1b34ae631</guid><dc:creator>mayuri</dc:creator><description>&lt;p&gt;it s working now.&lt;/p&gt;
&lt;p&gt;the problem is application watch dog timer.now i increased watchdog greater than bootloader tinne inactivity. the reset wont happen it again.&lt;/p&gt;
&lt;p&gt;Thanks for your support&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/262313?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 07:50:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:479183af-8415-4228-bc31-79c16ec07052</guid><dc:creator>mayuri</dc:creator><description>&lt;p&gt;i m sending only command to enter booloader (second time).&lt;/p&gt;
&lt;p&gt;1) when i connect rtt viewer , it hold on (ie bootloader mode.)&lt;/p&gt;
&lt;p&gt;At the time i m sending dfu transfer, i not getting even ping response.&lt;/p&gt;
&lt;p&gt;2) when i remove rtt viewer,it is entering into bootloader and then resetting back to previous application mode.&lt;/p&gt;
&lt;p&gt;I m not including BL setting in Step 1.&lt;/p&gt;
&lt;p&gt;it may cause any error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/262309?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 07:42:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2992f1b-365b-416e-afd1-4bcb15d5029d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Point 1-4 is clear, but I&amp;#39;m wondering if you are attempting to start the DFU transfer in step 5 or if you are only sending that one command to enter bootloader mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/262292?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 06:40:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dc10239-79b7-48ef-8a2b-9711eb89d061</guid><dc:creator>mayuri</dc:creator><description>&lt;p&gt;1) First, i m programming merged (sd+ booloader hex) in the NRF through jlink.&lt;/p&gt;
&lt;p&gt;2) Then i m sending appilaction bin to NRF through uart from MASTER controller.&lt;/p&gt;
&lt;p&gt;3) It s updating the firmware and entering into application mode.&lt;/p&gt;
&lt;p&gt;4) Above scenario is working fine.&lt;/p&gt;
&lt;p&gt;5) Second attempt.i send a command to running application.Its entering into bootloader for few seconds.&lt;/p&gt;
&lt;p&gt;And then back to application mode.&lt;/p&gt;
&lt;p&gt;Kindly guide me&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/262280?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 06:15:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e76fa0d0-6a92-4659-9703-81119f38b8e2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;In this test, are you starting the DFU transfer right after you have entered DFU mode, or do you only send the one command to jump from the app to the bootloader? The bootloader should stay in DFU mode for 2 minutes if you just enter DFU mode and do nothing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/262241?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2020 15:49:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15a05e8e-f0c0-4323-919f-35d0696dc098</guid><dc:creator>mayuri</dc:creator><description>&lt;p&gt;It entered boatloader after few seconds it back to application code.&lt;/p&gt;
&lt;p&gt;But i set&amp;nbsp;NRF_BL_DFU_INACTIVITY_TIMEOUT_MS&amp;nbsp;120000.&lt;/p&gt;
&lt;p&gt;i dont know what do to next?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/262149?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2020 09:25:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:628cd3ae-a483-4e12-9c32-881ea0963a1e</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="Mayuri"]how do i check whether its enter into bootloader or not?[/quote]
&lt;p&gt;&amp;nbsp;If you have LED(s) on your board you can use those to indicate when you are in DFU mode.&lt;/p&gt;
[quote user="Mayuri"]i put some log on bootloader code. But that also not printed in the second time while giving command .[/quote]
&lt;p&gt;&amp;nbsp;This is a known limitation with RTT logging in our examples (it does not work when transitioning from main app to bootloader and vice versa). You may try to disable logging in the app (temporarily) to see if that helps get you the log messages from the bootloader. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/262010?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2020 13:46:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9da7b1fc-374e-4fac-bc59-efe21a97a851</guid><dc:creator>mayuri</dc:creator><description>&lt;p&gt;yes, first time it entered into bootloader.&lt;/p&gt;
&lt;p&gt;how do i check whether its enter into bootloader or not?&lt;/p&gt;
&lt;p&gt;i put some log on bootloader code. But that also not printed in the second time while giving command .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/262006?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2020 13:38:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e6fab85-2f2d-488d-b36d-16a3c15a68bd</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Does the bootloader start out in DFU mode the first time you program it with the Jlink? It sounds like maybe the buttonless mechanism is not working as intended. I.e., not putting the device into Bootloader DFU mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/261975?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2020 12:44:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55416c01-8add-4f31-b514-0cbc90e89941</guid><dc:creator>mayuri</dc:creator><description>&lt;p&gt;Very first time i flashed secure uart dfu through jlink.&lt;/p&gt;
&lt;p&gt;D:\NRF_SDk_latest\nRF5_SDK_15.2\nRF5_SDK_15.2\examples\dfu\secure_bootloader\pca10056_uart_debug\ses&lt;/p&gt;
&lt;p&gt;In loader i changed to&amp;nbsp;../../../../../components/softdevice/s140/hex/s140_nrf52_6.1.0_softdevice.hex&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After i send only application file from my master to NRF. It worked.&lt;/p&gt;
&lt;p&gt;what did i wrong in that sending application file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/261954?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2020 11:14:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:899f9a22-79e8-4952-b53a-e55c579a6791</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Looks like you are using the same code as here: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/64170/ota-over-serial-merging-with-application"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/64170/ota-over-serial-merging-with-application.&lt;/a&gt; Is the Softdevice enabled when you call boot_mode() in your app?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/261952?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2020 11:06:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc57e641-8ba8-45a0-b957-0e3d7bfbd962</guid><dc:creator>mayuri</dc:creator><description>&lt;p&gt;I m using buttonless over UART.&lt;/p&gt;
&lt;p&gt;still i m not enter into boot mode after giving below command.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define BOOTLOADER_DFU_START 0xB1

void boot_mode()
{
 nrf_delay_ms(100);
               NRF_POWER-&amp;gt;GPREGRET = BOOTLOADER_DFU_START;

              nrf_delay_ms(100);

              NVIC_SystemReset(); 
			  
			  }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;what i did before merging part&lt;/p&gt;
&lt;p&gt;1) bootloader hex + Bl settings merged output1.hex.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;nrfutil settings generate --family NRF52840 --application ble_app_rscs_c_pca10056_s140.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 --key-file private.key bl_settings.hex&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2) application hex + softdevice&amp;nbsp; hex merged output2.hex&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. output1.hex and output2.hex merged together with final output file&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;mergehex --merge output1.hex output2.hex &amp;nbsp;--output final_out.hex&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;after flashing the final out hex to my board running in application at first then&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;when changing to bootloader using buttonlesss with above inserted code .its entering but not properly timeout and also when sending&amp;nbsp; a new firmware through serial not updating with the new firmware.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;application memory&amp;nbsp;&lt;/p&gt;
&lt;p&gt;FLASH_PH_START=0x0&lt;/p&gt;
&lt;p&gt;FLASH_PH_SIZE=0x100000&lt;/p&gt;
&lt;p&gt;RAM_PH_START=0x20000000&lt;/p&gt;
&lt;p&gt;RAM_PH_SIZE=0x40000&lt;/p&gt;
&lt;p&gt;FLASH_START=0x26000&lt;/p&gt;
&lt;p&gt;FLASH_SIZE=0xda000&lt;/p&gt;
&lt;p&gt;RAM_START=0x20001cd0&lt;/p&gt;
&lt;p&gt;RAM_SIZE=0x3e330&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;uart bootloader memory&amp;nbsp;&lt;/p&gt;
&lt;p&gt;FLASH_PH_START=0x0&lt;/p&gt;
&lt;p&gt;FLASH_PH_SIZE=0x100000&lt;/p&gt;
&lt;p&gt;RAM_PH_START=0x20000000&lt;/p&gt;
&lt;p&gt;RAM_PH_SIZE=0x40000&lt;/p&gt;
&lt;p&gt;FLASH_START=0xe4000&lt;/p&gt;
&lt;p&gt;FLASH_SIZE=0x1a000&lt;/p&gt;
&lt;p&gt;RAM_START=0x20000008&lt;/p&gt;
&lt;p&gt;RAM_SIZE=0x3fff8&lt;/p&gt;
&lt;p&gt;here is my memory location&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1595934164905v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;kindly help me out. i have been hold on here for past 3 days.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/261944?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2020 10:38:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7efcc2e9-0529-40a5-9f01-76af5b6f42e5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Good to hear that you were able to fix the upload issue by adding some delays. Regarding the &amp;quot;buttonless&amp;quot; mechanism, is the command to enter DFU mode sent over BLE or UART? The SDK does not provide any example for buttonless entry with UART, but it is pretty easy to implement. Just add a call nrf_pwr_mgmt_shutdown(NRF_PWR_MGMT_SHUTDOWN_GOTO_DFU); when you receive the command to enter DFU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/261679?ContentTypeID=1</link><pubDate>Sat, 25 Jul 2020 14:43:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3413dbd8-5d7f-4cdc-a2f3-f2dc6fc7bf53</guid><dc:creator>mayuri</dc:creator><description>&lt;p&gt;It works fine without changing address.&lt;/p&gt;
&lt;p&gt;Just increasing delay between create and command. I can able to download a bin file.&lt;/p&gt;
&lt;p&gt;After i merged secure UART bootloader + Application file with buttonless.&lt;/p&gt;
&lt;p&gt;Its not switching to bootloader mode whiile giving command.&lt;/p&gt;
&lt;p&gt;here is my bootloader linker address&lt;/p&gt;
&lt;p&gt;FLASH_PH_START=0x0&lt;/p&gt;
&lt;p&gt;FLASH_PH_SIZE=0x100000&lt;/p&gt;
&lt;p&gt;RAM_PH_START=0x20000000&lt;/p&gt;
&lt;p&gt;RAM_PH_SIZE=0x40000&lt;/p&gt;
&lt;p&gt;FLASH_START=0xe4000&lt;/p&gt;
&lt;p&gt;FLASH_SIZE=0x1a000&lt;/p&gt;
&lt;p&gt;RAM_START=0x20000008&lt;/p&gt;
&lt;p&gt;RAM_SIZE=0x3fff8&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><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/261673?ContentTypeID=1</link><pubDate>Sat, 25 Jul 2020 09:16:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc72f8be-e2bb-4042-898c-09aa6165e670</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Application flash for S140 7.0.1 starts at 0x27000 and not at 0x26000.&lt;/p&gt;
&lt;p&gt;Sounds like your app hex (or linker script) was written for an older softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/261667?ContentTypeID=1</link><pubDate>Sat, 25 Jul 2020 05:44:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a30244ef-cb4f-45f0-8a0c-af3b07751f12</guid><dc:creator>mayuri</dc:creator><description>&lt;p&gt;Now i get 01 response from nrf.As i follow this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/53479/52840-dfu-operational-failure-question"&gt;link&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;After i started to sending image file from master mcu.&lt;/p&gt;
&lt;p&gt;i m getting an error from NRF&lt;/p&gt;
&lt;p&gt;nrf_dfu_flash: nrf_fstorage_erase(addr=0x0x00026000, len=1 pages), queue usage: 1&lt;/p&gt;
&lt;p&gt;&amp;lt;error&amp;gt; app: Received an error: 0x00000001!&lt;/p&gt;
&lt;p&gt;Here is my NRF log&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;info&amp;gt; app: Inside main
&amp;lt;debug&amp;gt; app: In nrf_bootloader_init
&amp;lt;debug&amp;gt; nrf_dfu_settings: Calling nrf_dfu_settings_init()...
&amp;lt;debug&amp;gt; nrf_dfu_flash: Initializing nrf_fstorage_nvmc backend.
&amp;lt;debug&amp;gt; nrf_dfu_settings: Settings OK
&amp;lt;debug&amp;gt; app: Enter nrf_bootloader_fw_activate
&amp;lt;info&amp;gt; app: No firmware to activate.
&amp;lt;debug&amp;gt; app: Enter nrf_dfu_app_is_valid
&amp;lt;debug&amp;gt; app: No valid app to boot.
&amp;lt;debug&amp;gt; app: DFU mode because app is not valid.
&amp;lt;info&amp;gt; nrf_bootloader_wdt: WDT is not enabled
&amp;lt;debug&amp;gt; app: in weak nrf_dfu_init_user
&amp;lt;debug&amp;gt; app: timer_stop (0x20000024)
&amp;lt;debug&amp;gt; app: timer_activate (0x20000024)
&amp;lt;info&amp;gt; app: Entering DFU mode.
&amp;lt;debug&amp;gt; app: Initializing transports (found: 1)
&amp;lt;debug&amp;gt; nrf_dfu_serial_uart: serial_dfu_transport_init()
&amp;lt;debug&amp;gt; nrf_dfu_serial_uart: serial_dfu_transport_init() completed
&amp;lt;debug&amp;gt; nrf_dfu_flash: Initializing nrf_fstorage_nvmc backend.
&amp;lt;debug&amp;gt; app: Enter main loop
&amp;lt;debug&amp;gt; app: Shutting down transports (found: 1)
&amp;lt;debug&amp;gt; nrf_dfu_serial: Received ping 1
&amp;lt;info&amp;gt; nrf_dfu_serial_uart: Allocated buffer 2000378C
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_PING
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Request handling complete. Result: 0x1
&amp;lt;debug&amp;gt; nrf_dfu_serial: Sending Response: [0x9, 0x1]
&amp;lt;debug&amp;gt; app: Shutting down transports (found: 1)
&amp;lt;debug&amp;gt; nrf_dfu_serial: Set receipt notif target: 0
&amp;lt;info&amp;gt; nrf_dfu_serial_uart: Allocated buffer 2000378C
&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; app: Shutting down transports (found: 1)
&amp;lt;debug&amp;gt; nrf_dfu_serial: Received serial mtu
&amp;lt;info&amp;gt; nrf_dfu_serial_uart: Allocated buffer 2000378C
&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; app: Shutting down transports (found: 1)
&amp;lt;info&amp;gt; nrf_dfu_serial_uart: Allocated buffer 2000378C
&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; app: Shutting down transports (found: 1)
&amp;lt;info&amp;gt; nrf_dfu_serial_uart: Allocated buffer 2000378C
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_CREATE (command)
&amp;lt;debug&amp;gt; app: timer_stop (0x20000024)
&amp;lt;debug&amp;gt; app: timer_activate (0x20000024)
&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; app: Shutting down transports (found: 1)
&amp;lt;info&amp;gt; nrf_dfu_serial_uart: Allocated buffer 20003810
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (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: [0x3, 0x1]
&amp;lt;debug&amp;gt; app: Shutting down transports (found: 1)
&amp;lt;info&amp;gt; nrf_dfu_serial_uart: Allocated buffer 2000378C
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (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: [0x3, 0x1]
&amp;lt;debug&amp;gt; app: Shutting down transports (found: 1)
&amp;lt;info&amp;gt; nrf_dfu_serial_uart: Allocated buffer 20003810
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (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: [0x3, 0x1]
&amp;lt;debug&amp;gt; app: Shutting down transports (found: 1)
&amp;lt;info&amp;gt; nrf_dfu_serial_uart: Allocated buffer 20003810
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_CRC_GET (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: [0x3, 0x1]
&amp;lt;debug&amp;gt; app: Shutting down transports (found: 1)
&amp;lt;info&amp;gt; nrf_dfu_serial_uart: Allocated buffer 20003810
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_EXECUTE (command)
&amp;lt;debug&amp;gt; nrf_dfu_validation: PB: Init packet data len: 64
&amp;lt;info&amp;gt; nrf_dfu_validation: Signature required. Checking signature.
&amp;lt;info&amp;gt; nrf_dfu_validation: Calculating init packet hash (init packet len: 64)
&amp;lt;info&amp;gt; nrf_dfu_validation: Verify signature
&amp;lt;info&amp;gt; nrf_dfu_validation: Image verified
&amp;lt;debug&amp;gt; app: Enter nrf_dfu_cache_prepare()
&amp;lt;debug&amp;gt; app: required_size: 0xACF4.
&amp;lt;debug&amp;gt; app: single_bank: false.
&amp;lt;debug&amp;gt; app: keep_app: false.
&amp;lt;debug&amp;gt; app: keep_softdevice: true.
&amp;lt;debug&amp;gt; app: SD_PRESENT: true.
&amp;lt;debug&amp;gt; app: Bank contents:
&amp;lt;debug&amp;gt; app: Bank 0 code: 0x00: Size: 0x0
&amp;lt;debug&amp;gt; app: Bank 1 code: 0x00: Size: 0x0
&amp;lt;debug&amp;gt; app: pass: 0.
&amp;lt;debug&amp;gt; app: cache_address: 0x26000.
&amp;lt;debug&amp;gt; app: cache_too_small: false.
&amp;lt;debug&amp;gt; app: keep_firmware: false.
&amp;lt;debug&amp;gt; app: delete_more: false.
&amp;lt;debug&amp;gt; nrf_dfu_validation: Write address set to 0x00026000
&amp;lt;debug&amp;gt; nrf_dfu_settings: Writing settings...
&amp;lt;debug&amp;gt; nrf_dfu_settings: Erasing old settings at: 0x000FF000
&amp;lt;debug&amp;gt; nrf_dfu_flash: nrf_fstorage_erase(addr=0x0x000FF000, len=1 pages), queue usage: 0
&amp;lt;debug&amp;gt; nrf_dfu_flash: Flash erase success: addr=0x000FF000, pending 0
&amp;lt;debug&amp;gt; nrf_dfu_flash: nrf_fstorage_write(addr=0x000FF000, src=0x20003D14, len=348 bytes), queue usage: 1
&amp;lt;debug&amp;gt; nrf_dfu_flash: Flash write success: addr=0x000FF000, pending 0
&amp;lt;info&amp;gt; nrf_dfu_settings: Backing up settings page to address 0xFE000.
&amp;lt;debug&amp;gt; nrf_dfu_settings: Writing settings...
&amp;lt;debug&amp;gt; nrf_dfu_settings: Erasing old settings at: 0x000FE000
&amp;lt;debug&amp;gt; nrf_dfu_flash: nrf_fstorage_erase(addr=0x0x000FE000, len=1 pages), queue usage: 1
&amp;lt;debug&amp;gt; nrf_dfu_flash: Flash erase success: addr=0x000FE000, pending 0
&amp;lt;debug&amp;gt; nrf_dfu_flash: nrf_fstorage_write(addr=0x000FE000, src=0x20003E70, len=348 bytes), queue usage: 1
&amp;lt;debug&amp;gt; nrf_dfu_flash: Flash write success: addr=0x000FE000, pending 0
&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; app: Shutting down transports (found: 1)
&amp;lt;info&amp;gt; nrf_dfu_serial_uart: Allocated buffer 20003810
&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; app: Shutting down transports (found: 1)
&amp;lt;info&amp;gt; nrf_dfu_serial_uart: Allocated buffer 20003810
&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=0x0x00026000, len=1 pages), queue usage: 1
&amp;lt;error&amp;gt; app: Received an error: 0x00000001!
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Response: [0x4, 0xB] in serial DFU ?</title><link>https://devzone.nordicsemi.com/thread/261654?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2020 20:25:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:832f5be2-0dfa-4e3e-a425-9546c0c95466</guid><dc:creator>Turbo J</dc:creator><description>[quote userid="75183" url="~/f/nordic-q-a/64139/sending-response-0x4-0xb-in-serial-dfu"]warning&amp;gt; nrf_dfu_ver_validation: SD req not met.[/quote]
&lt;p&gt;The softdevice in the chip is different from the softdevice required in the init packet.&lt;/p&gt;
&lt;p&gt;You probably need to update the softdevice before you can DFU the new application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>