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

DFU: Settings to compile secure_bootloader_ble_s140_pca10056.hex

What are the memory settings in the SES compiler to compile secure_bootloader_ble_s140_pca10056

When I try to merge:

mergehex --merge s140_nrf52_7.2.0_softdevice.hex target_application.hex secure_bootloader_ble_s140_pca10056.hex --output temp_merg.hex

I get the failed message:

Parsing input files.
Merging file "s140_nrf52_7.2.0_softdevice.hex" into output.
Merging file "target_application.hex" into output.
Merging file "secure_bootloader_ble_s140_pca10056.hex" into output.
Overlapping segments detected at address 159744.ERROR: The hex files cannot be merged since there are conflicts.

Do I need to change any of the memory settings for the Linker?

Memory Segments, or Section Placement Macros?

In SES, The secure_bootloader_ble_s140_pca10056 project indicates it inherits from project in Common configuration

"FLASH_PH_START=0x0;

FLASH_PH_SIZE=0x100000;

RAM_PH_START=0x20000000;

RAM_PH_SIZE=0x40000;

FLASH_START=0xf8000;

FLASH_SIZE=0x6000;

RAM_START=0x20005978;

RAM_SIZE=0x3a688"

I got it to work some time ago with nRF5_SDK_17.0.2_d674dde, but now I use nRF5_SDK_17.1.0_ddde560 with no luck

Any help appreciated

Parents
  • Hello,

    Overlapping segments detected at address 159744.ERROR: The hex files cannot be merged since there are conflicts.

    Do I need to change any of the memory settings for the Linker?

    Memory Segments, or Section Placement Macros?

    In SES, The secure_bootloader_ble_s140_pca10056 project indicates it inherits from project in Common configuration

    The error indicates that there could indeed be an issue with the Section Placement Macros.
    Could you show me the Section Placement Macros for your target_application as well?

    I got it to work some time ago with nRF5_SDK_17.0.2_d674dde, but now I use nRF5_SDK_17.1.0_ddde560 with no luck

    Have you checked the release notes for the nRF5 SDK v17.1.0? There could be API changes or driver / SoftDevice version upgrades with the new release.

    Best regards,
    Karl

Reply
  • Hello,

    Overlapping segments detected at address 159744.ERROR: The hex files cannot be merged since there are conflicts.

    Do I need to change any of the memory settings for the Linker?

    Memory Segments, or Section Placement Macros?

    In SES, The secure_bootloader_ble_s140_pca10056 project indicates it inherits from project in Common configuration

    The error indicates that there could indeed be an issue with the Section Placement Macros.
    Could you show me the Section Placement Macros for your target_application as well?

    I got it to work some time ago with nRF5_SDK_17.0.2_d674dde, but now I use nRF5_SDK_17.1.0_ddde560 with no luck

    Have you checked the release notes for the nRF5 SDK v17.1.0? There could be API changes or driver / SoftDevice version upgrades with the new release.

    Best regards,
    Karl

Children
No Data
Related