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

Can not enter bootloader mode after flashed the newest OpenSK firmare via UF2 bootloader #32

Closed snowyu closed 11 months ago

snowyu commented 4 years ago
nrfutil dfu usb-serial -pkg uf2_bootloader-0.2.13-44-gb2b4284-nosd_signed.zip -p /dev/ttyACM0
git clone https://github.com/google/OpenSK
cd OpenSK
./setup.sh
./deploy.py --board=nrf52840_mdk_dfu --opensk --programmer=none
python ../uf2conv.py -c -f 0xada52840 -o mdk_dongle_opensk_all_in_one.uf2 target/nrf52840_mdk_dfu_merged.hex

The OpenSK work well, but it can not enter bootload mode (hold on the button before inserting) after copy mdk_dongle_opensk_all_in_one.uf2 image to MDK-DONGLE.

mtron commented 4 years ago

Hello same problem here.

https://github.com/google/OpenSK at git revision: af79d92a888fb398bd1e630f1d821c4ed4128f95 ( Wed May 13 17:48:23 2020 +0200)

Flashed with: ./deploy.py --board nrf52840_mdk_dfu --opensk --programmer nordicdfu

OpenSK works but it is not possible to enter dfu mode. Any way to reset the stick?

gbuzogany commented 3 years ago

I made a few mistakes and had the same issue: could not put the stick in DFU mode.

The best solution I found was to flash it through SWD using OpenOCD on a raspberry pi. This video was super helpful: https://www.youtube.com/watch?v=R5wub5ywzTU

caizelin commented 11 months ago

Refer to our OpenSK guide here: https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/guides/opensk/