Serial UART DFU Example failture with Received an error: 0x00000004! message.

Hi. I got the message when I download serial dfu using Jlink debugger and nrf Connect desktop.

this is capture from jlink rtt viewer.

I uploaded not modified example what is located in SDK Folder/examples/dfu/secure_dfu_test_images/uart/nrf52832.

SDK Version is 17.1.0 ddde560

How can I execute Serial UART DFU on the nrf52832-QFAA?

Thank you.

  • Hi, 

    Could you please give more information on: 

    - Which hardware board were you testing with ? 

    - What did you flash on the board ? Did you flash the unmodified bootloader ? 

    - Which .zip file did you use to upload ? Could you also provide the script  you used on PC to upload ? Did you use nrfutil or you used nRF Connect Programmer ? 

  • Hi, part number of chip is NRF52832-QFAA

     1. Custom hardware. It is connected with Quectel EC21KL LTE Module. I'm developing FOTA through LTE network.(UART)

    2. Yes. I used unmodified(already compiled) bootloader, softdevice(S132)

    3. I cannot upload anything because it is not working at all. I downloaded only softdevice and bootloader without applications. When I flash the BLE DFU bootloader and softdevice, it was worked. but this time, my device is not working at all(Infinitely rebooting)

  • Hi,

    Please try to test again with the flash erased (nrfjprog --eraseall) . I suspect that there was some artifact from the flash of previous firmware that can cause the issue. 

    Please state the exact bootloader that you flashed on the board.

    Have you tried to compile the bootloader and flash the bootloader you compile ? 

Related