Cannot download multiple load file because they overlap

Hello,

I am upgrading my project from SDK 15.0 to SDK 17.0 and I get this message.

Please see my project's comfiguration file:

debug_additional_load_file="../SDK_17/Components/softdevice/s140/hex/s140_nrf52_7.0.1_softdevice.hex"
debug_register_definition_file="../SDK_17/Modules/nrfx/mdk/nrf52840.svd"
debug_start_from_entry_point_symbol="No"
debug_target_connection="J-Link"
gcc_debugging_level="Level 3"
gcc_entry_point="Reset_Handler"
linker_output_format="hex"
linker_printf_fmt_level="long"
linker_printf_width_precision_supported="Yes"
linker_section_placement_file="flash_placement.xml"
linker_section_placement_macros="FLASH_PH_START=0x0;FLASH_PH_SIZE=0x100000;RAM_PH_START=0x20000000;RAM_PH_SIZE=0x40000;FLASH_START=0x27000;FLASH_SIZE=0x68000;RAM_START=0x200057b8;RAM_SIZE=0x3a848"
linker_section_placements_segments="FLASH RX 0x0 0x100000;RAM RWX 0x20000000 0x40000;bootloader_settings_page RX 0x000FF000 0x1000"
macros="CMSIS_CONFIG_TOOL=../SDK_17/External_tools/cmsisconfig/CMSIS_Configuration_Wizard.jar"

Thanks,

Alon

Parents
  • Would like to add one more question regarding this? 

    Do i have to upgrade the SoftDevice to 7.0.1? or can i stay with 6.0.0 as was in use when i used SDK 15.0?

    In any case, the message appears..

    Cannot download multiple load file because they overlap

    Thanks
  • Hi!

    nRF5 SDK v15.0.0 supports S140 SoftDevice v6.0.0, see here. So you don't have to upgrade.

    If you take a look at your linker section placement macros, you can see that the FLASH and RAM area overlap which is why you are seeing this error.

    However, I'm not completely sure which values you should change and to what, so for an answer to that you'll have to wait until Monday unfortunately. That's when we have more people in the office to answer this. 

    Best regards,

    Heidi

  • What was the answer to this (what values to change & to what)? I had a similar problem. 

    These are my section placement macros (below). I have not changed them at all over the course of this project; I am not currently updating my SDK, I have not made any drastic code changes, and suddenly out of nowhere, I'm getting this error message about multiple load files overlapping. 

    FLASH_PH_START=0x0

    FLASH_PH_SIZE=0x100000

    RAM_PH_START=0x20000000

    RAM_PH_SIZE=0x40000

    FLASH_START=0x22000

    FLASH_SIZE=0xde000

    RAM_START=0x20002108

    RAM_SIZE=0x3def8

    and the weirdest thing is sometimes if i just press the "debug > Go" (F5) button over and over again, without changing any code, it just runs. it is like 1 out of 5-10 times that it will run. other times i get the above error.

  • Hi! Please make a new ticket for this issue, as this one is 8 months old. Thanks!

Reply Children
No Data
Related