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

Bootloader causes NRF52840 to stop advertising

Hi,

I am trying to program the bootloader for the nrf52840. I am trying to create a settings for the specific hex file, and then programming using the nrfjprog commands. But for some reason, whenever i upload the bootloader on top of the soft device and the program, the device stops advertising.

Here are the commands i am using:

 

nrfutil settings generate --family NRF52840 --application ..\Firmware\version\s140\armgcc\_build\nrf52840_xxaa.hex --application-version 2 --bootloader-version 2 --bl-settings-version 1 settingsV10.hex --no-backup

mergehex -m secure_bootloader\pca10056_ble\armgcc\_build\nrf52840_xxaa_s140.hex settingsV10.hex -o bootloaderV10.hex

nrfjprog --family NRF52 -e
nrfjprog --reset --program ..\..\components\softdevice\s140\hex\s140_nrf52_6.0.0_softdevice.hex --family NRF52 --sectoranduicrerase
nrfjprog --reset --program ..\Firmware\version\s140\armgcc\_build\nrf52840_xxaa.hex --family NRF52 --sectoranduicrerase
nrfjprog --reset --program bootloaderV10.hex --family NRF52 --sectoranduicrerase


Parents Reply Children
Related