Hi im trying Keil for the frist time and trying to start the hrs peripheral example from the sdk v12.0 but get an error when trying to build.
thanks.
Hi im trying Keil for the frist time and trying to start the hrs peripheral example from the sdk v12.0 but get an error when trying to build.
thanks.
Hi,
Please include the errors from the build log. There 's also a section about compiling your first example with Keil in the getting started guide, here is the link in case you haven't seen it: http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/getting_started_examples.html?cp=4_0_1_1_2
here is the errors from the build log.
Are you building the nrf51422_xxac target?
I think so.
Ok thanks, looks like you are building with the correct target. The missing headers should be provided by the "Device" pack, which it does on my side. You can try to add the path manually since it doesn't appear do that with your setup:
I can build error free now thanks. After it builds correctly i press the load button an get this error.
and when i press ok:
The flash algorithm are included in the device family packages (C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_DeviceFamilyPack\8.16.0\Flash ) so not sure why it is trying to load it from the CMSIS package. This is what is causing the error.
Please go to options for target -> debug-> Flash download and check if the nRF51xx algorithm is used.
The flash algorithm are included in the device family packages (C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_DeviceFamilyPack\8.16.0\Flash ) so not sure why it is trying to load it from the CMSIS package. This is what is causing the error.
Please go to options for target -> debug-> Flash download and check if the nRF51xx algorithm is used.
The nRF51xx algorithm was not there so i reinstalled the sdk and now its working! Thanks alot for ur time!
Hi again! I just tested another project in keil (not from your sdk) and i get this error again and this time reinstalling the sdk isnt helping