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
Using bldc-tool under Windows, every time I upload new firmware to the board, the program freezes. It also happens when pressing "reboot" button. Whenever USB device is shutted off while the connection with bldc-tool was established, then bldc-tool hangs.
The text was updated successfully, but these errors were encountered:
This is not the case under Linux, where the error from the serial port is reported properly on disconnect so that the port can be closed. I don't have any windows computer and I never use windows, so I have never used or tested the windows build of bldc tool. Maybe someone who has windows and some qt experience can help out here.
I did some research on this. Apparently, qt under Windows has problems with
USB virtual serial ports. When an error occurs, the
handler MainWindow::serialPortError() tries to make a mSerialPort->close()
but that generates a new error, and the program goes into an infinite loop.
If I comment out that line, the program fails to connect again, but don't
freezes.
This is not the case under Linux, where the error from the serial port is
reported properly on disconnect so that the port can be closed. I don't
have any windows computer and I never use windows, so I have never used or
tested the windows build of bldc tool. Maybe someone who has windows and
some qt experience can help out here.
—
Reply to this email directly or view it on GitHub #9 (comment).
Using bldc-tool under Windows, every time I upload new firmware to the board, the program freezes. It also happens when pressing "reboot" button. Whenever USB device is shutted off while the connection with bldc-tool was established, then bldc-tool hangs.
The text was updated successfully, but these errors were encountered: