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!

Parents
  • Hi Sonja, 


    Could you let us know which SDK you are using ? 

    The tutorial you pointed to is very old and most parts are obsoleted. Have you tried to follow the documentation ? Or follow my step by step guide here

    Note that in current SDK we don't need to generate binary file, just the hex file is enough. The nrfutil.exe tool can do the task to generate .zip package file. 

Reply
  • Hi Sonja, 


    Could you let us know which SDK you are using ? 

    The tutorial you pointed to is very old and most parts are obsoleted. Have you tried to follow the documentation ? Or follow my step by step guide here

    Note that in current SDK we don't need to generate binary file, just the hex file is enough. The nrfutil.exe tool can do the task to generate .zip package file. 

Children
Related