radio_tool
radio_tool copied to clipboard
"Failed to enumerate serial ports" on windows
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.
It's an easy fix, if the author wants a pull request I can submit it