Open Nable80 opened 3 years ago
Might be because we don't register the connection https://github.com/jonas-schievink/jaylink/pull/26
Thank you, this is awesome! I took that PR, changed some lines to fix compilation errors (Capabilities -> Capability, REGISTER -> Register, etc) and it seems to be working now.
Should I close this issue now or it's better to wait until #26 is prettified and merged?
Not hard failing ah this is tracked as #35 require_capability(Capability::SpeedInfo)
(as you've done in this patch) should be also done somewhere I guess…
There's a second issue that I discovered yesterday with the same old JLink-OB clone probes.
Although probe is detected correctly after connection, it fails to work and reports the lack of response from target:
Then I start and terminate (hit Ctrl+C) the official proprietary JLink tool (I want to get rid of this piece of non-free software, that's why I'm trying to learn how to use your library), it shows that both probe and target are OK:
And then I run
swdump
again and... it works too:It works until I disconnect and connect my probe again, then I have to run JLinkGDBServer again. I know this report is incomplete without traces / USB communication dumps but probably someone saw this behavior too and already know the answer.