WSL (Windows 11) Notes
WSL natively does not have access to USB devices. To flash the board properly and allow the GDS to communicate with the deployment board via UART over USB, follow these one-time steps.
-
On Powershell as administrator, install and run usbipd-win: Run Powershell as administrator
-
On Powershell find your USB device:
[!Note] You should see two STM32 devices listed with different BUSID's. One corresponds to the USB PWR and the other to USER USB.
-
On Powershell bind both devices to USBIPD in two separate commands (as administrator):
- On WSL confirm visibility of USB device:
[!Note] On WSL, the device will usually appear as /dev/ttyACM0. You can check using ls /dev/ttyACM*