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

Flash Bootloader, SoftDevice and Application

Hi

I am trying to flash the device with the bootloader, the soft device and the application, because I do not want do the OTA update at production.

I used the following example: https://github.com/gamnes/nRF52832-buttonless-dfu-development-tutorial

SET S132=s140_nrf52_7.0.1_softdevice.hex
SET BOOTLOADER=bootloader.hex
SET APP=app.hex

echo "## Merging S132 and bootloader, then flashing it to nRF52-DK"
mergehex -m %S132% %BOOTLOADER% -o merged_SD_bootloader.hex

mergehex -m merged_SD_bootloader.hex %APP% -o merged_SD_bootloader_app.hex
nrfjprog --program merged_SD_bootloader_app.hex --chiperase

but the application does not work. Is there a way to do this?

Do I need to encrypt the application hex?

Thanks,

Werner

Parents Reply Children
No Data
Related