Like if you have an nRF52840: Nordic USB dongle, Arduino Nano 33 BLE, Adafruit, Sparkfun, April, Makerdairy, Fanstel, Particle or any other

So I have got a few boards, which I will try to put a few bootloaders on (I am leaning towards putting the arduino nano 33 BLE bootloader on everything, but will be open to other ideas):

  1. The Arduino Nano 33 BLE Sense. I have a broken one (my fault) and a new one

I have a Segger Mini Edu debugger

I think these are the correct 10 pin debugger layout, for the particle Xenon and Argon debugger connector

Here is another image

I have a 10 pin connector cable for the Nordic dongle, which unfortunately does not fit the segger mini 10 pin connector. I might not use it as the Nordic dongle seems to have side pins for SWDCLK and SWDIO. see second image.

The Nordic nrf52840 dongle.

The Makerdiary nrf52840 dongle, seems to have swdclk and swdIO as pins on the board. see image.

Really important. changing Platformio.ini file to include

upload_protocol = nrfjprog

With the segger mini debugger dongle and both boards plugged in for power seems to work.

I just need to do a bit more testing. Anyone with any experience is welcome to add their views on how to get these boards running.

Weird note here. the below code seemed to sort of work with zephyr spelt with a capital “Z” as in the documentation. Then it ran very different with the small “z”. Still not fully working, but has some promise for the Particle Photon.


[env:development]
platform = https://github.com/platformio/platform-nordicnrf52.git
board = particle_argon
framework = zephyr
upload_protocol = nrfjprog