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

meeting problem to program the SoftDevice using an example project in Keil for nrf52832

Hello,

i am meeting problem to program the SoftDevice using an example project in Keil for nrf52832. i have tested the development kit setup use Blinky Example . it is ok. my DK(PCA10040) works well. but when i Running examples that use a SoftDevice. i got a problem. i follow all step : 1.Open an example project in Keil. The example must require a SoftDevice. 2.Instead of the default target, select the target to flash the SoftDevice, for example, flash_s132_nrf52_1.0.0-3.alpha_softdevice. 3.Click Options for Target. 4.Select the Debug pane and click the Settings button for the J-Link / J-TRACE Cortex. 5.Select the J-Link / J-Trace Adapter corresponding to the serial number that is printed on your device. 6.Click OK to close the dialogs. 7.In the main window, click Built button.

but nothing happend with follow information:

*** Using Compiler 'V5.06 (build 20)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target 'flash_s132_nrf52_1.0.0-3.alpha_softdevice' Build Time Elapsed: 00:00:00

no HEX file is created.

image description

can you help me? what's the problem?

BR

Tyler

  • SoftDevice (SD) is only provided in HEX (+ headers that are included to project that use SD) by Nordic. You have it in

    nRF52_SDK_0.9.2_dbc28c9\components\softdevice\s132\hex\s132_nrf52_1.0.0-3.alpha_softdevice.hex

    try flashing it in nRFgo Studio if you cannot do it in Keil.

  • Listen carefully, Follow this protocol: Install the following: a) Keil b) nRFgo studio c) Segger j-Link d) nRF5 series SDK

    1. Open the Keil software
    2. You will see the pack installer at the right end of the build and rebuild plane
    3. Open open it and then follow this step below 4 File open-import folder (make sure you have unzipped the SDK in a folder)- search for your unzipped file folder and import it.
    4. select device and select board by double clicking each to select.
    5. Go over to the packs and examples- go to pack and install all the them if you want full functionality. then go to example and select the desired one ( eg. whether it uses softdevice or not) and click copy and then it will open in Keil editor
    6. Expand the nRF52... project and run down the stream, you will see where they wrote the softdevice required for that example.
    7. Open the nRFgo studio and erase all. Go to Softdevice app and browse that example folder to locate that softdevice you saw at the keil rundown. Upload and program
    8. Now go back back to Keil and build the example program. Then download to your device ( from the download button). After this , it will quitely run on your device. Thank me later

    If You have any other problem, email me...: [email protected]. I am out.

Related