-
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
second session on OSX fails without a power cycle #31
Comments
Ok - and per suggestion from karlp I realized that if you exit from gdb then it runs through _stlink_usb_close but not if you just ctrl-c. In the former case I can run st-util without power cycling. |
As this issue is approximate 5 years I'm closing this in favor of the new |
We should check whether |
It’s possible with a signal handler. Hooking SIGINT will do the job. As long as the handler will finally exit, it will be portable at least for UNIX(-like) systems. |
Likely to be. What the first commit did is exactly what I suggested. |
Thanks for your feedback. 👍 |
Connecting to an F4 discovery board with st-util works perfectly the first time. However, after exiting with ctrl-c and running again I get errors from libusb. Here is a verbose log from the two executions:
The text was updated successfully, but these errors were encountered: