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

Program problem when using mergehex

Hi Nordic support team,

I used mergehex to merge the hex files of Softdevice, Secure Bootloader (nRF5_SDK_15.2.0_9412b96\examples\dfu\secure_bootloader\pca10056_ble) and my Application. I used the release version of the Secure Bootloader and I also put my generated secure key in the dfu_public_key.c file. I checked the starting flash addresses and they are also match to the linker. I named the output hex fw52840.hex.

When I downloaded the fw52840.hex to the nRF52840, the bootloader started up instead of the application. I tried resetting the chip several times but it still start up with the bootloader. Can you help me with some documentation or explanation about my problem? Is it because of my wrong configuration? The programs runs as expected when downloading the application using DFU.

Thank you and best regards,

      Duy

Parents Reply Children
Related