I teach a class that uses the nRF52833DK, and we have had no problems working w/ dev kits up until this semester. We have several students who have ordered this DK with what appears to be a newer version of the debugging chip (v2.0.0, dated 2023.3), and some of them fail all efforts to flash. Running commands like nrfjprog --recover result in messages like:
Recovering device. This operation might take 30s.
[error] [ Client] - Encountered error -21: Command recover executed for 118 milliseconds with result -21
[error] [ Worker] - Encountered unexpected debug port ID 0, expected 2
ERROR: Recover failed. Please make sure that the correct device family is given
ERROR: and try again.
Applying hard reset.
[error] [ Client] - Encountered error -5: Command hard_reset executed for 2296 milliseconds with result -5
[error] [ Worker] - Encountered unexpected debug port ID 15, expected 2
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.