Skip to content
Often the nRF52 micros get stuck or misbehave and reach a weird state with the pairings. Often the solution is just to clear them so here’s adafruit’s code to do that and a platform.io ini to make it easy.
[env:clearbonds] platform = nordicnrf52 board = particle_xenon framework = arduino The board can be any nrf52 board, it can be any generic board that uses the same chip that you actually have.
First of all, lets flash Adafruit’s NRF52 bootloader for easier future flashing
My J-Link was “Broken. No longer used” - or so the JLink tools said (AKA bought from e-bay). So I had to go to openocd).
Connect the J-Link (or any SWD capable debugger supported by openocd - even an FT232 breakout will do) to the target - I have a Bluefruit by Adafruit.
pip3 install --user intelhex git clone https://github.