Hi Everyone,
I'm using nrf52833 controller, nrfconnect sdk v1.7.0 and Vs code to develope.
I'm trying to flash our custom board with Jlink, which I did for over a long time.
Suddenly I'm not able to flash, and I get this following error.
the error says "The --family option given with the command (or the default from
ERROR: nrfjprog.ini) does not match the device connected."
I haven't edited any file or settings, I just used normal build and flash buttons available in Vscode.
Does any flash related file is corrupted here?
> Executing task: nRF Connect: Flash: tmnordic/build (active) < Flashing build to undefined west flash -d c:\Nordic_App\Project\test\tmnordic\build --skip-rebuild -r nrfjprog --snr 269302463 -- west flash: using runner nrfjprog -- runners.nrfjprog: Flashing file: c:\Nordic_App\Project\test\tmnordic\build\zephyr\zephyr.hex 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. FATAL ERROR: command exited with status 18: nrfjprog --program 'c:\Nordic_App\Project\test\tmnordic\build\zephyr\zephyr.hex' --sectoranduicrerase -f NRF52 --snr 269302463 The terminal process terminated with exit code: 18. Terminal will be reused by tasks, press any key to close it.
Here I have checked voltage at reset pin and I got 3.3 v.
what might went wrong, can anybody help me?