You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show USB serial numbers to tell identical boards apart #1142
With several identical boards connected, list-ports and the interactive port selection show identical rows, so there's no way to tell which port is which board:
/dev/cu.usbmodem111301 303A:1001 Espressif USB JTAG/serial debug unit
/dev/cu.usbmodem111401 303A:1001 Espressif USB JTAG/serial debug unit
/dev/cu.usbserial-11110 10C4:EA60 Silicon Labs CP2102N USB to UART Bridge Controller
/dev/cu.usbserial-11120 10C4:EA60 Silicon Labs CP2102N USB to UART Bridge Controller
The USB serial number is available in UsbPortInfo::serial_number. For the USB-Serial-JTAG peripheral it is the chip's MAC address (D0:CF:13:ED:BC:94 and 60:55:F9:F5:20:D4 here), which board-info also prints. CP2102N bridges have unique serial numbers too (e.g. fea9cc9ca470f011a34d8a301045c30f).
Would you like to implement this feature? n
Solution
Show the serial number as an extra column in list-ports, and in the interactive port selection when two ports have the same VID/PID and product. --name-only stays unchanged.
Alternatives
Only show it with a --verbose flag.
Additional context
Related to #1023 (selecting a port by VID/PID). Selecting by serial number would be a natural follow-up.
Hi! I'm interested in working on this issue as my first contribution to espflash (and open source in general). I'm familiar with espressif software (mainly esp-idf) and am trying to learn/improve my rust skills, so I figured this would be a great first step. Please let me know if there's any information or design considerations I should familiarize myself with before getting started!
Hi! Great, looking forward to your contributiuons! As a reference, you can use old PRs and check the esp-hal documentation folder (somethings also apply here).
Activity
Jay-Karson commentedon Nov 21, 2026
Hi! I'm interested in working on this issue as my first contribution to espflash (and open source in general). I'm familiar with espressif software (mainly esp-idf) and am trying to learn/improve my rust skills, so I figured this would be a great first step. Please let me know if there's any information or design considerations I should familiarize myself with before getting started!
SergioGasquez commentedon Nov 21, 2026
Hi! Great, looking forward to your contributiuons! As a reference, you can use old PRs and check the esp-hal documentation folder (somethings also apply here).