This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

UART DFU FAIL

Dears:

I test the uart dfu by examples\dfu\secure_bootloader\pca10056_uart

After I enter command like below:

nrfutil dfu serial -pkg Sena_app_uart_s140.zip -p COM5 -b 115200

then there is no response....

My environment is as below:

nRF5_SDK_15.3.0_59ac345, s140_nrf52_6.1.1_softdevice,  keil5, computer os is win7.

I use .bat file to program bin to flash.

::merge bootloader and settings
mergehex.exe --merge bootloader.hex settings.hex --output bl_temp.hex
::merge bootloader, app and softdevice
mergehex.exe --merge bl_temp.hex app.hex s140_nrf52_6.1.1_softdevice.hex --output whole.hex

nrfjprog.exe --eraseall -f NRF52
nrfjprog.exe --program whole.hex --verify -f NRF52
::the following two commands are used to enable PIN RESET
::nrfjprog.exe --memwr 0x10001200 --val 0x00000015 --verify -f NRF52
::nrfjprog.exe --memwr 0x10001204 --val 0x00000015 --verify -f NRF52
nrfjprog.exe --reset -f NRF52

pause

By the way,BLE DFU and USB DFU are both ok on my board.....

Do I need to program mbr.hex??  if so ,how can I get ths file and program.

Related