Open dom96 opened 4 months ago
Hi! Have you tried the --list-all-ports
flag as suggested by the error message? I'm not a Windows user, but I know some colleagues are using WSL2 with no issues.
Yep, I have. It doesn't change the output.
Also FWIW it's working just fine in Windows PowerShell.
I've successfully flashed my ESP32 via other tools in WSL 1, but espflash does not work for me (even if I try it with usbipd set up on WSL2).
My setup is:
usbipd
v.4.2.0 installed (Windows side)lsb_release -a
)Have you tried attaching the device completely from Windows side, i.e.
> usbipd attach --wsl -b 1-7
I don't ever (need to) do usbip
on the WSL side. In particular, espflash board-info
works for me with the above setup, and ESP32-C3-DevKit-RUST-1 (chip rev 0.4) board.
..if that doesn't help, I would try installing the CP210x Universal Windows Driver
(v.11.3.0) on Windows side from here.
I can see you are using a standard UART (not JTAG) connector. Could it be that even though WSL properly lists it as "Silicon Labs : CP210x UART Bridge", it'd still need a driver on the Windows side?
..if that doesn't help, I would try installing the
CP210x Universal Windows Driver
(v.11.3.0) on Windows side from here.I can see you are using a standard UART (not JTAG) connector. Could it be that even though WSL properly lists it as "Silicon Labs : CP210x UART Bridge", it'd still need a driver on the Windows side?
Exactly same problem for me.
I've successfully flashed my ESP32 via other tools in WSL 1, but espflash does not work for me (even if I try it with usbipd set up on WSL2).
Here is what I'm seeing:
Am I missing something or should this work?