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.

Parents
  • Hi,

    There is an issue with the latest mergehex (10.12.1) where it generates corrupt hex files. This will be fixed in the upcoming release (10.13.0). In the meantime, either revert to an older version of nRF Command Line Tools (or avoid using it).

  • 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

Reply
  • 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

Children
  • Hi Jacek,

    The problem you are describing is that you cannot program two hex files that overlap, and that is expected and how it must be. You are trying to program two examples that reside in the same area at one, and that will never work. Please make a new question if you need more assistance on this as it is not related to the original topic in this thread.

Related