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

Updating gateway example using DFU (serial)

Hi: I am trying to update the HEX file of gateway example using DFU bootloader(serial),i found that nrf51822 don't run to bootloader after reset, but i flash SD and BL using nRFgo Studio, nrf51822 will run to bootloader after reset . my nrfjprog version is 7.5.0, Please help me regarding this. thanks in advance.

Here are my steps:

>nrfjprog --program s110_softdevice.hex
Parsing hex file.
Checking that the area to write is not protected.
Reading flash area to program to guarantee it is erased.
Programing device.

>nrfjprog --program bootloader_serial_debug_xxAC.hex
Parsing hex file.
Checking that the area to write is not protected.
Reading flash area to program to guarantee it is erased.
Programing device.

>nrfjprog --program example.hex
Parsing hex file.
Checking that the area to write is not protected.
Reading flash area to program to guarantee it is erased.
Programing device.

>nrfjprog --program rbc_gateway_example_serial_blinky_PCA1
0028_nRF51422_xxAC.hex
Parsing hex file.
Checking that the area to write is not protected.
Reading flash area to program to guarantee it is erased.
Programing device.

>nrfjprog --reset
Applying system reset.
Run.

the Jlink RTT Client print message as follow: image description

i flashed SD and BL use nRFgo Stdio , an error accurred when update with serial. the log as fellow:

nrfutil dfu serial -pkg dfu_test.zip -p COM3 -b 115200 --mesh

image description

Related