We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa9dce0 commit bd1009eCopy full SHA for bd1009e
test/hil/hil_test.py
@@ -115,7 +115,7 @@ def flash_jlink(board, firmware):
115
116
def flash_openocd(board, firmware):
117
ret = subprocess.run(
118
- f'openocd -c "adapter serial {board["flasher_sn"]}" {board["flasher_args"]} -c "program {firmware} reset exit"',
+ f'openocd -c "adapter serial {board["flasher_sn"]}" {board["flasher_args"]} -c "program {firmware}" -c "reset init" -c "resume" -c "exit"',
119
shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
120
return ret
121
0 commit comments