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

Circuitpython install, wrong instructions and outdated doc - Up to date instructions #41

Open AngainorDev opened 3 years ago

AngainorDev commented 3 years ago

I have a nRF52840 MDK USB Dongle with case, with UF2 bootloader.

It enters bootloader (press button + insert, but with fixed green led, not blinking red) bootloader info on udisk says UF2 Bootloader 0.2.13-42-g82464f9-dirty lib/nrfx (v2.0.0) lib/tinyusb (legacy-1500-g23df777b) s140 6.1.1

When trying to install circuitpython from https://circuitpython.org/board/makerdiary_nrf52840_mdk_usb_dongle/ copying uf2, led blinks red, then device restarts and it's down. No Udisk, no serial port, no device at all when issuing a "lsusb" Tried with 5.3.1, 5.4.0, 6.0.0, no firmware works. I can re-enter bootloader and re-copy the original uf2 I copied, there I get a serial port, but no other uf2 works.

Here is what worked for me (but should be made clear on the wiki)

Then the dongle reboots, with serial and circuitpython udisk

It's easy once you have all the - up to date - info at hand, please upgrade the doc!

Threadzless commented 3 years ago

hey what arguments do you put into uf2conv.py to get a working .uf2? the one I create doesn't cause the dongle to reboot after i copy it over :(

AngainorDev commented 3 years ago

I used uf2conv.py firmware.hex -c -f 0xADA52840

Grazfather commented 3 years ago

This worked for me.

Notably, from the releases linked, it now has zip files with uf2 already in them. this did not work. I had to manually convert the .hex to the .uf2 and flash that to get circuit python installed.

benjaTwose commented 3 years ago

This worked for me.

Notably, from the releases linked, it now has zip files with uf2 already in them. this did not work. I had to manually convert the .hex to the .uf2 and flash that to get circuit python installed.

Me too, thanks !!

giacomogallina commented 1 year ago

Thank you so much, it worked perfectly!