7 years, 10 months ago.

mbed-os-example-blinky won't run on nrf52 dk

I recently ordered a nrf52 development kit from mouser electronics. I am using the online compiler I imported and compile the mbed-os-example-blinky for the nrf52 platform and although the compilation had some warnings, there weren't any errors. I copied the hex file generated by the compile to the board i.e the JLINK drive. The copy seemed to be gone well as indicated by the copy dialog. However, on pressing the reset button, I don't see any blinking LED!

I am not sure what I am doing wrong. Please help! This is the most basic step and I have to get past this asap.

Update: Seems like the problem is Windows 10. I tried it with a colleague's machine that has Windows 7 and it worked just fine.

posted by Shruti Koparkar 08 Feb 2017

1 Answer

7 years, 10 months ago.

To work on windows 10, have you tried updating to the latest firmware? https://github.com/NordicSemiconductor/CMSIS-DAP/tree/V0219

There are instructions for updating it here: https://developer.mbed.org/platforms/Nordic-nRF52-DK/

I did update the firmware but it still didn't work. As a temporary workaround I tried to use the J-Link IF as a bootloader: https://www.nordicsemi.com/eng/nordic/download_resource/52275/5/22339830 That seems to work for now.

posted by Shruti Koparkar 08 Feb 2017

I also had the same experience as Shruti except I am using arch linux. Switching back to the J-Link firmware resolved the issue for me as well.

posted by Evan Hosseini 13 Aug 2017