From 3e476ebfcae753e5b595f3ef8469dcddad5ef10c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20Kr=C3=B3lik?= <66667989+Damian-Nordic@users.noreply.github.com> Date: Mon, 28 Feb 2022 14:47:50 +0100 Subject: [PATCH] [nrfconnect] Fix flashing script (#15628) --reset flash should be used to reset the board after flashing a firmware. --- scripts/flashing/nrfconnect_firmware_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/flashing/nrfconnect_firmware_utils.py b/scripts/flashing/nrfconnect_firmware_utils.py index 1d8a90baac37d2..5a04a660736d87 100755 --- a/scripts/flashing/nrfconnect_firmware_utils.py +++ b/scripts/flashing/nrfconnect_firmware_utils.py @@ -130,7 +130,7 @@ def flash(self, image): def reset(self): """Reset the device.""" - return self.run_tool('nrfjprog', ['--pinresetenable'], name='Enable pin reset') + return self.run_tool('nrfjprog', ['--reset'], name='Reset') def actions(self): """Perform actions on the device according to self.option."""