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

Linking Errors "UNPLACED SECTIONS" in Segger Embedded Studio for nrf51422

Hi,

Following are my working environments:

     Product:         nrf51422 Evaluation Board

     SDK:              nrf5 SDK v10.0.0

     IDE:               Segger Embedded Studio

     Programmer: Segger J Link

I was Programming nrf51 before in Keil uvision. Though it is a evaluation version, It supports compilation up to 32 KB. Afterwards I thought to move to Segger Emedded Studio.

I have completed all setup process provided in this PDF by Nordic : https://infocenter.nordicsemi.com/pdf/getting_started_ses.pdf

After completing all the processes I found following Linking error messages during compilation.

Following are the error Messages for reference:

* Output/nrf51422_xxac_s130 Internal/Exe/ble_app_hrs_s130_pca10028.elf section `.init._start' will not fit in region `UNPLACED_SECTIONS'

* region `UNPLACED_SECTIONS' overflowed by 37400 bytes

* Output/nrf51422_xxac_s130 Internal/Obj/ble_app_hrs_s130_pca10028/SEGGER_THUMB_Startup.o: in function `exit':

* (.init._start+0x10): undefined reference to `__SEGGER_init_table__'

* Output/nrf51422_xxac_s130 Internal/Obj/ble_app_hrs_s130_pca10028/ses_nrf51_startup.o: in function `_vectors':

* (.vectors+0x0): undefined reference to `__stack_end__'

* Output/nrf51422_xxac_s130 Internal/Obj/ble_app_hrs_s130_pca10028/ses_nrf51_startup.o: in function `SystemInit':

* (.init+0x64): undefined reference to `__SRAM_segment_end__'

I didn't understand what to do with these errors. It will be wonderful if anyone help me with this !

Thanks and Regards,

Swastik

Parents
  • Hi Swastik,

    Why are you using SDK10 instead of SDK12 for nRF51? is there any particular reason to stick to this old version?

    regarding the undefined references, I think they are related to missing files in the project. It might be possible that the getting started guide is not upto date.

    I would recommend you to use SDK12.3 and look into the devzone posts in the search that have similar problems with solutions given.

     

    region `UNPLACED_SECTIONS' overflowed by 37400 bytes

     This might be due to the evaluation version, not sure, haven't tried it myself. 

Reply
  • Hi Swastik,

    Why are you using SDK10 instead of SDK12 for nRF51? is there any particular reason to stick to this old version?

    regarding the undefined references, I think they are related to missing files in the project. It might be possible that the getting started guide is not upto date.

    I would recommend you to use SDK12.3 and look into the devzone posts in the search that have similar problems with solutions given.

     

    region `UNPLACED_SECTIONS' overflowed by 37400 bytes

     This might be due to the evaluation version, not sure, haven't tried it myself. 

Children
No Data
Related