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

Combining SD, DFU and Application .hex and Programming

Hi guys,

First issue: is that the mergehex.exe fails everytime when trying to Write the merged file. The Error is ERROR: An error occured while writing the file. this has occurred on every attempted combination of SD, DFU and Application.

Second issue: If I try and simply program all three .hex files with nrfjprog.exe I get several warnings. "WARNING: Since the option "--dfu" was not given, the SoftDevice will include UICR settings. Please be aware that Device Firmware Update of the SoftDevice will be possible with these settings." This does not occur if I program the two with nRFgo Studio and I can update the SD just fine.

Third issue: When trying to use nrfjprog.exe the DFU does not detect a valid application. I know this question has been address before, but all references to solutions were based on older code which I don't use. I am using bootloader_util_gcc which is coded differently that bootloader_util_arm. Therefore I don't know how to apply any of the solutions to have the DFU validation the application when programmed.

Related