This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrfprog returns wrong family error when programming nrf52840 on a custom board

Hello, I get the

"ERROR: The --family option given with the command (or the default from nrfjprog. ini)

ERROR: does not match the device connected."

message after entering pretty much any command, erase, program etc., for example, this one:

nrfjprog --family nrf52 --program s140_nrf52840_5.0.0-2.alpha_softdevice.hex

I have also changed the ini file to nrf52.

I can download my own user app into the chip in Keil uv5.

So... any idea how to tackle it?

I'm using nrfgo studio 1.21.2.

Related