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

Keil v5 & nrf_SoftDevice 7.1.0-3 [closed]

Hi,

I am new to Keil and nrf51 development so please forgive me if I ask a stupid question.

I have followed the steps from the user guide and installed Keil (version 5.14), SEGGER and the nrf51 SDK. Then in Keil in the Pack Installer, I installed all the Nordic Semiconductor packs. After this, I went to the Examples tab, I picked the ble_app_template_s110 and tried to run it.

It came up with this error:

Error #540: 'NordicSemiconductor::nRF_SoftDevice:s110:default:7.1.0-3' component is not available for target 'nrf51422_xxac_s110', pack 'NordicSemiconductor.nRF_SoftDevice_S110.7.1.0' is not selected

I tried to go back to the Pack installer, install it from there, no luck. I tried to go to the nrf51 SDK and import the pack from there, still no luck. The only result was that the pack installer came up with a warning that I have the nRF_SoftDevice installed twice. Then in Keil I changed this:

image description

Then it compiled and uploaded but did not do what the description said. The description says if I press Button 1 it should start advertising but I cannot see it on my phone (Samsung Galaxy S3, Android 4.3, installed nRF Master Control Panel).

Examples related to BLE are not working, only the hardware related ones, e.g. blinking LEDs.

Thank you for your help in advance!

  • It looks like there is an alpha version of the part in Keil's library, but both files provide the same part. 9and some consequent problem with the dependancies of the examples) I now have a very upset part library since i tried deleting some of the downloaded files in an attempt to make it use 7.1.0-3 (and failed)

  • I tried doing that too, but no luck. I tried uninstalling it from the Pack Installer, but even failed to do that. So I removed Keil and reinstalled it and in the Pack Installer I picked the one which has the number 7.1.0-3 but that did not help. Then I tried reinstalling Keil again, opened up an example which came up with a warning that it needs to install certain packs (I hoped that if I do it this way it will install the correct ones) but still did not work. I'm completely lost...

  • I've got exactly the same problem. Uninstalling and Reinstalling things didn't help. Please help

  • well i find you ppl sailing in the same boat as i am....not to worry

    keil ide is actually trying to access the header files from the folder .download(keil/arm/pack/.download. and hence spinning back an error while trying to compile. all that needs to be done is delete the .download folder and open package installer and install the s110 softdevice(all the 3 versions) and you r ready to go....atleast i was able to fix the error this way good luck....

  • Thanks to Naveen I finally made it work! First you have to delete the .download folder (keil/arm/pack/.download), restart Keil, go to the pack installer and install all the available nRF_SoftDevice_S110. Then it should work.

    For me it said it cannot install the version 7.1.0 so I had to go to this site and download the correct one. The above method only worked after trying it 3 times.

    The other note, make sure you have downloaded and uploaded the S110-SD-V7 from this site. I missed this one from the tutorial.

    After all of this, every example works like charm.

Related