Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flash: Add option to prevent resetting of device after programming #1492

Merged
merged 1 commit into from
Jan 17, 2023
Merged

flash: Add option to prevent resetting of device after programming #1492

merged 1 commit into from
Jan 17, 2023

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.

None yet

2 participants