n-able-Arduino icon indicating copy to clipboard operation
n-able-Arduino copied to clipboard

Feather Sense (nRF52840): Flashing the bootloader

Open vabt-igd opened this issue 2 years ago • 2 comments

Hi,

I'm currently struggling to burn the provided Adafruit bootloader to a Feather Sense (nRF52840). Following the instructions and selecting Burn Bootloader from the Tools menu results in the following error:

xPack OpenOCD x86_64 Open On-Chip Debugger 0.11.0+dev (2022-03-25-17:32)
Error while burning bootloader.
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
debug_level: 0

embedded:startup.tcl:26: Error: Can't find interface/.cfg
in procedure 'script' 
at file "embedded:startup.tcl", line 26

The programmer is set to adafruit-nrfutil and the device is connected via USB. Is there an option to burn your provided bootloader without using special programmer hardware? For instance, something such as Adafruit's Bootloader DFU for Bluefruit nRF52 programmer?

I'm currently using the Adafruit Softdevice enabled bootloader v0.7.0 and am therefore unable to upload sketches without soft-bricking the board.

vabt-igd avatar Oct 26 '22 12:10 vabt-igd

Great question, I haven't got a great answer though. I'm not familiar enough with changing adafruits bootloader over serial and I'm unsure if it would be possible without a hardware debugger. It looks like adafruit uses jlink for this in their repo, but I'll do some testing to check it out.

h2zero avatar Oct 27 '22 00:10 h2zero

Cool, let me know if you find something. I'm happy to test!

vabt-igd avatar Oct 28 '22 10:10 vabt-igd