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

Keil 4 to Kiel 5 upgrade

I am rebuilding my computer after experiencing a corrupt boot sector and am reinstalling all my apps.  I am moving from Kiel 4 to Kiel 5.  My project loads, but it says that it needs the ARM Tool chain which is not installed. I installed the Toolchain on WIN 10 and it seemed to install smoothly, however in the Project menu, the Options menu item and those below it are all disabled.  Can you guide me through this? 

I notice in the readme.txt in * Architecture options usage * there is a considerable amount ot config options, is this a necessary requirement for the nRF51422 ?  

Thanks,

Brian Fleming

  • I can build the project now. I reinstalled Kiel and loaded all the packs.

    However, when I build it, I get the following error at the bottom.

    I can do a search for core_cm0.h and I find it on my computer, but I can't find where to put it so that the build process finds it.

    *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
    compiling main.c...
    ..\..\..\..\..\..\components\device\nrf51.h(119): error:  #5: cannot open source input file "core_cm0.h": No such file or directory
      #include "core_cm0.h"                               /*!< Cortex-M0 processor and core peripherals                              */
    ..\..\..\main.c: 0 warnings, 1 error
    "..\..\..\main.c" - 1 Error(s), 0 Warning(s).

  • I have the example program compiling now, but the soft device has problems.  More to come.

  • Here is where I am at this moment, the problem is compiling the soft device.

  • Hi Brian, 

    Please refer to Compiling the application and select the target as nrf51422_xxac.

     >>Important question, is the nRF5_SDK_15.0.0_a53641a compatable with the nRF51 Development Kit?

    No, please refer to nRF5 SDK v15.0.0 SDK Release Notes:

    Supported boards:
    - PCA10040
    - PCA10040E (nRF52810 emulation on PCA10040)
    - PCA10056
    - PCA10059 (support in selected examples)
    - Dynastream's D52DK1 (only for ANT examples)

     

    -Amanda H. 

  • Thanks again, here is an update.

1 2 3 4 5