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

The ARM Linker has stopped working

Hi

I am trying the nRF51822 Evaluation Kit for the first time. I have followed the instructions in the User Guide v1.1. The blinky_example works fine, indicating that the tool-chain should be in place. But, when I am trying to build the heart-rate monitor example, the Linker crashes and I get the Build Output window I get a message:

Build target 'nrf51822_xxaa_s110 (256K)' compiling ble_conn_params.c... compiling ble_stack_handler.c... linking... ._build\ble_app_hrs.axf: error: L6002U: Could not open file ._build\ble_conn_params.o: No such file or directory "._build\ble_app_hrs.axf" - 1 Errors, 0 Warning(s). Target not created

I have not yet installed the PCA-10000 dongle. Below I have pasted in the information from the IDE (I am using Windows8-x64). Any suggestion to how I can proceed?

IDE-Version: µVision V4.72.10.0 Copyright (C) 2013 ARM Ltd and ARM Germany GmbH. All rights reserved.

License Information: Arne Laugstol Sharp Software AS LIC=----

Tool Version Numbers: Toolchain: MDK-Lite Version: 4.72.1.0 Toolchain Path: C:\Keil\ARM\ARMCC\bin
C Compiler: Armcc.Exe V5.03.0.76 [Evaluation] Assembler: Armasm.Exe V5.03.0.76 [Evaluation] Linker/Locator: ArmLink.Exe V5.03.0.76 [Evaluation] Librarian: ArmAr.Exe V5.03.0.76 [Evaluation] Hex Converter: FromElf.Exe V5.03.0.76 [Evaluation] CPU DLL: SARMCM3.DLL V4.72.1.0 Dialog DLL: DARMCM1.DLL V1.11.00.0 Target DLL: Segger\JL2CM3.dll Dialog DLL: TARMCM1.DLL V1.08.00.0

Parents
  • Hi

    I tried to run as an Administrator (but, I don't know if the Linker will run as an administrator). However, I got the same result.

    I also tried to make all files read/write-able from the Keil-root. But, the same result.

    Directory of C:\Keil\ARM\Device\Nordic\nrf51822\Board\pca10001\ble\ble_app_hr arm_build

    24.07.2013 15:50 . 24.07.2013 15:50 .. 24.07.2013 15:50 253 516 app_button.crf 24.07.2013 15:50 1 576 app_button.d 24.07.2013 15:50 248 416 app_gpiote.crf 24.07.2013 15:50 1 299 app_gpiote.d 24.07.2013 15:50 231 880 app_gpiote.o 24.07.2013 15:50 267 593 app_timer.crf 24.07.2013 15:50 1 569 app_timer.d 24.07.2013 15:49 87 arm_startup_nrf51.d 24.07.2013 15:49 31 418 arm_startup_nrf51.lst 24.07.2013 15:49 4 716 arm_startup_nrf51.o 24.07.2013 15:49 312 048 battery.crf 24.07.2013 15:49 2 537 battery.d 24.07.2013 15:49 284 232 battery.o 24.07.2013 15:50 107 143 ble_advdata.crf 24.07.2013 15:50 1 816 ble_advdata.d 24.07.2013 15:49 785 ble_app_hrs.lnp 24.07.2013 15:50 1 211 ble_app_hrs.plg 22.07.2013 12:51 479 ble_app_hrs.sct 22.07.2013 12:12 479 ble_app_hrs_sct.Bak 24.07.2013 15:49 104 319 ble_bas.crf 24.07.2013 15:49 1 730 ble_bas.d 24.07.2013 15:50 308 029 ble_bondmngr.crf 24.07.2013 15:50 2 340 ble_bondmngr.d 24.07.2013 15:50 290 644 ble_bondmngr.o 24.07.2013 15:49 114 564 ble_conn_params.crf 24.07.2013 15:49 2 229 ble_conn_params.d 24.07.2013 15:50 48 727 ble_debug_assert_handler.crf 24.07.2013 15:50 1 043 ble_debug_assert_handler.d 24.07.2013 15:49 100 150 ble_dis.crf 24.07.2013 15:49 1 657 ble_dis.d 24.07.2013 15:50 232 059 ble_error_log.crf 24.07.2013 15:50 1 296 ble_error_log.d 24.07.2013 15:50 215 936 ble_error_log.o 24.07.2013 15:50 256 543 ble_flash.crf 24.07.2013 15:50 1 487 ble_flash.d 24.07.2013 15:50 237 432 ble_flash.o 24.07.2013 15:49 107 442 ble_hrs.crf 24.07.2013 15:49 1 730 ble_hrs.d 24.07.2013 15:49 101 168 ble_hrs.o 24.07.2013 15:50 235 123 ble_radio_notification.crf 24.07.2013 15:50 1 271 ble_radio_notification.d 24.07.2013 15:50 209 540 ble_radio_notification.o 24.07.2013 15:50 77 579 ble_srv_common.crf 24.07.2013 15:50 1 382 ble_srv_common.d 24.07.2013 15:50 286 576 ble_stack_handler.crf 24.07.2013 15:50 2 512 ble_stack_handler.d 24.07.2013 15:49 254 431 led.crf 24.07.2013 15:49 1 401 led.d 24.07.2013 15:49 235 508 led.o 24.07.2013 15:49 340 747 main.crf 24.07.2013 15:49 3 250 main.d 24.07.2013 15:49 231 616 system_nrf51.crf 24.07.2013 15:49 783 system_nrf51.d 24.07.2013 15:49 211 216 system_nrf51.o 54 File(s) 5 976 260 bytes 2 Dir(s) 6 610 763 776 bytes free

    C:\Keil\ARM\Device\Nordic\nrf51822\Board\pca10001\ble\ble_app_hrs\arm_build>

Reply
  • Hi

    I tried to run as an Administrator (but, I don't know if the Linker will run as an administrator). However, I got the same result.

    I also tried to make all files read/write-able from the Keil-root. But, the same result.

    Directory of C:\Keil\ARM\Device\Nordic\nrf51822\Board\pca10001\ble\ble_app_hr arm_build

    24.07.2013 15:50 . 24.07.2013 15:50 .. 24.07.2013 15:50 253 516 app_button.crf 24.07.2013 15:50 1 576 app_button.d 24.07.2013 15:50 248 416 app_gpiote.crf 24.07.2013 15:50 1 299 app_gpiote.d 24.07.2013 15:50 231 880 app_gpiote.o 24.07.2013 15:50 267 593 app_timer.crf 24.07.2013 15:50 1 569 app_timer.d 24.07.2013 15:49 87 arm_startup_nrf51.d 24.07.2013 15:49 31 418 arm_startup_nrf51.lst 24.07.2013 15:49 4 716 arm_startup_nrf51.o 24.07.2013 15:49 312 048 battery.crf 24.07.2013 15:49 2 537 battery.d 24.07.2013 15:49 284 232 battery.o 24.07.2013 15:50 107 143 ble_advdata.crf 24.07.2013 15:50 1 816 ble_advdata.d 24.07.2013 15:49 785 ble_app_hrs.lnp 24.07.2013 15:50 1 211 ble_app_hrs.plg 22.07.2013 12:51 479 ble_app_hrs.sct 22.07.2013 12:12 479 ble_app_hrs_sct.Bak 24.07.2013 15:49 104 319 ble_bas.crf 24.07.2013 15:49 1 730 ble_bas.d 24.07.2013 15:50 308 029 ble_bondmngr.crf 24.07.2013 15:50 2 340 ble_bondmngr.d 24.07.2013 15:50 290 644 ble_bondmngr.o 24.07.2013 15:49 114 564 ble_conn_params.crf 24.07.2013 15:49 2 229 ble_conn_params.d 24.07.2013 15:50 48 727 ble_debug_assert_handler.crf 24.07.2013 15:50 1 043 ble_debug_assert_handler.d 24.07.2013 15:49 100 150 ble_dis.crf 24.07.2013 15:49 1 657 ble_dis.d 24.07.2013 15:50 232 059 ble_error_log.crf 24.07.2013 15:50 1 296 ble_error_log.d 24.07.2013 15:50 215 936 ble_error_log.o 24.07.2013 15:50 256 543 ble_flash.crf 24.07.2013 15:50 1 487 ble_flash.d 24.07.2013 15:50 237 432 ble_flash.o 24.07.2013 15:49 107 442 ble_hrs.crf 24.07.2013 15:49 1 730 ble_hrs.d 24.07.2013 15:49 101 168 ble_hrs.o 24.07.2013 15:50 235 123 ble_radio_notification.crf 24.07.2013 15:50 1 271 ble_radio_notification.d 24.07.2013 15:50 209 540 ble_radio_notification.o 24.07.2013 15:50 77 579 ble_srv_common.crf 24.07.2013 15:50 1 382 ble_srv_common.d 24.07.2013 15:50 286 576 ble_stack_handler.crf 24.07.2013 15:50 2 512 ble_stack_handler.d 24.07.2013 15:49 254 431 led.crf 24.07.2013 15:49 1 401 led.d 24.07.2013 15:49 235 508 led.o 24.07.2013 15:49 340 747 main.crf 24.07.2013 15:49 3 250 main.d 24.07.2013 15:49 231 616 system_nrf51.crf 24.07.2013 15:49 783 system_nrf51.d 24.07.2013 15:49 211 216 system_nrf51.o 54 File(s) 5 976 260 bytes 2 Dir(s) 6 610 763 776 bytes free

    C:\Keil\ARM\Device\Nordic\nrf51822\Board\pca10001\ble\ble_app_hrs\arm_build>

Children
No Data
Related