Trying to flash devices and getting this error:
make flash
DONE nrf52840_xxaa
Flashing: _build/nrf52840_xxaa.hex
nrfjprog -f nrf52 --program _build/nrf52840_xxaa.hex --sectorerase
ERROR: Unable to connect to a debugger.
ERROR: The --family option given with the command (or the default from
ERROR: nrfjprog.ini) does not match the device connected.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
make: *** [Makefile:310: flash] Error 18
When I use the --log command I get tons of these errors:
[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
This is very odd as I'm running Ubuntu Linux so I'm not sure why it's looking for DLLs