Skip to content

Commit dff2292

Browse files
hakonfamnordicjm
authored andcommitted
west_commands: fix ironside update script
nrfutil device reset --reset-kind RESET_VIA_SECDOM will incorrectly fail as SDROM spends seconds applying the update and nrfutil times out. The reset has been correctly performed, and there is no reason to fail. To work around this issue, we accept the failure and don't exit the script. Ref: NCSDK-NONE Signed-off-by: Håkon Amundsen <[email protected]>
1 parent ccc44bb commit dff2292

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/west_commands/ncs_ironside_se_update.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,9 @@ def do_run(self, args: argparse.Namespace, unknown: list[str]) -> None:
217217

218218
self.dbg("Reset to trigger update installation")
219219
self._nrfutil_device(
220-
"reset --reset-kind RESET_VIA_SECDOM", **common_kwargs
220+
"reset --reset-kind RESET_VIA_SECDOM",
221+
die_on_error=False, # nrfutil will incorrectly fail, so don't die on error
222+
**common_kwargs,
221223
)
222224
self.dbg("Waiting for update to complete")
223225
self._wait_for_bootstatus(**common_kwargs)

0 commit comments

Comments
 (0)