User Manual
1. Install Keil MDK-ARM (v4.54 or higher version) and J-Link for Windows.
2. Save nRF51 SDK and open the nrf51_sdk_v5_2_0_xxxxx.msi file to install. Please ensure the KeilMDK-ARM
option is selected.
3. It is notice that if there are installation errors of SDK, please download and install Microsoft .NET Framework
3.5.
4. Install nRFgo Studio (nRFgo Studio win32 for a 32-bit system, and nRFgo Studio win64 for a 64-bit system).
Example application programming explanations
There are a few differences in programming different example applications. In the following two sections, we will
take blink_example and ble_app_hrs as two examples to illustrate how to program example applications.
Here are the main differences in programming blink_example and ble_app_hrs applications.
The blinky_example is like an application run without OS. So it can be applied directly after Programming
Application.
The ble_app_hrs is like an application that should be run in an OS. Therefore, both relative firmware and its
codes should be downloaded.
How to compile and program blinky_example
Before programming, you should apply nRFgo Studio to erase all the programs preinstalled to the
development board by manufactory. The erasure can be easily done by selecting nRF51 Programming and
clicking Erase all. Now, it is ready to program the applications.
Open Blinky Project in Keil μVision under the path of <KEIL path>
\ARM\Device\Nordic\nRF51822\Board\PCA10001\blinky_example\arm\blinky.uvproj or
...\code\BLE4.0\nrf51822\Board\pca10001\blinky_example\arm\blinky.uvproj
Click the icon Build or press the fast key, F7, to compile Blinkly project.
Click the icon Download. Run the Blinky_example after program download finished. Then, you can see the
LED start to flick.
Notice:
Sometimes, Jlink firmware may fail to cooperate with Nordic SDK, causing KEIL cannot download programs.
In this case, please select nRF51 Programming at the bottom left of nRFgo Studio, and click the option Program