-
Notifications
You must be signed in to change notification settings - Fork 239
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
Uploads to Moddable Zero often fail under Windows 10 #18
Comments
Not our code. ;) Try turning the baud rate down in make.esp.mk. It defaults to |
FWIW - the maximum baud rate appears to be a function of the computer, USB driver, and perhaps USB cable. We held a workshop recently using only Windows computers and there were no upload failures at |
Thanks. I'll try some more options. Do the docs that calls out that config option somewhere? Also, sometimes the transfer fails before it actually starts (the second screenshot). I'm sometimes seeing the following error printed to terminal a few seconds after a failure or after terminating xsbug. Could xsbug be holding the port open?
|
Sorry, need to revise that description. The message about |
We've not seen a failure on Windows because of the baud rate. If that turns out to be your problem, how to change the baud rate should be documented. There is no need need to disconnect before flashing. |
Alright - USB cable #3 is much better than the first two I tried - I'm back up at 921600. For users who haven't used an ESP in a few years, it might be worth calling out that the situation is sensitive to cable selection. With the good cable, I now see the serial2xsbug.c error immediately after closing xsbug if I happen to terminate the batch script first. With my first cable, the message was not appearing until I disconnected the device. Retrying the upload before the message appears seems to always fail. I apparently had a Goldilocks cable to get exactly this problem, but wanted to describe it here in case someone in the future asks about it. |
Failures were due to a cable that couldn't handle high speed data. Closing as that is the primary issue here. The batch behavior is being addressed separately. |
Uploading code (in this case the "drag" example) to the Moddable Zero fails more than 50% of the time.
This is under Windows 10 x64.
Two examples follow:
The text was updated successfully, but these errors were encountered: