Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for nRF52840 USB Dongle #118

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

giuliocorradini
Copy link

The nRF52840 Dongle is small USB key commonly used with nRF Connect, although apps can be built for it using Zephyr OS.
(Arduino and Mbed don't support this board)

It doesn't come with a JTAG debugger of any sort, thus DFU is the only method supported for programming.

DFU uploads are performed using nrfutil, which can be installed using Python's package manager and simply issuing pip install nrfutil command.

For development purposed I manually installed nrfutil in PlatformIO's virtual environment and the upload works, but a custom tool (tool-nrfutil maybe?) might be more appropriate.
I didn't tried with Adafruit's nrfutil fork (which can already be installed through PlatformIO).

Problems

  • Using nrfutil vanilla I can't seem to generate a valid DFU package when selecting a SoftDevice version different from 0x00.

  • When generating a DFU package, the application versions string is required. How can I get a custom value from platformio.ini or provide a default one otherwise?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant