<?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>NRF52840 OTA over BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63966/nrf52840-ota-over-ble</link><description>hai , 
 
 i tried nrf52840 ota over BLE from third party (ESP32). 
 As per the DFU protocol implemented logics and upto init packet (.dat file) getting expected response from nrf52840 to esp32. 
 after that for sending a bin file spllited into 12 objects</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Aug 2020 11:28:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63966/nrf52840-ota-over-ble" /><item><title>RE: NRF52840 OTA over BLE</title><link>https://devzone.nordicsemi.com/thread/262970?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2020 11:28:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1a2e767-e8c0-49b2-9060-d504abdf4f5e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sowmiya,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Have you tried to compare with what the phone or the DFU tool on PC send when doing the same DFU ?&amp;nbsp;&lt;br /&gt;Please use the sniffer to capture a proper DFU from the phone or DFU tool on PC so that you can pin point what make it didn&amp;#39;t work.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In addition you need to get the bootloader to run in debug mode and you would be able to debug when there is anything goes wrong on the bootloader side.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 OTA over BLE</title><link>https://devzone.nordicsemi.com/thread/261594?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2020 12:11:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae376c6c-c9f9-4c29-a824-94da75a70d43</guid><dc:creator>sowmiya</dc:creator><description>&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
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;waiting for your reply,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/test1_5F00_app.zip"&gt;devzone.nordicsemi.com/.../test1_5F00_app.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;here is my bin and dat file ,&lt;/p&gt;
&lt;p&gt;same file is working by using application through BLE&amp;nbsp;&lt;/p&gt;
&lt;p&gt;but when used in uart not getting any response .i have debug the code .&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uint8_t create_obj[] = { 0x01, 0x01, 0x91, 0x00, 0x00, 0x00 };

	uint32_t create_obj_len = 6;
	uint8_t init_packet2[] = { 8, 4, 8, 1, 18, 0 };
	uint32_t init_packet2_len = 6;


uint8_t init_packet1[] = { 0x12, 0x8A, 0x01, 0x0A, 0x44, 0x08, 0x01, 0x12, 0x40, 0x08, 0x01, 0x10, 0x34, 0x1A, 0x02, 0xAE,
			0x01, 0x20, 0x00, 0x28, 0x00, 0x30, 0x00, 0x38, 0xF4, 0xE0, 0x02, 0x42, 0x24, 0x08, 0x03, 0x12,
			0x20, 0x9D, 0x45, 0x56, 0x3B, 0xF7, 0x9D, 0x44, 0x66, 0x5E, 0x69, 0x45, 0xB7, 0x9F, 0xAB, 0x2C,
			0x32, 0xB0, 0x9F, 0x10, 0x31, 0x69, 0x5C, 0x64, 0x6D, 0xA1, 0x8F, 0xD9, 0xE2, 0x53, 0x12, 0x4A,
			0x81, 0x48, 0x00, 0x52, 0x04, 0x08, 0x01, 0x12, 0x00, 0x10, 0x00, 0x1A, 0x40, 0x51, 0x1F, 0xE2,
			0xD4, 0x31, 0xD3, 0x3C, 0x12, 0xCE, 0xF7, 0x98, 0x85, 0x59, 0xBB, 0x40, 0x92, 0x6B, 0x61, 0x70,
			0x29, 0x8A, 0x13, 0x4B, 0xD5, 0x45, 0xA1, 0xEA, 0x05, 0xBA, 0x59, 0xB7, 0x21, 0x4E, 0xAE, 0x78,
			0x43, 0x97, 0xE3, 0xD2, 0xE8, 0x82, 0x0F, 0x40, 0x39, 0xBC, 0x51, 0x2A, 0xA6, 0x18, 0x98, 0x6E,
			0xD8, 0x40, 0xF1, 0x7E, 0x5A, 0x0B, 0xFF, 0x4E, 0x70, 0x88, 0x2E, 0xAA, 0xC2 };
			uint32_t init_packet1_len = 141;
			
			memset(enc_data, 0, sizeof(enc_data));
	//INIT PACKET 1
encode_slip(enc_data,&amp;amp;enc_data_len,init_packet1,init_packet1_len);
uart_flush(UART_NUM_1);
uart_write_bytes(UART_NUM_1,(char*) enc_data, enc_data_len);
uart_wait_tx_done(UART_NUM_1, 5);
ESP_LOG_BUFFER_HEX_LEVEL( &amp;quot;INIT PACKET 1 --&amp;gt;&amp;quot;, enc_data, enc_data_len, ESP_LOG_INFO );

vTaskDelay(10);
	memset(enc_data, 0, sizeof(enc_data));
	//INIT PACKET 2
	encode_slip(enc_data, &amp;amp;enc_data_len, init_packet2, init_packet2_len);
	uart_flush(UART_NUM_1);
	uart_write_bytes(UART_NUM_1, (char*) enc_data, enc_data_len);
	uart_wait_tx_done(UART_NUM_1, 5);
	ESP_LOG_BUFFER_HEX_LEVEL(&amp;quot;INIT PACKET 2 --&amp;gt;&amp;quot;, enc_data, enc_data_len,
			ESP_LOG_INFO);

	memset(enc_data, 0, sizeof(enc_data));
	//REQUEST CHECKSUM
	encode_slip(enc_data, &amp;amp;enc_data_len, CRC, CRC_len);
	uart_flush(UART_NUM_1);
	uart_write_bytes(UART_NUM_1, (char*) enc_data, enc_data_len);
	uart_wait_tx_done(UART_NUM_1, 5);
	ESP_LOG_BUFFER_HEX_LEVEL(&amp;quot;CHECKSUM --&amp;gt;&amp;quot;, enc_data, enc_data_len,
			ESP_LOG_INFO);

	vTaskDelay(20);
	ESP_ERROR_CHECK(uart_get_buffered_data_len(UART_NUM_1, &amp;amp;read_len));
	readBytes = uart_read_bytes(UART_NUM_1, RespData, (uint32_t) read_len, 0);
	ESP_LOG_BUFFER_HEX_LEVEL(&amp;quot;CHECKSUM Response &amp;lt;--&amp;quot;, RespData, readBytes,
			ESP_LOG_INFO);

	memset(enc_data, 0, sizeof(enc_data));
	//EXECUTE
	encode_slip(enc_data, &amp;amp;enc_data_len, execute, exe_len);
	uart_flush(UART_NUM_1);
	uart_write_bytes(UART_NUM_1, (char*) enc_data, enc_data_len);
	uart_wait_tx_done(UART_NUM_1, 5);
	ESP_LOG_BUFFER_HEX_LEVEL(&amp;quot;EXECUTE --&amp;gt;&amp;quot;, enc_data, enc_data_len,
			ESP_LOG_INFO);

	vTaskDelay(10);
	ESP_ERROR_CHECK(uart_get_buffered_data_len(UART_NUM_1, &amp;amp;read_len));
	readBytes = uart_read_bytes(UART_NUM_1, RespData, (uint32_t) read_len, 0);
	ESP_LOG_BUFFER_HEX_LEVEL(&amp;quot;EXECUTE Response &amp;lt;--&amp;quot;, RespData, readBytes,
			ESP_LOG_INFO);
	printf(&amp;quot;RespData:%s&amp;quot;, (char*) RespData);
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;here is my code..&lt;/p&gt;
&lt;p&gt;whats the mistake here ?? could you explain ??&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;regards,&lt;/p&gt;
&lt;p&gt;sowmiya&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 OTA over BLE</title><link>https://devzone.nordicsemi.com/thread/261562?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2020 10:51:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac8205e0-13a9-44bb-a0e0-9d7bef001ec2</guid><dc:creator>sowmiya</dc:creator><description>&lt;p&gt;hello,&lt;/p&gt;
&lt;p&gt;i to started with serial from esp to nrf&lt;/p&gt;
&lt;p&gt;in that i can able to send upto create object&amp;nbsp; and getting responses but when i tried send a init packet but not getting response ,juts i converted my .dat file to hex&amp;nbsp; in online convertor and hardcoded the value in code.&lt;/p&gt;
&lt;p&gt;how to send the init packet??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 OTA over BLE</title><link>https://devzone.nordicsemi.com/thread/261367?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2020 12:57:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:900ce965-2911-4eac-8d9d-4e9fe208199b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;My example code is for updating a nRF52 from a nRF52 not from ESP. From that example you can have an overview of the DFU process.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest you to record sniffer trace, not just the log.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please step into the bootloader and debug inside that , check why it doesn&amp;#39;t receive CRC calculate request. You may need to change the&amp;nbsp;optimization level to be able to step into the bootloader&amp;#39;s code.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 OTA over BLE</title><link>https://devzone.nordicsemi.com/thread/261249?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2020 16:23:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:506456a4-65d5-4ad3-b47a-03bc57224e1d</guid><dc:creator>sowmiya</dc:creator><description>&lt;p&gt;yes , i go with your example but how to start ? and where to start in esp side with uart ?&lt;/p&gt;
&lt;p&gt;now i am trying ESP32 to nrf over BLE.&amp;nbsp; as you said i did the same , traced the log from nrf connect app and implemented logics for esp to nrf ,but i dont know whats missing in that, until the init packet i am getting as per the log taken from nrf connect app.&lt;/p&gt;
&lt;p&gt;could you explain on sending the firmware file procedure??&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;regards,&lt;/p&gt;
&lt;p&gt;sowmiya&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 OTA over BLE</title><link>https://devzone.nordicsemi.com/thread/261208?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2020 13:23:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eab8984a-334f-4425-ae3c-e969e1ca33e0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I don&amp;#39;t see the bootloader responding to CRC calculate request. Please try to debug the bootloader and have a look inside&amp;nbsp;nrf_dfu_command_req() function.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you looked at my example ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t plan to try the UART DFU, another advice for you is to do DFU of the same file using our tool for example the app on the phone or NRF Connect app on PC. Then record a&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Sniffer"&gt; sniffer trace&lt;/a&gt; of that process. Doing that you can replicate the same procedure on the ESP and can find why it didn&amp;#39;t work for you.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 OTA over BLE</title><link>https://devzone.nordicsemi.com/thread/261186?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2020 12:00:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0aae4a10-ee6b-4c7e-9693-965dc148cbfc</guid><dc:creator>sowmiya</dc:creator><description>&lt;p&gt;hai ,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; i tried OTA over ble from esp32 to nrf52840&lt;/p&gt;
&lt;p&gt;here i have attached the log got from nrf52.&lt;/p&gt;
&lt;p&gt;STEP 1 :&amp;nbsp; extract zip file in cloud . as per the DFU protocol send a initial commamd and got proper response&amp;nbsp;&lt;/p&gt;
&lt;p&gt;STEP 2 : send a .dat file which is downloaded and stored in a file system of esp32 to nrf52 and calculation of crc was correct and signature verified successfully.&lt;/p&gt;
&lt;p&gt;STEP 3: downloaded a bin file in esp32 by http&amp;nbsp; and stored in file system and spllited the .bin file as 12 objects&amp;nbsp;&lt;/p&gt;
&lt;p&gt;each object as 4096 bytes ,&amp;nbsp; send as 144 bytes in a loop when completion of first object (4096)&lt;/p&gt;
&lt;p&gt;0x03 send for crc but i didnt get any data from nrf side.&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 (0x200057D4)
&amp;lt;debug&amp;gt; app: timer_activate (0x200057D4)
&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_ble: Initializing BLE DFU transport
&amp;lt;debug&amp;gt; nrf_dfu_ble: Setting up vector table: 0x000F1000
&amp;lt;debug&amp;gt; nrf_dfu_ble: Enabling SoftDevice.
&amp;lt;debug&amp;gt; nrf_dfu_ble: Configuring BLE stack.
&amp;lt;debug&amp;gt; nrf_dfu_ble: Enabling the BLE stack.
&amp;lt;debug&amp;gt; nrf_dfu_ble: No advertising name found
&amp;lt;debug&amp;gt; nrf_dfu_ble: Using default advertising name
&amp;lt;debug&amp;gt; nrf_dfu_ble: Advertising...
&amp;lt;debug&amp;gt; nrf_dfu_ble: BLE DFU transport initialized.
&amp;lt;debug&amp;gt; nrf_dfu_flash: Initializing nrf_fstorage_sd backend.
&amp;lt;debug&amp;gt; nrf_dfu_validation: PB: Init packet data len: 64
&amp;lt;debug&amp;gt; app: Enter main loop
&amp;lt;debug&amp;gt; nrf_dfu_ble: Connected
&amp;lt;debug&amp;gt; nrf_dfu_ble: Received BLE_GAP_EVT_DATA_LENGTH_UPDATE_REQUEST.
&amp;lt;debug&amp;gt; nrf_dfu_ble: Received BLE_GAP_EVT_DATA_LENGTH_UPDATE (251, max_rx_time 2120).
&amp;lt;debug&amp;gt; nrf_dfu_ble: Received BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST (request: 500, reply: 247).
&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; app: Shutting down transports (found: 1)
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_CREATE (command)
&amp;lt;debug&amp;gt; app: timer_stop (0x200057D4)
&amp;lt;debug&amp;gt; app: timer_activate (0x200057D4)
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Request handling complete. Result: 0x1
&amp;lt;debug&amp;gt; nrf_dfu_ble: Buffer 0x2000910C acquired, len 141 (244)
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (command)
&amp;lt;debug&amp;gt; nrf_dfu_ble: Freeing buffer 0x2000910C
&amp;lt;debug&amp;gt; nrf_dfu_req_handler: Request handling complete. Result: 0x1
&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_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: 0xBA50.
&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: 0xBA50
&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: 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.
&amp;lt;debug&amp;gt; nrf_dfu_settings: Destination settings are identical to 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_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; app: Shutting down transports (found: 1)
&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: 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_flash: Flash erase success: addr=0x00026000, pending 0
&lt;/pre&gt; init packet(.dat file) getting properly not issues in that.&lt;/p&gt;
&lt;p&gt;why i am getting any data of .bin firmware file?&lt;/p&gt;
&lt;p&gt;how to send a bin file&amp;nbsp; which i extracted from cloud ??&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 OTA over BLE</title><link>https://devzone.nordicsemi.com/thread/261024?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2020 14:42:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8301532-d8dd-4a34-9531-da9862a16d90</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sowmiya,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest to have a look at my example &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader#h108sjziaxo3m81rkgr1has5r1d72qtu"&gt;here &lt;/a&gt;first. I provided an example of DFU master with UART and SPI. From that you would have an overview on what the DFU protocol on UART would look like and how you can send the binary , create object etc.&amp;nbsp;&lt;br /&gt;After that you would need to develop your own code to do BLE DFU based on this example and the BLE DFU protocol documentation .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>