Skip to content

Commit 78a6157

Browse files
jonathannilsenfabiobaltieri
authored andcommitted
west: runners: nrf: don't recover twice on nrf54h
Update the recover mechanism for nrf54h to only call recover once. Using nrfutil device recover with both --core Network and --core Application is redundant with IronSide SE as both of these map to the same operation which does a full erase of the device MRAM. Additionally, recovering twice in a row specifically in a nrfutil batch file (which is used by this runner implementation) triggers some odd behavior with the current latest version of nrfutil device + IronSide SE, which can cause the device to enter a reset loop and appear unresponsive and preventing 'west flash --recover' from working properly. Signed-off-by: Jonathan Nilsen <[email protected]>
1 parent eb7239c commit 78a6157

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/west_commands/runners/nrf_common.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,7 @@ def recover_target(self):
320320
# recover operation unlocks the core and then flashes a small image that
321321
# keeps the debug access port open, recovering the network core last
322322
# would result in that small image being deleted from the app core.
323-
# In the case of the 54H, the order is indifferent.
324-
if self.family in ('nrf53', 'nrf54h', 'nrf92'):
323+
if self.family in ('nrf53', 'nrf92'):
325324
self.exec_op('recover', core='Network')
326325

327326
self.exec_op('recover')

0 commit comments

Comments
 (0)