boards/nrf52840-mdk-dongle: add nRF52840 MDK USB Dongle#14647
Conversation
11d6f98 to
8ede818
Compare
8ede818 to
185c4bd
Compare
|
I assume I could just test this on an nRF52840 Dongle, provided that the U2F bootloader (that I have installed anyway) is on it? |
|
The pins will be different. There are several config options to the UF2-bootloader. |
|
I don't have hardware to test, but otherwise, LGTM. |
|
I tested the uf2 flashing procedure (with a different board, but same includes). |
|
@benpicco do you mind adding some tests results? Otherwise if @kaspar030 thinks his testing is enough he can ACK. |
|
What tests world you like to see? |
Ideally |
|
A problem I'm getting a lot with the automated tests is when the board resets itself after flashing (writing the firmware to the mounted 'drive') For a reason yet unknown, this does not happen when I manually run The bootloader gets auto-mounted as Maybe I have to re-mount it with the |
e5529b0 to
a76b60d
Compare
|
I still get some with but the firmware gets written correctly. Same without the remount though. |
3eddc40 to
78bf22d
Compare
|
Please rebase and squash! |
9d55adc to
081c600
Compare
|
squashed. still flashes and no more duplicate pings thanks to #15132 |
Contribution description
The nRF52840 MDK USB Dongle is another widely available nRF52840 Dongle.
It is ostensibly similar to the reference design (
nrf52840dongle) but differs in several aspects.(fewer GPIOs, one less LED, different bootloader and an external voltage regulator that provides up to 1A @ 3.3V)
It comes with the UF2 bootloader and is flashed using
uf2conv.py.The utility will convert the
.hexfile into a.uf2file and copy it to the mass storage device that the bootloader creates for this purpose.This works well with auto-mount, if you are mounting manually, additional steps are needed.
Testing procedure
The usual nRF52 things should work.
For the first flashing, you have to enter the bootloader manually by pressing the Reset button while plugging the device in.
Subsequent flashes should perform the bootloader reset automatically.
The
uf2conv.pyutility will be fetched automatically.Issues/PRs references