New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow upload over USB on cygwin to pixracer #12053
Comments
I can reproduce with two times the exact same setup and firmware (latest master). |
@MaEtUgR - even though it says ttyS3 am I correct to assume this is all USB? The display says windows mode is false. Here is a quick test - set the baud rate to the highest rate supported rate on Cygwin and see if it changes the time. This may be the original issue the OS time quanta per packet delay that I was seeing originally. |
@davids5 Yes, it's USB serial devices which are COM ports on Windows and these COM ports get mapped to |
@david5 I checked and either I change the wrong thing or it doesn't make any difference when I change the bootloader baudrate. I checked the What's also interesting is: on fmu-v5 I don't see that much of a difference in flashing time between |
On the pixracer I now also have a normal upload time using Windows Cygwin...: Did something change on master? |
I don't have a pixracer on hand right now, will try as soon as possible! Do you also get normal compiling speeds? It takes about 4-5 minutes to clean build the code for me. |
@MaEtUgR - how is Cygwin updated? Could this be related to and issue with Python on Cygwin that got fixed? |
@davids5 The toolchain can locally be updated. The version deployed in the installer is updated by generating a new installer through CI. It fetches the latest Cygwin packages here: https://github.com/PX4/windows-toolchain/blob/master/appveyor.yml#L21 But Cygwin is rather conservative and stable (vs bleeding edge). At least I didn't update the toolchain recently. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@MaEtUgR so this is fixed? |
I don't think so but since I consider it a minor problem I'm not planning to look into this very soon. |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
Describe the bug
Upload speed to pixracer is very slow.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Upload in 30s, speed that I usually get on Ubuntu build
Log Files and Screenshots
Additional context
Bug #10429 still happens irregularly, about 1/3 of trials to upload. Just hangs on "non-standard ... USB connection"
The text was updated successfully, but these errors were encountered: