mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
When a debugger is already connected to the JLink debug adapter nrfjprog.py would incorrectly detect that the snr is '0' and try to flash a device with that snr. Also, when there were no boards connected, nrfjprog.py would incorrectly state that there were multiple boards connected. This patch improves the error feedback so that a user can more easily debug why he can't flash his device. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>