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

nrfjprog not working with PCA10056?

Hi, I'm using the nRF52840 preview DK (PCA10056) and trying to erase and program a board using command line tools, particularly nfrjprog. I'm running this on MacOS (OS X)... I have DK PCA10056 V0.9.0. I note that there is a V0.9.1; could that be my issue?

I've verified I have the current versions, and that the tool works on the older PCA10040 with the nRF52832. With the PCA10056 (V0.9.0) I get the following:

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

Additional info:

$ nrfjprog -v
nrfjprog version: 8.3.0
JLinkARM.dll version: 6.16b

$ nrfjprog -f UNKNOWN --eraseall
ERROR: Argument provided has a wrong value. Memory access not aligned, value
ERROR: outside of range or similar.

Help!

Related