-
Notifications
You must be signed in to change notification settings - Fork 475
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
reset subcommand ignores manual reset_type option value #1042
Comments
Thanks for the bug report. Manually setting the The default for The reason the default is different is due to the intended usage of So, some of this behaviour is as intended, but isn't clearly documented. Aside from improved documentation, the main thing that could be changed or fixed is to check for and honour (or at least print a warning) for a manually-set |
I haven't used pyOCD (or even SWD for that matter) enough to make a cogent argument on how it should work, so I'll leave it to you. |
I'm currently experimenting with Some other comments:
That's what
But not what I see in practice with frdm_k64f board:
With
IMHO yes, there's should be reaction from the app when user sets an option, but the app ignores it (and not ignoring, but do as user asks for is even better). Thanks. |
Closing; this should be fixed now. |
The docs say the default reset_type is sw, but 'pyocd reset -v' says hw:
Even 'pyocd reset -O reset_type=sw -v' still does a hw reset.
This is with pyocd 0.28.3 installed using pip.
The text was updated successfully, but these errors were encountered: