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

mergehex problem

Hi.

I just want to test mergehex. So I put message as below.

mergehex --merge s140_nrf52_6.1.0_softdevice.hex direct_test_mode_pca10056.hex --output out.hex

Both s140_nrf52_6.1.0_softdevice.hex direct_test_mode_pca10056.hex are in your example as below..

But it can't be merged as below.

>mergehex --merge s140_nrf52_6.1.0_softdevice.hex direct_test_mode_pca10056.hex --output out.hex
Parsing input hex files.
Merging files.
ERROR: The hex files cannot be merged since there are conflicts.

I don't know why.

Could you please give me an advice?

Parents
  • Hello Mr.Kwak,

    Each of Softdevices has different size.

    So you need to look into the release note for specific version of Softdevice.

    For example,  the your current version (s140 v6.1.0) of release note has as below.

    ---------------------------------------------------------------------------------------

    SoftDevice Properties

    • This SoftDevice is production tested for nRF52840.
    • This SoftDevice contains the Master Boot Record (MBR) version 2.3.0 (DRGN-9755).
    • The combined MBR and SoftDevice memory requirements for this version are the same as for the s140_nrf52_6.0.0:
      • Flash: 152 kB (0x26000 bytes).
      • RAM: 5.54 kB (0x1628 bytes). This is the minimum required memory. The actual requirements depend on the configuration
      • chosen at sd_ble_enable() time.
    • The Firmware ID of this SoftDevice is 0x00AE.

    ---------------------------------------------------------------------------------------

    Try to configure linker's memory map to  

    IROM1 : 0x26000 0xD4000

     

    Thanks,

    Eugene

  • Dear Eugene Yu.

    Thank you very much for your help. I just redefine memory map, it works very well.

Reply Children
No Data
Related