b1d8588a23a97af2c6c4190197b3a989d6ae737c
pyserial opens COM ports with dwShareMode=0 (exclusive) by default. On Windows 10/11 this can cause PermissionError(13) even when the port is not visibly occupied — the OS may have an internal handle. Added _open_port() helper that tries exclusive=False (FILE_SHARE_READ| FILE_SHARE_WRITE) first on Windows, falling back to exclusive if pyserial < 3.3. Applied to all 7 serial.Serial() call sites across serial_monitor, reboot_manager, widgets.
Description
Zynq Bootloader下载验证工具
1.1 MiB
Languages
Python
99.4%
Batchfile
0.6%