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

Every once in a while, with computers, things work well. For me it is about once every 5 years, I have been doing this for 40 years. Today was a good day.

So I purchased a Particle debugger but could not get it working.

Since it has headers I thought I would use it to connect my SWDIO, GND and SWDCLK from my Nordic, Makerdiary and Broken Nano33BLE to my segger edu mini to try to put the arduino nano 33 BLE bootloader on them. Well each time I insert the Particle Debugger this irritating window pops up that advertises Particles webpage.

daplink01

So I looked up DAPlink and it appears to be a drag and drop hex, bin installation program folder. So I hooked the debugger up to my Particle Xenons and tried to drop particle .bin bootloaders and softdevices but nothing worked. Drop the file on the folder and it disappears and returns with a fail.txt file when things don’t work.

Somewhere I had an old particle.hex file so I tried that and it did not fail, but didn’t do anything.

So I tried a nordic bootloader. It also did not fail.

Trying nordic nrf-connect for desktop I was able to install blinky without any errors. Probably the LED assignment is different

but the Xenon did not show any response. however touching the mode button seemed to reset the serial connection and I was getting no errors.

So I tried the Arduino nano 33 BLE bootloader.hex file. (Will write this up better another day) and it also installed using the DAPlink. Showing a very bright red LED which in the Particle world means something is broken.

Loaded Arduino IDE and it found the Xenon as a Nano33BLE on port COM10

Tried to upload my A0 serial print and LED flash test program. Compiled it but it would not install. Double pressed the mode button, windows installed new driver and it uploaded. Bright red LED started flashing 3 times as per program. Had to fight a bit to find the COM port., I think I restarted it. Then the Arduino serial monitor started churning out A0 analog reading. (Nothing connected just testing)

I took a video of the red LED flashing but could not find my normal way to convert mp4’s to gif’s online.

I still need to test platformIO, but the first step is working. Getting a Particle Xenon working on the Arduino IDE.

1 Like