-
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
"[!] send_recv" error message is a little cryptic #425
Comments
I made pull request #426 to address this issue. When the send_recv() fails, now it outputs the libusb error name and what it was trying to do (send request/read reply) when the failure happened. And when the caller notices send_recv() failed, it also outputs the STLINK_... command name that it was attempting. Makes it particularly easy to unambiguously diagnose when one stage in stlink access causes future requests to fail. |
Hi @galexander1 looks very good to me. @texane could you also review the PR #426? You may merge this after review. |
sorry for delay, but looks good to me too 2016-06-05 20:37 GMT+02:00 Jerry Jacobs [email protected]:
|
Good, so my "silent" merge effort is not lost :=) |
Of course it is not :) 2016-06-05 20:45 GMT+02:00 Jerry Jacobs [email protected]:
|
To diagnose a recent problem (#423), I found screens full of "[!] send_recv", which was not meaningful to me - I could not even be certain it was an error message. Pull request forthcoming.
The text was updated successfully, but these errors were encountered: