Lines Matching +full:- +full:- +full:recover
4 # SPDX-License-Identifier: Apache-2.0
76 '''Runner front-end base class for nrf tools.'''
79 reset=True, tool_opt=None, force=False, recover=False): argument
90 self.recover = bool(recover)
106 def dev_id_help(cls) -> str:
107 return '''Device identifier. Use it to select the J-Link Serial Number
113 parser.add_argument('--nrf-family',
118 parser.add_argument('--softreset', required=False,
121 parser.add_argument('--snr', required=False, dest='dev_id',
122 help='obsolete synonym for -i/--dev-id')
123 parser.add_argument('--force', required=False,
126 parser.add_argument('--recover', required=False,
128 help='''erase all user available non-volatile
195 p = f'Please select one with desired serial number (1-{len(snrs)}): '
208 return snrs[value - 1]
261 ' Note: this will recover and erase all flash memory '
266 ' To fix, run "west flash --recover" instead.\n' +
275 'west flash again with --erase, or --recover.'
290 # recover operation unlocks the core and then flashes a small image that
295 self.exec_op('recover', core='NRFDL_DEVICE_CORE_NETWORK')
297 self.exec_op('recover')
327 "Please ensure that the correct version of nrf-regtool is "
328 "installed, then run 'west build --cmake' to try again."
429 # with the correct '--coprocessor' arguments.
486 self.exec_op('pinreset-enable')
499 if op['type'] not in ('erase', 'recover', 'program'):
575 if self.recover: