9 years, 5 months ago.

How to flash a new nRF51822 with mbed firmware?

Hi, I've been working with the Redbearlab BLE Nano for prototyping and now am moving to a PCB and still want to use mbed. I designed and soldered up a PCB with an nRF51822 based on the reference design. I (possibly naively) tried flashing the new board from the MK20 dongle connecting the Vdd, GND, SWCLK, SDIO pins with no success. I received the 'fail' text file with 'sw error' when I drag the hex (BLE_initial_test_RBLAB_BLENANO.hex) to the dongle (in Windows).

What's the usual process for flashing the mbed firmware onto a new board? Do I need to use additional pins? Do I need to buy a programmer?

I'm fairly new to the ARM/mbed platform so apologies if my question is way off base or has gaping issues. I've spent hours googling and haven't found examples for this step of development.

Be the first to answer this question.