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

Nrf51 dk not working after download program using segger.

Hi


I am facing problem with segger. Project get compiled and able to program hardware but hardware is not working until debug process is start.
After put hardware in debug mode hardware start working even after stop debug, working didn't get affect. This problem I am facing for almost projects(ble app uart, ble hrs and twi, spi) except blinky project.
This all projects are working fine with keil.
I am using sdk 11, hardware nrf51 dk and segger 4.2
I refered following document as suggested by nordic for importing project from keil to segger ide.

infocenter.nordicsemi.com/.../getting_started_ses.pdf

Apart from this document I did some more changes to remove some errors details are as below:
1) replace SEGGER_THUMB_Startup.s file with thumb_crt0.s
    
2)change flash and ram values in segger settings
    In project edit option, in common mode > Build > Memory Segments
    FLASH RX 0x0001B000 0x000025000;SRAM RWX 0x20002080 0x00005F80    
    
this are for solution of following errors.
Output/ble_app_uart_s130_pca10028 nrf51422_xxac_s130/Obj/SEGGER_THUMB_Startup.o: In function `exit':
undefined reference to `__SEGGER_init_table__'

3) remove file retarget.c from project explorer to remove following error
storage size of '__stdout' isn't known
storage size of '__stdin' isn't known

Is this all settings are correct or need any more settings to solve this problem? please need guidance as soon as possible.


Related