9 years, 6 months ago.

How to run

I am new to micro controllers programming. Can someone please summarise what steps do I need to take to run the LED Blinky program?

Question relating to:

The example program for mbed pin-compatible platforms Blinky, mbed blinky, mbed_blinky, mbedblinky

5 Answers

8 years, 4 months ago.

This works for me on the Original mbed board

9 years, 6 months ago.

Perhaps you can read the handbook : http://developer.mbed.org/getting-started/ And look the video : http://developer.mbed.org/handbook/mbed-Compiler

8 years, 3 months ago.

bois du rhum et sa ira mieux.

9 years, 6 months ago.

Import the program it into the compiler (the button on the right hand side of the screen). Check that the correct platform is selected in the top right of the compiler screen. Click on the compile button. It should download a .bin file to your computer. Plug the mbed in to the computer USB port, a USB drive should show up. Drag the .bin file onto the USB drive. Wait until the copy is complete and then press the reset button on the board.

That's it.

Thanks for the good explanation. I am new to embedded after having played with them many years back with 8051. I am amaized at how easy and flexible it has become.

posted by Darmesh Nana 14 Oct 2014
9 years, 6 months ago.

This works for me on the Original mbed board but I now have a nrf51822 and the procedure does not seem to work. It is also not creating a Bin file but a HEX. Any ideas what I am doing wrong?

Bert,

Make sure you have the nrf51822-mkit board. It should say "mbed enabled" right by the USB connector. The nordic boards use .hex files instead of .bin files. The drag and drop process is the same.

posted by Austin Blackstone 21 Oct 2014

Have figured out what the issue was. I am using Chrome and apparently downloading the hex file directly to the mbed nrf51822 is the issue. If I download the hex to my hard drive and then copy it to the mbed nrf51822 drive it works... :)

Thanks for the quick reply.

posted by Bert Kruger 21 Oct 2014