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

SEGGER Embedded cannot initialize nfr52 SoftDevice

Hello,

I have tried to debug ble_app_uart_pca10040_s132 application included in nordic SDK12.2 with Segger Embedded studio v3.12, but even though I don't get error while compiling, I cannot debug that application since SEGGER seems to have issues to enable the softDevice.

I have debugged it step by step and I see how the application reaches till the point where it calls the method softdevice_enable(), which returns as error_code 0x00000004 as shown in the picture image description

Going inside the method shows (pic) that the there's an issue with the mapping of the RAM memory mapping

image description

I would appreciate if someone could enligthen me concerning to this.

Thanks in advance,

Regards

EDIT< my memory config image description

Parents
  • @Bjørn Spockeli , I understand, I have tried the same procedure but now with other example, ble_app_hrs_pca10040_s132 and I see exactly the same error that I mentioned in my original post, error_code 0x00000004 when invoking softdevice_enable(). This time I have used FLASH_START=0x1F000 SRAM_START=0x20002C38 as the .ld for that application says, should I set this parameters as well in the memory map macros field under the build ?

Reply
  • @Bjørn Spockeli , I understand, I have tried the same procedure but now with other example, ble_app_hrs_pca10040_s132 and I see exactly the same error that I mentioned in my original post, error_code 0x00000004 when invoking softdevice_enable(). This time I have used FLASH_START=0x1F000 SRAM_START=0x20002C38 as the .ld for that application says, should I set this parameters as well in the memory map macros field under the build ?

Children
No Data
Related