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

Tool for generating binary of dfu with real size

Hi!

I would like to generate a dfu bootloader binary image that is not too big and I found the work around for the issue here: https://github.com/NordicSemiconductor/Android-nRF-Connect/blob/master/init%20packet%20handling/How%20to%20generate%20the%20INIT%20file%20for%20DFU.pdf

Is there a nordic tool or a compiler flag or something like that for this or do I really need the remove the 2 lines from the hex file manually?

Why is this offset in the bin file of the dfu but not in the one of the normal applications? Since they also have an offset from the beginning of the flash region, due to the softdevice.

Thanks!

Related