nrf52840 uart dfu fail

Hi:

I use sdk nRF5_SDK_17.1.0_ddde560. bootloader use examples\dfu\secure_bootloader\pca10056_uart_debug.

It cann't enter the application.

But If I use examples\dfu\secure_bootloader\pca10056_s140_ble_debug.

It can enter the application.

Except for the bootloader, their other applications, dfu_ppublic_key, and softdevice are the same.

Parents Reply Children
  • hi:

    nrfutil settings generate --family NRF52840 --application spectrumWear_v008\EventSystem.hex --application-version 3 --bootloader-version 2 --bl-settings-version 1 middle\settings.hex

    mergehex.exe -m s140_nrf52_7.2.0_softdevice.hex spectrumWear_v008/EventSystem.hex -o middle/sd_app.hex
    
    mergehex.exe -m middle\sd_app.hex spectrumWear_v008/bootloader_uart.hex -o middle/sd_app_boot.hex
    
    mergehex.exe -m middle\sd_app_boot.hex middle/settings.hex -o spectrumWear_v008/spectrumWear_all.hex

    nrfjprog.exe --family NRF52 --eraseall
    nrfjprog.exe --family NRF52 --program spectrumWear_v008\spectrumWear_all.hex
    nrfjprog.exe --family NRF52 --verify spectrumWear_v008\spectrumWear_all.hex
    nrfjprog.exe --reset

    It cannot jump to the application layer.

    bootloader_uart.hexEventSystem.hex2210.s140_nrf52_7.2.0_softdevice.hex

Related