-
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
MCU hotplug - stlink doesn't recover the STLINKV2 from error state. #888
Comments
I currently know of only one way to clear the error state: unplug and replug the STLINK. The cause for the "errorstate" is, I suspect, that the decoupling caps in the target pull the 3.3V on the stlink low enough that the STLINk crashes. So maybe there is nothing to recover. |
Old version: (aborts as expected).
Recent version that does not abort.
|
Not very nice indeed... Thx for putting this up. 👍 |
I guess, this problem may be restored to the expected aborts behaviour by applying the same method used in #913 |
@rewolff: Are you working on this? |
Sorry.... Paid work takes precedence.... Should I find some free time... |
Thats ok. I just wanted to know if there was any further activity planned here. Yes, you can add the |
@Ant-ON This may also be addressed in your recent PR. |
@Nightwalker-87 Not, it's not related. To solve this issue, needs to catch |
This issue is now closed due to inactivity. |
When hotplugging CPUs or boards, the STLINK often goes into "error" state. Not sure if it CAN be recovered, but if possible, resetting the error state would be nice. :-)
The text was updated successfully, but these errors were encountered: