-
-
Notifications
You must be signed in to change notification settings - Fork 236
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
Segger J-Link issue #96
Comments
Please provide the log of the server following: https://github.com/dorssel/usbipd-win/wiki/Troubleshooting |
I get only these ones. |
Please run with |
After I updated J-Link drivers on host side (j-link drivers now have same version), the connection worked, but the VSCode debugger still doesn't work. |
There are no errors in that log. This means that |
Hi @DanieleNardi, I am currently working on it and I can debug with JLink + cortex-debug from within VSCode. I also have some problems with the udev service under WSL2+Ubuntu20.04.
Also this only works if you didn't already attach the USB device to WSL2. So you need to first restart the udev service and then attach the USB device. At least on my setup I have to do it. |
Very good to know! Thank you! |
@RoboGnome :
Thanks for this! I did not need to copy udev rules, but these two commands got my JLink working. |
WSL documentation has been updated with udev details. Closing. |
I'm trying to share my Segger J-Link over USB to my WSL2 instance, but no success right now. The device appears in lsusb list. JLinkGDBServerCL just replies that the connection to J-Link failed then it asks me
Connected correctly?
.I'm trying to debug on-chip application from WSL2 using Visual Studio Code.
Environment settings:
Host: Windows 10 Pro 21H1
WSL2 instance: Ubuntu 20.04 LST (5.10.60.1-microsoft-standard-WSL2)
J-link version 7.58a installed in WSL2 instance above.
arm toolchain: arm-none-eabi-8-2018-q4-major
VSCode launch.json configuration:
The text was updated successfully, but these errors were encountered: