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

DFU

I want to make a burn file, but I get an error when merging hex files. : “The hex files cannot be merged since there are conflicts.”,When I cancel the compilation of the nrf_dfu_settings.c, the resulting hex can be merged smoothly. So what is the reason? What is the use of this  nrf_dfu_settings.c ?

sdk 12.2

Thanks!!!

Parents
  • Hi,

    Basically the error means that the two hex files contain data for the same memory location. In this case the conflict seems to be with bootloader.hex and app.hex. In order to confirm and investigate further, can you check that if you try to merge those two files only you still get the same error? (I.e. try "mergehex --merge bootloader.hex app.hex --output test.hex")

    In order to investigate further, I would like to have a look at the files themselves. If you cannot share them here on the public forum then please create a private ticket and refer to this case. You can also let me know here and I will find the new (private) case in our systems.

    If I understand things correctly you have based your application on the buttonless DFU example from 12.2. Is that correct? Please note that that example was experimental in SDK 12.2.

    Regards,
    Terje

  • HI

    Can I not use the nrf_dfu_settings.c ? not use the  struct nrf_dfu_settings_t ?

Reply Children
No Data
Related