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/
Other
326 stars 83 forks source link

nRFConnect doesn't recognise device #59

Closed gfmoore closed 3 years ago

gfmoore commented 3 years ago

I bought one of these on Aliexpress. It look legitimate and I can flash the adafruit bootloader and blinky using the usb and it does indeed flash all through the colours of the rainbow. However if I connect to nRF Connect and use the Programmer it says 👍🏻

09:33:32.463    Application data folder: C:\Users\Gordon\AppData\Roaming\nrfconnect\pc-nrfconnect-programmer
09:33:32.644    Using nrfjprog library 10.12.1, pc-nrfjprog-js 1.7.6
09:34:12.431    Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device.

Everything I can think of is up to date.

:)

Gordon

I've raised a ticked with Nordic, but thought I'd raise one here as well :)

gfmoore commented 3 years ago

Yay, success. It's strange isn't it that documentation often only makes sense after you've succeeded in achieving what you want and gained some insights and knowledge.

I now understand that the Open bootloader and the DFU bootloader are totally separate beasts.

Anyway for the benefit of anyone else who buys one of these things: (Using the Readme.md in the sdk)

pip3 install (You may need python -m pip install --user adafruit-nrfutil??)

Download the Open Bootloader package generated by adafruit-nrfutil. The generated package is: nrf52840_mdk_usb_dongle_open_bootloader_v1.2.0.uf2.zip.

Put device into DFU

adafruit-nrfutil --verbose dfu serial --package nrf52840_mdk_usb_dongle_open_bootloader_v1.2.0.uf2.zip -p <serial-port-name> -b 115200 --singlebank
```

Note that replace `<serial-port-name>` with your own dongle's serial port name, e.g. `COMx`.

Now connect to nRFConnect.

Gordon