MegaPirateNG / FlashTool

Firmware flashing tool
GNU General Public License v2.0
15 stars 14 forks source link

COM port not detected in Flashtool #16

Open leocopter opened 10 years ago

leocopter commented 10 years ago

I think I found the source of the problem : QSerialPortInfo does not detect all the COM ports in Windows. This is an issue with QT. Is there a patch for this, or a way to roll back to another COM port detection routine ? And why not let the user input the COM port manually ?

smurfy commented 10 years ago

Hm, strange, i could add a manual option, but it seems strange that the QSerialPortInfo won't detect the port. did you try different usb ports?

leocopter commented 10 years ago

Yes I tried lower ports (5, 7). I tried a different AIOP board. I am using 44 ports on Win 7. That's probably the issue for QT. I get the same problem in Mint linux (ubuntu) opening Flashtools with Wine. The manual option would be much appreciated.

Thanks !

On Fri, Mar 28, 2014 at 9:05 AM, Philipp Andreas notifications@github.comwrote:

Hm, strange, i could add a manual option, but it seems strange that the QSerialPortInfo won't detect the port. did you try different usb ports?

Reply to this email directly or view it on GitHubhttps://github.com/MegaPirateNG/FlashTool/issues/16#issuecomment-38916545 .

smurfy commented 10 years ago

Ok. About the wine thing, flashtool compile just fine on linux/mac too but the avrdude call is not implemented.

A problem which could arise with a manual port detection is, that i plan to remove avrdude calls and flash directly #9 not sure if a port not detected by QSerialPortInfo will work with QSerialPort