Is there any example for nRF52840 DFU?
Detail steps is better...
I want upgrade my firmware through nRF connect app...
Is there any example for nRF52840 DFU?
Detail steps is better...
I want upgrade my firmware through nRF connect app...
Hi Pony,
Please see the
Example: BLE Secure DFU Bootloader, Buttonless DFU Template Application
Toturial: getting-started-with-nordics-secure-dfu-bootloader
-Amanda H.
Refer to the website links you provided , I added DFU function to my project ,it works .I could upgrade my firmware upon nrf-connect app.
There is another question :
When I directly programed firmware to my borad by MDK-arm, the ble name changed to "DFU-TARG",it seems startup with "bootloader" mode.
How to fix it ?
Thanks a lot.
Hi Pony,
Do you generate bootloader setting and merge bootloader with bootloader_setting.hex as the tutorial?
-Amanda H.
Yes,but MDK Program have no these steps
Hi Pony,
May I know what are the commands you use to generate and flash the images?
You have to download nRF-Command-Line-Tools to generate bootloader_setting and merge the image.
I usually do like this:
mergehex -m softdevice.hex bootloader.hex -o merged_SD_bootloader.hex nrfjprog --program merged_SD_bootloader.hex --chiperase nrfutil settings generate --family NRF52840 --application app.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 settings.hex mergehex -m hrs_app.hex settings.hex -o merged.hex nrfjprog --program merged.hex --sectorerase -r
When you generate the bootloader setting, you should use --family NRF52840 for nRF52840.
-Amanda H.