9 years, 6 months ago.

nRF51822 How to make Blinky example work?

I have a new nRF51822 mbed board (PCA10024). I am trying to make the blinky example run on it but I am having no luck.

I selected the nRF51822 target and save it to the mbed driver it exposes but the led does not blink. (Have pressed all the buttons with no luck)

Tried the code on an LPC1768 mbed and it works after resetting the board.

Am I missing a step and could it be that the default LED1 is not connected correctly on the nRF51822?

Any help would be appreciated. Thanks.

Question relating to:

The nRF51822-mKIT is a low cost ARM mbed enabled development board for Bluetooth® Smart designs with the nRF51822 SoC. The kit gives access to all GPIO pins via pin headers …

I found the issue. Its a browser related issue as desribed in http://developer.mbed.org/questions/3268/Target-program-does-not-download-to-nRF5/

Its to do with the way Chrome saves to the mbed drive. To fix this I had to save the file locally first and then move it to the board drive.

posted by Bert Kruger 21 Oct 2014

1 Answer

9 years, 6 months ago.

It should work.

You need to select NordicnRF51822 as platform.

You need to create a new program, select Blinky LED Hello World.

Compile it, and save it to the MBED drive.

Use the reset button to reset.

Now LED1 should blink.

Thanks. I followed your but the issue was with my browser as described in my note above.

posted by Bert Kruger 21 Oct 2014