Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Linker file wrong on new V15 IAR SDK for nrf52810 projects

Noted that the new V15 SDK for IAR does not have linker config file set correctly on ble_app_blinky_pca10040e_s112 project. The .intvec start location was set to 0x19000 and the memory regions were not correct. Setting .intvec to 0x18000 and rom start to the same at least allowed a debug session to start. The heap and stack sizes are probably also too large for this chip I set mine to 800 and 200 respectively. You still get a hard reset error because the start of your ram is wrong also as it is too small and set to 0x20001c18. I set it to 0x20002000 to give the softdevice enough room but has anyone calculated the real value.

Parents Reply
  • hello!

    Is there the same problem with s132 soft device (s132_nrf52_5.1.0) and SDK15 ? My application (based on HRS example) not start? In IAR link file the following address is set:

    /*-Specials-*/
    define symbol __ICFEDIT_intvec_start__ = 0x26000;
    /*-Memory Regions-*/
    define symbol __ICFEDIT_region_ROM_start__ = 0x26000;
    define symbol __ICFEDIT_region_ROM_end__ = 0x7ffff;
    define symbol __ICFEDIT_region_RAM_start__ = 0x20002b90;
    define symbol __ICFEDIT_region_RAM_end__ = 0x2000ffff;
    export symbol __ICFEDIT_region_RAM_start__;
    export symbol __ICFEDIT_region_RAM_end__;

    Regards, 

Children
Related