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
300 stars 79 forks source link

Programming nrf52840 #75

Open titou4307 opened 1 year ago

titou4307 commented 1 year ago

Hello I have bought the nrf52840 under enclosure USB

I want to program this with the "nrfconnect-setup-3.12.0-ia32.exe" but impossible to access to this peripheral ....

I have error message :

18:19:06.675 Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device.

Maybe anyone has a solution ?

EnriqueSV commented 1 year ago

Hello, Can you fix the problem? I've the same issue, Tank you

titou4307 commented 1 year ago

Hi Yes ....After many and many try with the software NrfUtil, NrfUtil-adafruit and the soft Nrf52840 of the constructor

But it is not a perfect science !! and I cannot reproduce the how to....

Of memory I have use the soft of the constructor for upload various firmware....And after more upload I could go into download mode for continue the process

EnriqueSV commented 1 year ago

Hi finally I can Change to Open Bootloader from UF2 Bootloader. In this web explain the steps https://github.com/makerdiary/nrf52840-mdk-usb-dongle/tree/master/firmware/open_bootloader. If you use Windows or Mac you can download the adafruit-nrfutil in this link https://github.com/adafruit/Adafruit_nRF52_nrfutil/releases In windows: 1- put in the same folder the adafruit-nrfutil.exe and the nrf52840_mdk_usb_dongle_open_bootloader_v1.2.0.uf2.zip, 2- press the dongle button and connect to PC 3- Search the COMX of the USB

and execute this command: adafruit-nrfutil --verbose dfu serial --package nrf52840_mdk_usb_dongle_open_bootloader_v1.2.0.uf2.zip -p COM19 -b 115200 --singlebank command NRF-programmer I hope this help