-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[feature] Add "Connect under Reset" option #577
Comments
Connect under reset is not to difficult the stlink has a command to assert the nRST pin and then try to connect. But this needs to be implemented. |
I have a same trouble and use this workaround iglooom@19381ff |
The nRST reset pin is assert differently. I'm not sure what the output state of the pin is in your commit. First we need to measure and then implement a fix which works for everybody. |
I also needed this functionality. While I added it to my own copy of the repo, it'd be nice if it made it in somehow. Here are the issues in stlink_open_usb:
Here's what I changed --
To:
|
@geoffreymbrown: What about proposing a PR? |
The various existing apps wouldn't automatically make use of it, but anything using the library could. |
st-flash
SWCLK and SWDIO pins of my mcu are used and configured as output. That means to program the flash I have to use the "Connect Under Reset" option. This option seems to be missing. At least adding --reset does not help in that case.
The text was updated successfully, but these errors were encountered: