Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 2 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:
1 Answer
10 years, 2 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.
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