Linker giving error when building the ble_app_alert_notification_pca10028_s130

Hi,

I have installed Segger Studio for ARM v6.22a.

I have also installed the SDK5 version 12.3.0.

I imported the IAR project project  ble_app_start_notification_pca10028_s130 (.eww file) 

I also selected internal toolchain on the popup.

I also followed the directions followed for importing KEIL projects into the workspace :https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/segger-embedded-studio-a-cross-platform-ide

I was not able to "import section placement" as the option is not showing up when I right click on the project name. Is it because I am using a non commercial license?

Now when I do the build I get a whole lot of linker errors.

Can you please tell me what I am missing?

Please see error image below:

Rajkumar

Parents Reply Children
  • Hi Simon,

    I made the changes to the Section placement macros as shown in attached file. I also made changes to the memory segment macros as attached in the 2nd file.

    However, when I flash the 2.0.1 Softdevice hex file(using Nrfgo studio) and then use "Debug" menu option in EMbedded studio to run the application(app_ble_ancs_c),

    1. First time I run the debugger after flashing the soft device, the program stops and main and then after a few functions, the ble_stack_init runs through successfully but then fails either at peer_manager_init() or later.

    2. The 2nd time and  after that, when I run the debugger after flashing the softdeviec code and running the debugger, the function ble_stack_init() always gives error code 8 at the app_error.c.

    I have not been able to see the bluetooth device using my phone bluetooth scanning even once.

    The failure seems to happen at sd_softdevice_enable() which causes the fault.

    The clock use is the external crystal. There is no change made to the example code.

    Please let me know where I could be going wrong.

Related