7 years, 4 months ago.

Using mbed compiled bin without mbed hardware.

Is is possible to flash a stand-alone nRF51822 with an mbed compiled bin using a Segger J-Link or other SWD programmer?

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 …

If you have a binary and jlink command line, for more information, visit http://www.segger.com/jlink-flash-download.html.

posted by Martin Kojtal 28 Feb 2014

2 Answers

7 years, 4 months ago.

Hmmm it looks like it also might be compatible with the RFDuino since they seem to use the same IC! http://www.rfduino.com/news.html

I hate arduino so being able to use it with MBED would be awesome! Can someone confirm this?

The main issue will be the question how to program it. I haven't really checked that one, but if it uses a bootloader, than the mbed code generated will probably start at the wrong address. The code itself should run fine on it if it is indeed the same, but if it has a bootloader the question is how to program it.

posted by Erik - 13 Mar 2014

It looks like it has has a bootloader, but the SWD pins are exposed as well: http://forum.rfduino.com/index.php?topic=99.0 So I guess it should be possible if you wire these up to to the mbed interface then.

posted by Joris Aerts 13 Mar 2014
7 years, 4 months ago.

Hi Michael,

Yes, that will be possible. In fact, it was what we were doing during development as we were first creating the library and the new hardware was still in development.


Hmm. So, is there any change in this one, now?


posted by Aaron Minner 13 Mar 2014