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

Keil + nrfjprog = true ( PCA10040) problems

I have done erase all thing.

But in the second step, I am getting following error.

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

devzone.nordicsemi.com/.../

Please tell me what could be wrong that I could be doing ?

Parents
  • If you use SDK 13 and have not renamed\moved any files, you should have this path (where the hex file is located): C:\path\to\SDK\components\softdevice\s132\hex and this argument: --family nrf52 --program s132_nrf52_4.0.2_softdevice.hex. You should however not get the family error because of wrong paths\filenames.

Reply
  • If you use SDK 13 and have not renamed\moved any files, you should have this path (where the hex file is located): C:\path\to\SDK\components\softdevice\s132\hex and this argument: --family nrf52 --program s132_nrf52_4.0.2_softdevice.hex. You should however not get the family error because of wrong paths\filenames.

Children
No Data