Skip to content

Conversation

@nordicjm
Copy link
Contributor

@nordicjm nordicjm commented Jan 5, 2023

This adds a --no-reset command line argument that can be used to prevent a target being reset after a program operation has finished. The use-case for such a scenario includes when programming multiple images whereby one of the images enables security such as disabling the debugger, without this patch, only the first image would be flashed.

This adds a --no-reset command line argument that can be used to
prevent a target being reset after a program operation has finished.
The use-case for such a scenario includes when programming multiple
images whereby one of the images enables security such as disabling
the debugger, without this patch, only the first image would be
flashed.
@flit
Copy link
Member

flit commented Jan 6, 2023

Awesome! This was actually on my todo list. 😄

@flit
Copy link
Member

flit commented Jan 7, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@flit
Copy link
Member

flit commented Jan 17, 2023

Fyi, just noticed that this PR is targeting main. Because it's a feature addition, it should be targeted at develop. I'll merge it, cherry pick to develop, then delete the commit from main so you don't have to worry about it.

@flit flit merged commit df257a6 into pyocd:main Jan 17, 2023
flit pushed a commit to flit/pyOCD that referenced this pull request Jan 17, 2023
…yocd#1492)

This adds a --no-reset command line argument that can be used to
prevent a target being reset after a program operation has finished.
The use-case for such a scenario includes when programming multiple
images whereby one of the images enables security such as disabling
the debugger, without this patch, only the first image would be
flashed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants