This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to prepare single hex file for batch runs?

I am running into the exact same issue described here:

https://devzone.nordicsemi.com/f/nordic-q-a/53693/how-to-flash-application-after-dfu-bootloader/217434#217434

Basically I'm looking to combine the Softdevice, Bootloader, and Application into a single hex file however I still go straight to DFUTarg mode like the above issue describes. 

Currently the release package builder does work after a DFU:

nrfutil pkg generate --application ..\Client_build\Client_nrf52833_xxAA_s140_7.2.0.hex --application-version 1 --hw-version 52 --sd-req 0x0100 --key-file ..\Bootloader\lpn_private_key.pem BLE_firmware.zip

However it'd be awesome to have a single file that does all of the above like I described.

From here I tried the bootloader settings fix:

https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/common-faqs-on-dfu

nrfjprog --memwr 0x7F000 --val 1

(This is for the 833)

Still no luck as a single file.

Thanks!

Parents Reply Children
No Data
Related