app: EVENT_ENCRYPT_NEGOTIATION_SUCCESS ch: 1, state from 02 app: new state: 3 nrf_dfu_settings: Calling nrf_dfu_settings_init()... nrf_dfu_flash: Initializing nrf_fstorage_sd backend. nrf_dfu_settings: Using settings page. nrf_dfu_settings: Copying forbidden parts from backup page. nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping. nrf_dfu_flash: Initializing nrf_fstorage_sd backend. background_dfu: Current DFU Diag version: Sep 16 2019 17:50:47, 0x7C8D85A5 background_dfu: state=DFU_IDLE event=DFU_EVENT_TRANSFER_COMPLETE app: state_update BACKGROUND_DFU_DOWNLOAD_TRIG app: send_request BACKGROUND_DFU_DOWNLOAD_TRIG background_dfu: DFU trigger: init (sz=140, crc=C0BFBC63) image (sz=8228, crc=C0BFBC63) background_dfu: state=DFU_DOWNLOAD_TRIG event=DFU_EVENT_TRANSFER_COMPLETE background_dfu: Installed image CRC is different nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_SELECT (command) nrf_dfu_req_handler: Request handling complete. Result: 0x1 nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_EXECUTE (command) nrf_dfu_validation: Handler: Invalid init command. nrf_dfu_validation: Failed to decode init packet nrf_dfu_req_handler: Request handling complete. Result: 0x5 background_dfu: Init commad has changed app: state_update BACKGROUND_DFU_DOWNLOAD_INIT_CMD background_dfu: Init complete. Unicast Mode. background_dfu: state=DFU_DOWNLOAD_INIT_CMD event=DFU_EVENT_TRANSFER_CONTINUE app: Process block 0 app: send_acknowledge_crc_to_beast block 0 CRC32 0xC0BFBC63 background_dfu: Storing block (b:0 c:0). nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_CREATE (command) nrf_dfu_req_handler: Request handling complete. Result: 0x1 nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (command) nrf_dfu_req_handler: Request handling complete. Result: 0x1 nrf_dfu_req_handler: Handle NRF_DFU_OP_CRC_GET (command) nrf_dfu_req_handler: Request handling complete. Result: 0x1 nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_EXECUTE (command) nrf_dfu_validation: PB: Init packet data len: 63 nrf_dfu_validation: Signature required. Checking signature. nrf_dfu_validation: Calculating hash (len: 63) nrf_dfu_validation: Verify signature nrf_dfu_validation: Image verified app: Enter nrf_dfu_cache_prepare() app: required_size: 0x2024. app: single_bank: false. app: keep_app: true. app: keep_softdevice: true. app: SD_PRESENT: true. app: Bank contents: app: Bank 0 code: 0x01: Size: 0x20804 app: Bank 1 code: 0x00: Size: 0x0 app: pass: 0. app: cache_address: 0x52000. app: cache_too_small: false. app: keep_firmware: true. app: delete_more: false. nrf_dfu_validation: Write address set to 0x00052000 nrf_dfu_settings: Writing settings... nrf_dfu_settings: Erasing old settings at: 0x000FF000 nrf_dfu_flash: nrf_fstorage_erase(addr=0x0x000FF000, len=1 pages), queue usage: 0 nrf_dfu_flash: nrf_fstorage_write(addr=0x000FF000, src=0x2000E004, len=896 bytes), queue usage: 1 nrf_dfu_req_handler: Writing valid init command to flash. nrf_dfu_req_handler: Request handling complete. Result: 0x1 background_dfu: Is image complete (o:0 n:1). background_dfu: state=DFU_DOWNLOAD_INIT_CMD event=DFU_EVENT_TRANSFER_COMPLETE nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_SELECT (data) nrf_dfu_req_handler: crc = 0x0, offset = 0x0, max_size = 0x1000 nrf_dfu_req_handler: Request handling complete. Result: 0x1 app: state_update BACKGROUND_DFU_DOWNLOAD_FIRMWARE background_dfu: state=DFU_DOWNLOAD_FIRMWARE event=DFU_EVENT_TRANSFER_CONTINUE nrf_dfu_flash: Flash erase success: addr=0x000FF000, pending 1 nrf_dfu_flash: Flash write success: addr=0x000FF000, pending 0 app: EVENT_TRANSFER_TX_COMPLETED ch: 1 app: EVENT_TRANSFER_RX_FAILED ch: 1 app: EVENT_TRANSFER_RX_FAILED ch: 1 app: EVENT_RX_FAIL ch: 1 app: EVENT_RX_FAIL ch: 1 app: EVENT_TRANSFER_RX_FAILED ch: 1 app: Block Remainder packet(7) coppied to buffer at 1000 app: send_acknowledge_crc_to_beast block 0 CRC32 0x207223D app: Process block 0 app: app_sched_execute 001000 background_dfu: Storing block (b:0 c:0). nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_CREATE (data) nrf_dfu_flash: nrf_fstorage_erase(addr=0x0x00052000, len=1 pages), queue usage: 0 nrf_dfu_req_handler: Creating object with size: 4096. Offset: 0x00000000, CRC: 0x00000000 nrf_dfu_req_handler: Request handling complete. Result: 0x1 nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) nrf_dfu_flash: nrf_fstorage_write(addr=0x00052000, src=0x2000A57C, len=4096 bytes), queue usage: 1 nrf_dfu_req_handler: Request handling complete. Result: 0x1 nrf_dfu_flash: Flash erase success: addr=0x00052000, pending 1 nrf_dfu_flash: Flash write success: addr=0x00052000, pending 0 app: EVENT_TRANSFER_TX_COMPLETED ch: 1 app: EVENT_TRANSFER_RX_FAILED ch: 1 app: EVENT_TRANSFER_RX_FAILED ch: 1 app: EVENT_TRANSFER_RX_FAILED ch: 1 app: EVENT_RX_FAIL ch: 1 app: Block Remainder packet(7) coppied to buffer at 1000 app: send_acknowledge_crc_to_beast block 1 CRC32 0x6B820540 app: Process block 1 app: app_sched_execute 002000 nrf_dfu_req_handler: Handle NRF_DFU_OP_CRC_GET (data) nrf_dfu_req_handler: Offset:4096, CRC:0x0207223D nrf_dfu_req_handler: Request handling complete. Result: 0x1 nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_EXECUTE (data) background_dfu: Is image complete (o:0 n:3). background_dfu: state=DFU_DOWNLOAD_FIRMWARE event=DFU_EVENT_TRANSFER_CONTINUE background_dfu: Storing block (b:1 c:1). nrf_dfu_req_handler: Request handling complete. Result: 0x1 nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_CREATE (data) nrf_dfu_flash: nrf_fstorage_erase(addr=0x0x00053000, len=1 pages), queue usage: 0 nrf_dfu_req_handler: Creating object with size: 4096. Offset: 0x00001000, CRC: 0x0207223D nrf_dfu_req_handler: Request handling complete. Result: 0x1 nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) nrf_dfu_flash: nrf_fstorage_write(addr=0x00053000, src=0x2000B57C, len=4096 bytes), queue usage: 1 nrf_dfu_req_handler: Request handling complete. Result: 0x1 nrf_dfu_flash: Flash erase success: addr=0x00053000, pending 1 nrf_dfu_flash: Flash write success: addr=0x00053000, pending 0 app: EVENT_TRANSFER_TX_COMPLETED ch: 1 app: Last packet(7) coppied to buffer at 0024 app: send_acknowledge_crc_to_beast block 2 CRC32 0x7531A6F4 app: Process block 2 app: app_sched_execute 002024 nrf_dfu_req_handler: Handle NRF_DFU_OP_CRC_GET (data) nrf_dfu_req_handler: Offset:8192, CRC:0x6B820540 nrf_dfu_req_handler: Request handling complete. Result: 0x1 nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_EXECUTE (data) background_dfu: Is image complete (o:1 n:3). background_dfu: state=DFU_DOWNLOAD_FIRMWARE event=DFU_EVENT_TRANSFER_CONTINUE background_dfu: Storing block (b:2 c:2). nrf_dfu_req_handler: Request handling complete. Result: 0x1 nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_CREATE (data) nrf_dfu_flash: nrf_fstorage_erase(addr=0x0x00054000, len=1 pages), queue usage: 0 nrf_dfu_req_handler: Creating object with size: 36. Offset: 0x00002000, CRC: 0x6B820540 nrf_dfu_req_handler: Request handling complete. Result: 0x1 nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) nrf_dfu_flash: nrf_fstorage_write(addr=0x00054000, src=0x2000A57C, len=36 bytes), queue usage: 1 nrf_dfu_req_handler: Request handling complete. Result: 0x1 app: app_sched_execute dfu.index == dfu.firmware_size background_dfu: state=DFU_DOWNLOAD_FIRMWARE event=DFU_EVENT_TRANSFER_COMPLETE app: state_update BACKGROUND_DFU_WAIT_FOR_RESET or IDLE app: last app_sched_execute before reboot app: Inside main, BOOTLOADER_START_ADDR:000ED000 app: In nrf_bootloader_init nrf_dfu_settings: Calling nrf_dfu_settings_init()... nrf_dfu_flash: Initializing nrf_fstorage_nvmc backend. nrf_dfu_settings: Using settings page. nrf_dfu_settings: Copying forbidden parts from backup page. nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping. nrf_dfu_settings: Backing up settings page to address 0xFE000. nrf_dfu_settings: Writing settings... nrf_dfu_settings: Erasing old settings at: 0x000FE000 nrf_dfu_flash: nrf_fstorage_erase(addr=0x0x000FE000, len=1 pages), queue usage: 0 nrf_dfu_flash: Flash erase success: addr=0x000FE000, pending 0 nrf_dfu_flash: nrf_fstorage_write(addr=0x000FE000, src=0x20007E50, len=896 bytes), queue usage: 1 nrf_dfu_flash: Flash write success: addr=0x000FE000, pending 0 app: Enter nrf_bootloader_fw_activate app: No firmware to activate. nrf_dfu_validation: Signature required. Checking signature. nrf_dfu_validation: Calculating hash (len: 133124) nrf_dfu_validation: Verify signature nrf_dfu_validation: Image verified app: App is valid app: DFU mode requested via GPREGRET. nrf_bootloader_wdt: WDT is not enabled app: in weak nrf_dfu_init_user app: timer_stop (0x20004000) app: timer_activate (0x20004000) app: in weak nrf_dfu_init app: Enter main loop