I tried following your instructions with my ARM host connected to the MIMEW board so I decided to flash the bootloader directly to the Nordic SDK and use Jimmy Wong's C++ program by the SDK's USB interface.
I also did not succeed.
Here is what I did.
Thanks You.
1) Bootloader
a) Copied pca10056_uart_debug_266089 zip to E:\Nordic\nRF5_SDK_17.0.2_d674dde\examples\dfu\secure_bootloader
b) Cleared button and hardware flow control
//==========================================================
// <e> NRF_BL_DFU_ENTER_METHOD_BUTTON - Enter DFU mode on button press.
//==========================================================
#ifndef NRF_BL_DFU_ENTER_METHOD_BUTTON
#define NRF_BL_DFU_ENTER_METHOD_BUTTON 0
#endif
// <o> NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN - Button for entering DFU mode.
//==========================================================
// <q> NRF_DFU_SERIAL_UART_USES_HWFC - HWFC configuration
#ifndef NRF_DFU_SERIAL_UART_USES_HWFC
#define NRF_DFU_SERIAL_UART_USES_HWFC 0
#endif
c) Added to Preprocessor
RX_PIN_NUMBER=8
TX_PIN_NUMBER=6
CTS_PIN_NUMBER=7
RTS_PIN_NUMBER=5
d) Remarked as no leds
static void dfu_observer(nrf_dfu_evt_type_t evt_type)
{
switch (evt_type)
{
case NRF_DFU_EVT_DFU_FAILED:
case NRF_DFU_EVT_DFU_ABORTED:
case NRF_DFU_EVT_DFU_INITIALIZED:
#if LEDS_NUMBER > 0
bsp_board_init(BSP_INIT_LEDS);
bsp_board_led_on(BSP_BOARD_LED_0);
bsp_board_led_on(BSP_BOARD_LED_1);
bsp_board_led_off(BSP_BOARD_LED_2);
#endif
break;
case NRF_DFU_EVT_TRANSPORT_ACTIVATED:
#if LEDS_NUMBER > 0
bsp_board_led_off(BSP_BOARD_LED_1);
bsp_board_led_on(BSP_BOARD_LED_2);
#endif
break;
case NRF_DFU_EVT_DFU_STARTED:
break;
default:
break;
}
}
e) Flashed the built secure_bootloader_uart_mbr_pca10056_debug.hex and s140_nrf52_7.2.0_softdevice.hex (for my program use).
Now the DFU bootloader runs since there is no application.
2) Build my application package app_dfu_package.zip
nrfutil pkg generate --hw-version 52 --application-version 1 --application E:\Projects\Nordic\alfa_laval_gateway\pca10056\s140\ses\Output\Debug\Exe\alfa_laval_gateway_pca10056_s140.hex --sd-req 0x0100 --key-file E:\Projects\Nordic\alfalval_gateway_keys\priv.pem E:\Projects\Nordic\AlfaLavalFlashfiles\app_dfu_package.zip
pause
3) I built Jimmy Wong's c++ program that my ARM host's code is built upon and ran it on my PC connected to the Nordic SDK, since something might have gotten messed up in my conversion code.
In the end I will perform an application update recived by a cellular modem on our ARM host and update the MIMEW board serially.
Jimmy's C++ program also failed when trying to program the data part before it sends the application code.
In dfu_serial_execute_obj() the dfu_serial_get_rsp() returns an error.
jimmywongbluetooth.wordpress.com/.../
Sending Application image.
SLIP: --> [9, 1]
SLIP: <-- [96, 9, 1, 1]
Set Packet Receipt Notification 0
SLIP: --> [2, 0, 0]
SLIP: <-- [96, 2, 1]
SLIP: --> [7]
SLIP: <-- [96, 7, 1, 131, 0]
Sending init packet...
Selecting Object: type:1
SLIP: --> [6, 1]
SLIP: <-- [96, 6, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Object selected: max_size:512 offset:0 crc:0x00000000
SLIP: --> [1, 1, 141, 0, 0, 0]
SLIP: <-- [96, 1, 1]
Streaming Data: len:141 offset:0 crc:0x00000000
SLIP: --> [8, 18, 138, 1, 10, 68, 8, 1, 18, 64, 8, 1, 16, 52, 26, 2, 128, 2, 32, 0, 40, 0, 48, 0, 56, 140, 175, 9, 66, 36, 8, 3, 18, 32, 212, 176, 254, 147, 100, 224, 60, 28, 43, 210, 13, 155, 200, 58, 136, 167, 98, 55, 196, 194, 68, 233, 177, 134, 127, 163, 183, 171, 47, 30, 252]
SLIP: --> [8, 147, 72, 0, 82, 4, 8, 1, 18, 0, 16, 0, 26, 64, 191, 204, 125, 154, 71, 87, 252, 12, 223, 86, 90, 21, 50, 67, 33, 114, 149, 210, 212, 134, 102, 233, 32, 13, 115, 212, 214, 80, 143, 187, 128, 2, 123, 76, 156, 183, 137, 129, 62, 134, 1, 75, 75, 0, 130, 172, 198, 62, 157, 235, 79]
SLIP: --> [8, 192, 112, 57, 190, 116, 143, 0, 214, 130, 56, 229, 181, 185]
SLIP: --> [3]
SLIP: <-- [96, 3, 1, 141, 0, 0, 0, 115, 111, 140, 185]
SLIP: --> [4]
SLIP: <-- [96, 4, 5]
Bad result code (0x5)!
E:\Nordic\nRF5_SDK_17.0.2_d674dde\examples\nrf-slim-serial-uart-dfu-host-c-code-master\Debug\UartSecureDFU.exe (process 21456) exited with code 1.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .
Hi,
You are using the USB interface and run on the UART bootloader , right?
On the UART, it used the 64bytes payload.

if you use the USB, the size would be changed on both side.
Shalom!
I used your nrf-slim-serial-uart-dfu-host-c-code c++ code. I do not see the RX_BUF_SIZE define. There are:
#define UART_SLIP_SIZE_MAX 128
#define UART_SLIP_BUFF_SIZE (UART_SLIP_SIZE_MAX * 2 + 1)
Should I try to change this to 64?
I converted the C++ code to C code on my ARM processor host by way of its uart at 115,200BPS. I may have a problem somewhere but I can ping and communicate with the bootloader. It just replies with an error code after sending the 141 dat part of the app_dfu_package.zip file saying that the offset and the CRC are wrong.
I also tried to run the bootloader on the nRF52840-DK using the nrf-slim-serial-uart-dfu-host-c-code c++ project code compiled by Visual Studio but also got errors.
Do you have any tips on how I can advance on this?
Our customer of course as always, is waiting.
Is there bootloader documentation that I can look at with error codes?
Can I see what is happening by running the bootloader in the debugger?
Where should I set break points?
tThank you
David Kaplan
Shalom!
I added back in the bytes on the wire debug from your code using my ARM host with uart to the MIMEW board running the bootloader that AMANDA sent me (uart_data_to_buff with logger_buff).
I do not know what I missed.
I can see that the ARM is sending the dat object from your enum
NRF_DFU_OP_OBJECT_WRITE = 0x08, //!< Write selected object.
and that the bootloader is replying with
NRF_DFU_RES_CODE_INVALID_OBJECT = 0x05, //!< Data object does not match the firmware and hardware requirements, the signature is wrong, or parsing the command failed.
I think something is wrong with the creation of the packet.
I use the following script:
nrfutil pkg generate --hw-version 52 --application-version 1 --application app_pca10056_s140.hex --sd-req 0x0100 --key-file priv.pem app_dfu_package.zip
I generated my key and added the public key to the bootloader.
REM # Generate a private key in E:\Projects\Nordic\keys\priv.pem
nrfutil keys generate E:\Projects\Nordic\keys\priv.pem
REM # Display the generated private key (in little-endian format)
nrfutil keys display --key sk --format hex E:\Projects\Nordic\keys\priv.pem
REM # Display the public key that corresponds to the generated private key
REM # (in little-endian format)
nrfutil keys display --key pk --format hex E:\Projects\Nordic\keys\priv.pem
REM # Display the public key that corresponds to the generated private key
REM # (in code format to be used with DFU)
nrfutil keys display --key pk --format code E:\Projects\Nordic\keys\priv.pem
REM # Write the public key that corresponds to the generated private key
REM # to the file public_key.c (in code format)
nrfutil keys display --key pk --format code E:\Projects\Nordic\keys\priv.pem --out_file public_key.c
This is my debug output on my ARM host:
18/03/2021 08:04:27[dfu_serial.c: 201] SLIP: --> [9, 1]
18/03/2021 08:04:27[dfu_serial.c: 216] SLIP: <-- [96, 9, 1, 1]
18/03/2021 08:04:27[dfu_serial.c: 281] Set Packet Receipt Notification 0
18/03/2021 08:04:27[dfu_serial.c: 201] SLIP: --> [2, 0, 0]
18/03/2021 08:04:27[dfu_serial.c: 216] SLIP: <-- [96, 2, 1]
18/03/2021 08:04:27[dfu_serial.c: 201] SLIP: --> [7]
18/03/2021 08:04:27[dfu_serial.c: 216] SLIP: <-- [96, 7, 1, 131, 0]
18/03/2021 08:04:27[dfu_serial.c: 658] Sending init packet...
18/03/2021 08:04:27[dfu_serial.c: 334] Selecting Object: type:1
18/03/2021 08:04:27[dfu_serial.c: 201] SLIP: --> [6, 1]
18/03/2021 08:04:27[dfu_serial.c: 216] SLIP: <-- [96, 6, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
18/03/2021 08:04:27[dfu_serial.c: 353] Object selected: max_size:512 offset:0 crc:0x00000000
18/03/2021 08:04:27[dfu_serial.c: 201] SLIP: --> [1, 1, 141, 0, 0, 0]
18/03/2021 08:04:27[dfu_serial.c: 216] SLIP: <-- [96, 1, 1]
18/03/2021 08:04:27[dfu_serial.c: 479] Streaming Data: len:141 offset:0 crc:0x00000000
18/03/2021 08:04:27[dfu_serial.c: 201] SLIP: --> [8, 18, 138, 1, 10, 68, 8, 1, 18, 64, 8, 1, 16, 52, 26, 2, 128, 2, 32, 0, 40, 0, 48, 0, 56, 172, 176, 9, 66, 3
18/03/2021 08:04:27[dfu_serial.c: 201] SLIP: --> [8, 149, 72, 0, 82, 4, 8, 1, 18, 0, 16, 0, 26, 64, 233, 165, 75, 205, 210, 244, 117, 73, 136, 125, 228, 33, 23
18/03/2021 08:04:27[dfu_serial.c: 201] SLIP: --> [8, 44, 221, 86, 18, 186, 11, 160, 235, 13, 164, 6, 164, 247]
18/03/2021 08:04:27[dfu_serial.c: 201] SLIP: --> [3]
18/03/2021 08:04:27[dfu_serial.c: 216] SLIP: <-- [96, 3, 1, 141, 0, 0, 0, 19, 235, 178, 0]
18/03/2021 08:04:27[dfu_serial.c: 201] SLIP: --> [4]
18/03/2021 08:04:27[dfu_serial.c: 216] SLIP: <-- [96, 4, 5]
18/03/2021 08:04:27[dfu_serial.c: 231] Bad result code (0x5)!
Any help would be appreciated.
David Kaplan
J-Link - Web control panel [RTT]
General
Settings
Breakpoints
RTT
Log
CPU Regs
Target Power
SWV
RAWTrace
STrace
LiveTrace
Flash
Commander
Help
Status & Settings
Control block address:
(0 == Auto-detection)
Status:
Data rate:
Total received:
Buffered:
Target -> Host
Show data for channel:
<info> app: Inside main
<debug> app: In nrf_bootloader_init
<debug> nrf_dfu_settings: Calling nrf_dfu_settings_init()...
<debug> nrf_dfu_flash: Initializing nrf_fstorage_nvmc backend.
<debug> nrf_dfu_settings: Using settings page.
<debug> nrf_dfu_settings: Copying forbidden parts from backup page.
<debug> nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.
<info> nrf_dfu_settings: Backing up settings page to address 0xFE000.
<debug> nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.
<debug> app: Enter nrf_bootloader_fw_activate
<info> app: No firmware to activate.
<info> app: Boot validation failed. No valid app to boot.
<debug> app: DFU mode because app is not valid.
<info> nrf_bootloader_wdt: WDT is not enabled
<debug> app: in weak nrf_dfu_init_user
<debug> app: timer_stop (0x20000024)
<debug> app: timer_activate (0x20000024)
<info> app: Entering DFU mode.
<debug> app: Initializing transports (found: 1)
<debug> nrf_dfu_serial_uart: serial_dfu_transport_init()
<debug> nrf_dfu_serial_uart: serial_dfu_transport_init() completed
<debug> nrf_dfu_flash: Initializing nrf_fstorage_nvmc backend.
<debug> app: Enter main loop
<debug> nrf_dfu_serial: Received ping 2
<info> nrf_dfu_serial_uart: Allocated buffer 20002784
<debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_PING
<debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1
<debug> nrf_dfu_serial: Sending Response: [0x9, 0x1]
<debug> nrf_dfu_serial: Set receipt notif target: 0
<info> nrf_dfu_serial_uart: Allocated buffer 20002784
<debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_RECEIPT_NOTIF_SET
<debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1
<debug> nrf_dfu_serial: Sending Response: [0x2, 0x1]
<debug> nrf_dfu_serial: Received serial mtu
<info> nrf_dfu_serial_uart: Allocated buffer 20002784
<debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_MTU_GET
<debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1
<debug> nrf_dfu_serial: Sending Response: [0x7, 0x1]
<info> nrf_dfu_serial_uart: Allocated buffer 20002784
<debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_SELECT (command)
<debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1
<debug> nrf_dfu_serial: Sending Response: [0x6, 0x1]
<debug> app: Shutting down transports (found: 1)
<info> nrf_dfu_serial_uart: Allocated buffer 20002784
<debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_CREATE (command)
<debug> app: timer_stop (0x20000024)
<debug> app: timer_activate (0x20000024)
<debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1
<debug> nrf_dfu_serial: Sending Response: [0x1, 0x1]
<info> nrf_dfu_serial_uart: Allocated buffer 20002808
<debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (command)
<debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1
<info> nrf_dfu_serial_uart: Allocated buffer 20002784
<debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (command)
<debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1
<info> nrf_dfu_serial_uart: Allocated buffer 20002808
<debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (command)
<debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1
<info> nrf_dfu_serial_uart: Allocated buffer 20002808
<debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_CRC_GET (command)
<debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1
<debug> nrf_dfu_serial: Sending Response: [0x3, 0x1]
<info> nrf_dfu_serial_uart: Allocated buffer 20002808
<debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_EXECUTE (command)
<debug> nrf_dfu_validation: PB: Init packet data len: 66
<info> nrf_dfu_validation: Signature required. Checking signature.
<info> nrf_dfu_validation: Calculating hash (len: 66)
<info> nrf_dfu_validation: Verify signature
<error> nrf_dfu_validation: Signature failed (err_code: 0x8542)
<debug> nrf_dfu_validation: Signature:
<debug> nrf_dfu_validation: 63 5A E4 21 FA CA 7B 6F|cZ.!..{o
<debug> nrf_dfu_validation: 60 66 FF 66 A4 3D AE 1D|`f.f.=..
<debug> nrf_dfu_validation: 7B C9 C4 FC A8 1B EB B2|{.......
<debug> nrf_dfu_validation: 3F D6 3F DD EF C0 77 D8|?.?...w.
<debug> nrf_dfu_validation: 8A 67 1E 31 97 86 7E 40|.g.1..~@
<debug> nrf_dfu_validation: 8C CB 7A 1A E0 00 BA C6|..z.....
<debug> nrf_dfu_validation: C9 8C A1 F6 75 7A 49 47|....uzIG
<debug> nrf_dfu_validation: AE 70 A6 43 67 A8 EF EC|.p.Cg...
<debug> nrf_dfu_validation: Hash:
<debug> nrf_dfu_validation: 41 BC A1 D5 5C CA D1 3C|A...\..<
<debug> nrf_dfu_validation: F4 D3 38 BB 2D 4E 78 18|..8.-Nx.
<debug> nrf_dfu_validation: 8E 07 2A 96 2A 6C 23 81|..*.*l#.
<debug> nrf_dfu_validation: 25 B9 92 3C 06 4D 5A 78|%..<.MZx
<debug> nrf_dfu_validation: Public Key:
<debug> nrf_dfu_validation: 31 3B 27 BA 4A 84 39 E5|1;'.J.9.
<debug> nrf_dfu_validation: 09 73 89 FC 6E 66 C4 AA| s..nf..
<debug> nrf_dfu_validation: B5 9F 8E 4D 66 CD C7 EF|...Mf...
<debug> nrf_dfu_validation: 2F 22 FD 1E CC E1 5C 6D|/"....\m
<debug> nrf_dfu_validation: 81 03 9C 52 25 F3 03 1F|...R%...
<debug> nrf_dfu_validation: 9F 6C 0C 27 6F 9A F3 AA|.l.'o...
<debug> nrf_dfu_validation: B0 FD 54 22 4D C6 D8 05|..T"M...
<debug> nrf_dfu_validation: 90 9F 57 13 37 32 B3 01|..W.72..
<warning> nrf_dfu_validation: Prevalidation failed.
<debug> nrf_dfu_validation: Init command:
<debug> nrf_dfu_validation: 08 01 10 E1 9C 03 1A 02|........
<debug> nrf_dfu_validation: 80 02 20 00 28 00 30 00|.. .(.0.
<debug> nrf_dfu_validation: 38 CC A2 05 42 24 08 03|8...B$..
<debug> nrf_dfu_validation: 12 20 77 84 3B E1 FB FB|. w.;...
<debug> nrf_dfu_validation: 98 F0 04 BC 7A 6E 92 54|....zn.T
<debug> nrf_dfu_validation: 2C C1 10 22 D1 BE B8 0C|,.."....
<debug> nrf_dfu_validation: 86 03 4B E4 58 9A FD 99|..K.X...
<debug> nrf_dfu_validation: E0 7D 48 00 52 04 08 01|.}H.R...
<debug> nrf_dfu_validation: 12 00 |..
<debug> nrf_dfu_req_handler: Request handling complete. Result: 0x5
<warning> nrf_dfu_serial: DFU request completed with result: 0x5
<debug> nrf_dfu_serial: Sending Response: [0x4, 0x5]
Host -> Target
Send CR on <Return>
Send LF on <Return>
SEGGER Microcontroller GmbH || www.segger.com
I added the bootloader running in debug mode's RTT JLINK lopg.
Thanks
Hi David,
I see this <error> nrf_dfu_validation: Signature failed (err_code: 0x8542). You are likely missing some configuration settings to enable hashing in SW.
uECC does not implement hash functions, so you need to use the nrf hash implementation.
I don't see why you would want to use uECC when HW accelerated crypto is available, but if you really want to use uECC, you can compare the configuration settings for an nrf52832 project or the file in this post that uses this backend by default.
-Amanda H.
Hi David,
I see this <error> nrf_dfu_validation: Signature failed (err_code: 0x8542). You are likely missing some configuration settings to enable hashing in SW.
uECC does not implement hash functions, so you need to use the nrf hash implementation.
I don't see why you would want to use uECC when HW accelerated crypto is available, but if you really want to use uECC, you can compare the configuration settings for an nrf52832 project or the file in this post that uses this backend by default.
-Amanda H.
Shalom!
I do not need to use uECC if it is not the best way. If you say the other way has hardware acceleration it makes no sense not to use!
If I do not use uECC how can I change the pca10056_uart_debug_266089 project to work without it?
In the project I have both enabled.
#ifndef NRF_CRYPTO_BACKEND_NRF_SW_ENABLED
#define NRF_CRYPTO_BACKEND_NRF_SW_ENABLED 1
#endif
#ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED
#define NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED 1
#endif
What do I need to do to get the SDK pca10056_uart_debug proecjt to work without uECC (defines)?
I thought I read that I need to change the start address in my application, is this true and how.
Thank you very much
Rever back to the default setting:
disable NRF_CRYPTO_BACKEND_NRF_SW_ENABLED (0) and NRF_CRYPTO_BACKEND_NRF_SW_ENABLED (0), and enable NRF_CRYPTO_BACKEND_CC310_BL_ENABLED (1).
Let me know that can fix the error or not. Thanks.
-Amanda H.
I changed the defines not to use uECC and got passed sending the x.dat part of the update.
Do I need to change the starting or other addresses in my Application to work with the non-uECC secure bootloader?
I got from my host debug something that the offset and CRC are not correct.
It looks like I have a bug in my code that I will now check as it seems that the program code sent is all 0xFFs.
18/03/2021 14:31:36[dfu_serial.c: 216] SLIP: <-- [96, 3, 1, 0, 16, 1, 0, 234, 100, 197, 116]
18/03/2021 14:31:36[dfu_serial.c: 494] Invalid offset (65536 -> 69632)!
18/03/2021 14:31:36[dfu_serial.c: 500] Invalid CRC (0x34EF5950 -> 0x74C564EA)!
Thank you
ARM host 18/03/2021 14:31:32[dfu_serial.c: 201] SLIP: --> [9, 5] 18/03/2021 14:31:32[dfu_serial.c: 216] SLIP: <-- [96, 43, 2] 18/03/2021 14:31:32[dfu_serial.c: 238] Invalid response! 18/03/2021 14:31:34[ami_io.c:1141] ADC 2778 0 1 0 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [9, 6] 18/03/2021 14:31:36[dfu_serial.c: 216] SLIP: <-- [96, 9, 1, 6] 18/03/2021 14:31:36[dfu_serial.c: 281] Set Packet Receipt Notification 0 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [2, 0, 0] 18/03/2021 14:31:36[dfu_serial.c: 216] SLIP: <-- [96, 2, 1] 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [7] 18/03/2021 14:31:36[dfu_serial.c: 216] SLIP: <-- [96, 7, 1, 131, 0] 18/03/2021 14:31:36[dfu_serial.c: 658] Sending init packet... 18/03/2021 14:31:36[dfu_serial.c: 334] Selecting Object: type:1 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [6, 1] 18/03/2021 14:31:36[dfu_serial.c: 216] SLIP: <-- [96, 6, 1, 0, 2, 0, 0, 141, 0, 0, 0, 173, 88, 200, 169] 18/03/2021 14:31:36[dfu_serial.c: 353] Object selected: max_size:512 offset:141 crc:0xA9C858AD 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [4] 18/03/2021 14:31:36[dfu_serial.c: 216] SLIP: <-- [96, 4, 1] 18/03/2021 14:31:36[dfu_serial.c: 717] Sending firmware file... 18/03/2021 14:31:36[dfu_serial.c: 334] Selecting Object: type:2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [6, 2] 18/03/2021 14:31:36[dfu_serial.c: 216] SLIP: <-- [96, 6, 1, 0, 16, 0, 0, 0, 0, 1, 0, 254, 81, 122, 123] 18/03/2021 14:31:36[dfu_serial.c: 353] Object selected: max_size:4096 offset:65536 crc:0x7B7A51FE 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [1, 2, 0, 16, 0, 0] 18/03/2021 14:31:36[dfu_serial.c: 216] SLIP: <-- [96, 1, 1] 18/03/2021 14:31:36[dfu_serial.c: 479] Streaming Data: len:4096 offset:61440 crc:0x1F227120 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [8, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 2 18/03/2021 14:31:36[dfu_serial.c: 201] SLIP: --> [3] 18/03/2021 14:31:36[dfu_serial.c: 216] SLIP: <-- [96, 3, 1, 0, 16, 1, 0, 234, 100, 197, 116] 18/03/2021 14:31:36[dfu_serial.c: 494] Invalid offset (65536 -> 69632)! 18/03/2021 14:31:36[dfu_serial.c: 500] Invalid CRC (0x34EF5950 -> 0x74C564EA)! =============================================== RTT J-Link - Web control panel [RTT] General Settings Breakpoints RTT Log CPU Regs Target Power SWV RAWTrace STrace LiveTrace Flash Commander Help Status & Settings Control block address: (0 == Auto-detection) Status: Data rate: Total received: Buffered: Target -> Host Show data for channel: <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <info> nrf_dfu_req_handler: Invalid opcode received: 0x2B. <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x2 <warning> nrf_dfu_serial: DFU request completed with result: 0x2 <debug> nrf_dfu_serial: Sending Response: [0x2B, 0x2] <debug> nrf_dfu_serial: Received ping 6 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_PING <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <debug> nrf_dfu_serial: Sending Response: [0x9, 0x1] <debug> nrf_dfu_serial: Set receipt notif target: 0 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_RECEIPT_NOTIF_SET <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <debug> nrf_dfu_serial: Sending Response: [0x2, 0x1] <debug> nrf_dfu_serial: Received serial mtu <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_MTU_GET <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <debug> nrf_dfu_serial: Sending Response: [0x7, 0x1] <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_SELECT (command) <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <debug> nrf_dfu_serial: Sending Response: [0x6, 0x1] <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_EXECUTE (command) <debug> nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping. <info> nrf_dfu_settings: Backing up settings page to address 0xFE000. <debug> nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping. <debug> nrf_dfu_req_handler: Writing valid init command to flash. <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <debug> nrf_dfu_serial: Sending Response: [0x4, 0x1] <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_SELECT (data) <debug> nrf_dfu_req_handler: crc = 0x7B7A51FE, offset = 0x10000, max_size = 0x1000 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <debug> nrf_dfu_serial: Sending Response: [0x6, 0x1] <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_CREATE (data) <debug> nrf_dfu_flash: nrf_fstorage_erase(addr=0x0x00037000, len=1 pages), queue usage: 0 <debug> nrf_dfu_flash: Flash erase success: addr=0x00037000, pending 0 <debug> nrf_dfu_req_handler: Creating object with size: 4096. Offset: 0x00010000, CRC: 0x7B7A51FE <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <debug> nrf_dfu_serial: Sending Response: [0x1, 0x1] <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037000, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037000, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037040, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037040, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037080, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037080, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x000370C0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x000370C0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037100, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037100, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037140, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037140, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037180, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037180, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x000371C0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x000371C0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037200, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037200, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037240, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037240, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037280, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037280, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x000372C0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x000372C0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037300, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037300, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037340, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037340, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037380, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037380, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x000373C0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x000373C0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037400, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037400, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037440, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037440, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037480, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037480, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x000374C0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x000374C0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037500, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037500, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037540, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037540, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037580, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037580, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x000375C0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x000375C0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037600, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037600, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037640, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037640, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037680, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037680, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x000376C0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x000376C0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037700, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037700, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037740, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037740, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037780, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037780, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x000377C0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x000377C0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037800, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037800, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037840, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037840, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037880, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037880, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x000378C0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x000378C0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037900, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037900, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037940, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037940, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037980, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037980, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x000379C0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x000379C0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037A00, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037A00, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037A40, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037A40, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037A80, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037A80, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037AC0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037AC0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037B00, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037B00, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037B40, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037B40, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037B80, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037B80, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037BC0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037BC0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037C00, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037C00, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037C40, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037C40, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037C80, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037C80, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037CC0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037CC0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037D00, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037D00, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037D40, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037D40, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037D80, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037D80, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037DC0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037DC0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037E00, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037E00, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037E40, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037E40, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037E80, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037E80, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037EC0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037EC0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037F00, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037F00, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037F40, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037F40, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 2000380C <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037F80, src=0x2000378C, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037F80, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_WRITE (data) <debug> nrf_dfu_flash: nrf_fstorage_write(addr=0x00037FC0, src=0x20003810, len=64 bytes), queue usage: 1 <debug> nrf_dfu_flash: Flash write success: addr=0x00037FC0, pending 0 <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <info> nrf_dfu_serial_uart: Allocated buffer 20003788 <debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_CRC_GET (data) <debug> nrf_dfu_req_handler: Offset:69632, CRC:0x74C564EA <debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1 <debug> nrf_dfu_serial: Sending Response: [0x3, 0x1] <debug> app: timer_stop (0x20000024) <debug> app: : Initializing nrf_fstorage_nvmc backend. <debug> nrf_dfu_settings: Using settings page. <debug> nrf_dfu_settings: Copying forbidden parts from backup page. <debug> nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping. <info> nrf_dfu_settings: Backing up settings page to address 0xFE000. <debug> nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping. <debug> app: Enter nrf_bootloader_fw_activate <info> app: No firmware to activate. <info> app: Boot validation failed. No valid app to boot. <debug> app: DFU mode because app is not valid. <info> nrf_bootloader_wdt: WDT is not enabled <debug> app: in weak nrf_dfu_init_user <debug> app: timer_stop (0x20000024) <debug> app: timer_activate (0x20000024) <info> app: Entering DFU mode. <debug> app: Initializing transports (found: 1) <debug> nrf_dfu_serial_uart: serial_dfu_transport_init() <debug> nrf_dfu_serial_uart: serial_dfu_transport_init() completed <debug> nrf_dfu_flash: Initializing nrf_fstorage_nvmc backend. <debug> nrf_dfu_validation: PB: Init packet data len: 64 <debug> app: Enter main loop Host -> Target Send CR on <Return> Send LF on <Return> SEGGER Microcontroller GmbH || www.segger.com
Shalom!
I am advancing it seems. This is my last log till next week as we work Sunday through Thursday.
My host debug:
18/03/2021 15:30:26[dfu_serial.c: 216] SLIP: <-- [96, 3, 1, 0, 0, 1, 0, 45, 33, 232, 235]
18/03/2021 15:30:26[dfu_serial.c: 201] SLIP: --> [4]
18/03/2021 15:30:26[dfu_serial.c: 216] SLIP: <-- [96, 4, 1]
18/03/2021 15:30:26[dfu_serial.c: 201] SLIP: --> [1, 2, 0, 16, 0, 0]
18/03/2021 15:30:26[dfu_serial.c: 216] SLIP: <-- [96, 1, 1]
18/03/2021 15:30:26[dfu_serial.c: 479] Streaming Data: len:4096 offset:65536 crc:0xEBE82
The RTT:
<info> nrf_dfu_serial_uart: Allocated buffer 20003788
<debug> nrf_dfu_req_handler: Handle NRF_DFU_OP_OBJECT_CREATE (data)
<debug> nrf_dfu_flash: nrf_fstorage_erase(addr=0x0x00037000, len=1 pages), queue usage: 1
<debug> nrf_dfu_flash: Flash erase success: addr=0x00037000, pending 0
<debug> nrf_dfu_req_handler: Creating object with size: 4096. Offset: 0x00010000, CRC: 0xEBE8212D
<debug> nrf_dfu_req_handler: Request handling complete. Result: 0x1
<debug> nrf_dfu_serial: Sending Response: [0x1, 0x1]
Thank you and have a good week end
David Kaplan
Hi David,
Not sure the problem is in the bootloader or the host. Are you able to test the bootloader and application without updating via ARM host? To make sure this part can work without issue.
You could upload the application by entering the following command to start the DFU process over the serial link, where package.zip is the name of the firmware package that you want to upload and COM_PORT is the COM port to which the device is connected:nrfutil dfu serial -pkg package.zip -p COM_PORT for UART transport
Do you see any error from the RTT log? Could the nRF52840 boot up to the new application after updating?
-Amanda H.