Flashing issues using WSL

First, if possible, don’t use WSL to flash.
During flashing agx orin, the state of orin changed multiple times and will be recognized as different devices. As a result, WSL might not be able to connect orin again.

Here is my steps to get it work:

Change the config of WSL:
(WSL2 flashing with NVIDIA SDK Manager - #6 by DaveYYY)

Find USB BUS ID

$ usbipd list

Bind it to WSL:

$ usbipd bind --forced -b BUSID

Check if it’s attached:

$ usbipd list

Forward to wsl

$ usbipd attach --wsl --busid BUSID --auto-attach

Into wsl, check:

$ lsusb

Again, don’t use WSL, just use Linux.