You need to go to nordicsemi.com to download the SDK and the softdevice. SDK comes with the examples code. You will need to have a valid product key to download.
If you want to work with Eclipse goto this blog site embeddedsoftdev.blogspot.ca/.../ehal-nrf51.html
Thank you All for helping out so far. I have Nordic Semiconductor Product key. So I can download the SDK. However, how do I get started with KEIL?
I have downloaded nRFGO Studio. However, my computer (over USB) doesn't detect it? I have a Red Dear Lab NRF51822 board and Waveshare NRF51822 board. Any help will be greatly appreciated.
Hani Abidi
Hi Hani Abidi
To get started with the RedBearLab kit, you should follow the steps 1-6 in their getting started guide.
For the Waveshare kit, there also seems to be a guide/example at the bottom of their product page.
If you need further support on the hardware setup, I suggest you contact the makers of the boards that you have.
To start your development with KEIL, you should download the Keil MDK v5. Once you have the nRF51 SDK, you will find examples with Keil projects that are set up corretcly for the nRF51 chip.
This is a good Nordic getting started guide
The USB socket on the Waveshare BLE400 (if that's what you have) connects to a CP2101 USB-UART bridge. The Waveshare BLE400 kit does NOT(to my knowledge) have any facility for programming/debugging the nRF51822 chip.
A Jlink debugger/programmer is required for connecting 51822 board to PC via N0.7 debugging interface www.wvshare.com/.../BLE400-intro.jpg