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!

  • Downloading version 7.1.0 from the nordic site straight after deleting the download directory worked straight off for me. I'm on Win10 and got some errors from the pack install script, but they seem harmless. RSCS_s310 demo working on my redbear nano board.

  • From version 5.14 Keil changed how Pack versions are ordered. At the beginning our Packs were not fully compatible with it, but we fixed it a week ago. If you have any problems with Packs, delete them and install them again.

    This is how to do that:

    1. Open Keil Pack Installer.
    2. Select "Nordic Semiconductor" in the "Devices" tab.
    3. In the "Packs" tab right click some Pack and select "Expand All".
    4. For all Nordic Packs right click the "Remove" button and select "Remove + Delete Pack" (it is important to not only remove but also to delete them).
    5. After deleting all Nordic Packs, install them again.

    From version to version Keil IDE is not fully backward compatible. This is why for every SDK release we give a version of Keil IDE which we used to test and verify our SDK e.g. Release Notes for SDK 7.2 states that Keil 5.12 and 5.13 were used: developer.nordicsemi.com/.../release_notes.txt Those versions are guaranteed to work, others potentially can have some problems. But I as mentioned, now Packs are fixed and should also work with Keil 5.14.

Related