Hi
I'm trying to get a DFU boot loader working on our own custom hardware. My initial approach was to build secure_bootloader_ble using my own public_key.c file and try to get it running on an nrf52dk before attempting to do so on our own board.
When I build the bootloader in SES and run it I can see the bootloader advertising correctly within nRF Connect running on my iPhone. However when I flash it using nrfjprog it does not seem to be advertising. So I suspect I am not flashing it properly.
I'm using:
SES 4.18
nrfjprog version: 10.8.0
SDK 15.3.0
OS: MacOS 10.14.6
Here are the steps I am taking to flash the bootloader and the soft device:
nrfjprog --family nRF52 --eraseall
nrfjprog -f nrf52 --program s140_nrf52_6.1.1_softdevice.hex --sectorerase
nrfjprog --reset --program secure_bootloader_ble_s140_pca10056.hex --family NRF52 --sectoranduicrerase
nrfjprog -f nrf52 --reset
What am I missing or doing wrong?
Thanks