Hi,
i am working on nrf52dk . i want to do DFU with BLE can you provide any document link.
Hi,
i am working on nrf52dk . i want to do DFU with BLE can you provide any document link.
i have merged the two hex files "secure bootloader dfu example code" and "softdevice_hex file". programmed it in nrf52dk.
now nrf52dk is advertising "dfuTarg". when i program the device (blinky_ble_code) with nrf mobile app. programming done but nrf52dk is still advertising "dfuTarg".
Hi,
What is the error message? Can you provide the log from the nrf mobile app and secure bootloader debug version?
How do you generate the update package? Please post the command you are using.
-Amanda H.
1.using mergehex to mergehex files
$ mergehex -m C:/Users/techn/Desktop/dfu/secure_bootloader_ble_s132_pca10040.hex C:/Users/techn/Desktop/dfu/s132_nrf52_
7.2.0_softdevice.hex -o C:/Users/techn/Desktop/dfu/bootloader.hex
Parsing input files.
Merging file "secure_bootloader_ble_s132_pca10040.hex" into output.
Merging file "s132_nrf52_7.2.0_softdevice.hex" into output.
Storing merged file.
2.command i am using for dfu pakage generate.
nrfutil pkg generate --hw-version 52 --application-version 1 --application ble_app_blinky_pca10040_s132.hex --sd-req 0x0101 --key-file private.key app_dfu_blinky.zip
Zip created at app_dfu_blinky.zip
Hi,
Please use bootloader debuger version under SDK\nRF5_SDK_17.0.2\examples\dfu\secure_bootloader\pca10040_s132_ble_debug, and provide the log from J-Link RTT Vierwer or Segger.
I would suggest you compile the ble_app_blinky_pca10040_s132 project and test the image under nRF5_SDK_17.0.2\examples\ble_peripheral\ble_app_blinky\pca10040\s132\ses\Output\Release\Exe
-Amanda H.
yes it works with "pca10040_s132_ble_debug". not with "pca10040_s132_ble".