This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

some of hex files have overlapping data in nrf connect

I have been using nrf52833 Devkit with softdevice nRF5_SDK_17.0.2_d674dde have nrfconnect v3.6.1 when i merge hex file of softdevice 140 + ble_app_template then the following error occur as some of hex files have overlapping data in nrf connect.  I have tried to adjust the RAM address and size also but same error occur.please suggest me how to resolve the problem.

  • Hi Einar,

    I did use the "mergehex -- version" command to double check which version of the nRF Command Line Tools I actually got and the response to this command was: mergehex version: 10.12.2.

    Jacek

  • Hi Jacek,

    I see. Can you share the hex files you used as input as well as the resulting output file? You can create a private ticket for it if you do not want to share them on this public forum.

    Einar

  • Hi Einar,

    Herewith are the two hex files that I used as an input:

    nrf9160dk_asset_tracker_ltem_2021-03-01_8e8c6089.hexnrf9160dk_asset_tracker_nbiot_2021-03-01_8e8c6089.hex

    but I can't see any resulting output file.

    I attach a relevant screen shot:

    Screen shot.docx

    Jacek

  • Hi Jacek,

    I am not sure I understand. The question here is about mergehex generating invalid outpuf files, right? Then i would need to know how you reproduce the issue, which files you merge (input to mergehex) and the output.

  • Hi Einar,

    The problem is that I can't complete the process of updating the application firmware for my new nRF9160 DK, which I need to complete before I can start using this unit.

    I was following the following steps, as per the instruction:

    1. I did download the latest nRF9160 DK Application and Modem firmware from the "nRF9160 DK Downloads" page and extracted it to a folder on my PC.

    2. I opened the "nRF Connect for Desktop" and I launched "nRF Connect Programmer".

    3. I set the Prog/Debug (SW5) on the nRF9160 DK to nRF91, as instructed.

    4. I did connect the nRF9160 DK to my PC and I turned it on. I saw that in the Navigation Bar "No Devices available" changed to " Select Device".

    5. I clicked "Select Device" and I selected my device from the dropdown list. I identified the nRF91605611.nrf9160dk_asset_tracker_ltem_2021-03-01_8e8c6089.hex DK by the fact that it had 3 COM ports.

    6. I then saw the message: "Device is connected. Press 'Read' button to read the memory".

    7. I then clicked "Add Hex files" in the file pane on the right and I selected "Browse".

    8. I navigated to the subfolder of the folder where I extracted the nRF9160 DK firmware and I selected these two hex files:

    nRF9160dk_asset_tracker_nbiot_2021-03-01_8e8c6089.hex  and 

    nRF9160dk_asset_tracker_Item_2021-03-01_8e8c6089.hex

    5611.nrf9160dk_asset_tracker_ltem_2021-03-01_8e8c6089.hex

    and

    1423.nrf9160dk_asset_tracker_nbiot_2021-03-01_8e8c6089.hex

    9. As soon as I added the second hex file to the list of hex files to be added, I saw the message:

    "Overlapping Files. Some of the hex files have overlapping data".

    10. I was able to successfully write into my nRF9160 DK each of these two hex files on its own by clicking the "Erase & Write" button but not when I tried to add these two hex files to my nRF9160 DK at the same time, as the error message: "Some of the hex files have overlapping data" appeared each time I tried.

    What shall I do to successfully complete the process of updating the application firmware on my new nRF9160 DK, so that I could start using it?

    I attach these two hex files as a reference.

    Regards,

    Jacek

Related