This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Trouble programming nrf5340dk

I am following the guide on this page: https://github.com/project-chip/connectedhomeip/tree/master/examples/lock-app/nrfconnect

I can build the firmware, but having trouble to program the nRF5340DK. 

west flash --recover

ERROR: The --family option given with the command (or the default from nrfjprog.ini) does not match the device connected.

FATAL ERROR: command exited with status 18: nrfjprog --recover -f NRF53 --coprocessor CP_NETWORK --snr 960138681

nrfjprog version: 10.13.0 

JLinkARM.dll version: 7.50a

- OS: macOS (11.5) darwin x64

- Versions
- kernel: 20.6.0
- git: 2.30.1
- node: 12.13.0
- python: 2.7.16
- python3: 3.8.2

- Connected devices:
- /dev/tty.usbmodem0009601386815: 000960138681 PCA10095