makerdiary / nrf52840-mdk-usb-dongle

An open-source, small and low-cost USB Dongle that supports Bluetooth 5.4, Bluetooth mesh, Thread, Zigbee, 802.15.4, ANT and 2.4 GHz proprietary protocols
https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/
Apache License 2.0
318 stars 82 forks source link

Problem after programming Blinky from nRF Connect SDK #87

Closed ajlennon closed 1 year ago

ajlennon commented 1 year ago

Hi,

I am getting going with the MDK USB dongle... I managed to run the Makerdiary Blinky app and the BLE Blinky app successfully.

I want to look at Bluetooth Mesh so I then moved onto looking at the Nordic nRF Connect SDK building the Zephyr Blinky app within VSCode with nRFConnect extensions.

I got the build output converted to .uf2 and dragged and dropped this to program with the UF2 bootloader and the LED blinks as expected. So far so good....

However when I now insert the dongle with the reset button pressed it doesn't go into the UF2 bootloader mode any more. Instead it drops into the blinky application.

So I suspect that by programming the nRF Connect SDK example I have wiped out the bootloader?

Can you give me some idea of how to reset the dongle so I can program it again?

Thanks!

caizelin commented 1 year ago

@ajlennon NCS examples are provided now, which can work with UF2 Bootloader. Just checkout here: https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/guides/ncs/