LPC Link2 WSL2+usbipd error "array index out of range"
Open
Nobody has claimed this yet.
probe/cmsis-dap
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 560
- Avg merge
- 1h 41m
- Merged PRs (30d)
- 3
Description
I am using WSL2 with Ubuntu. To pass the USB devices to WSL I am using usbipd to attach the device so that it can be recognized when calling lsusb. After ensuring that the device is available in WSL, I try running pyocd list to see if my device is available. I am using an LPC Link2 Debugger with LPC54102 MCU.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce pyocd list under WSL2 with Ubuntu, usbipd, and the LPC Link2/LPC54102 setup, capturing the complete error and environment details. Trace the device-enumeration path that produces the array-index failure; done means pyocd list recognizes the debugger without raising the exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, ubuntu
- Domain
- devtools, embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100