radio_tool icon indicating copy to clipboard operation
radio_tool copied to clipboard

"Failed to enumerate serial ports" on windows

Open UnHolds opened this issue 3 years ago • 1 comments
trafficstars

The error occurs due to the registry key: HKEY_LOCAL_MACHINE\\HARDWARE\\DEVICEMAP\\SERIALCOMM not existing, even if the radio is plugged in in DFU mode.

key is checked in serial_radio_factory.cpp

To create this entry I just plugged in any device that opens a serial port. Now the registry key exists. After that, I can unplug the serial device and flash the radio in DFU mode.

The same problem occurs again if the PC is rebooted.

UnHolds avatar Nov 05 '22 11:11 UnHolds

It's an easy fix, if the author wants a pull request I can submit it

AlexandreRouma avatar Jul 27 '23 00:07 AlexandreRouma