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

Problem getting started with BLE Nano 2

Hi,

Tried this getting started tutorial:

github.com/.../Nordic_SDK_User_Guide.md

When building project at the end, I get: (After trying max optimization)

linking... ._build\nrf52832_xxaa.axf: error: L6050U: The code size of this image (37604 bytes) exceeds the maximum allowed for this version of the linker. Finished: 0 information, 0 warning, 0 error and 1 fatal error messages. "._build\nrf52832_xxaa.axf" - 1 Error(s), 0 Warning(s). Target not created.

What to do? :-)

/Mats

Parents
  • Thank you,

    Tried the SES tutorial and built the beacon example - builds fine as it seams.

    Since I have a Redbear BLE NANO 2 KIT I want to program it through dropping the hex file on DAPLINK drive. Tried to merge my application hex with the softdevice, but:

    mergehex -m s132_nrf52_5.0.0_softdevice.hex ble_app_beacon_pca10040_s132.hex -o application.hex Parsing input hex files. Merging files. ERROR: The hex files cannot be merged since there are conflicts.

    Am I doing some thing wrong?

    /Mats

  • Did you use the FLASH_START and SRAM_START values from the tutorial, or did you modify these number to reflect the ROM/RAM requirements of the softdevice you are using? Correct numbers for the ble_app_beacon example from SDK v14.0.0 should be:

    FLASH_START=0x23000
    SRAM_START=0x20001720
    

    You can check the default FLASH and RAM settings in the linker-file (.ld), found in the armgcc directory of each example.

Reply
  • Did you use the FLASH_START and SRAM_START values from the tutorial, or did you modify these number to reflect the ROM/RAM requirements of the softdevice you are using? Correct numbers for the ble_app_beacon example from SDK v14.0.0 should be:

    FLASH_START=0x23000
    SRAM_START=0x20001720
    

    You can check the default FLASH and RAM settings in the linker-file (.ld), found in the armgcc directory of each example.

Children
No Data
Related