Skip to content
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

ESPTOOL MS RDP upload to ESP32 #565

Closed
unmateria opened this issue Oct 4, 2020 · 1 comment
Closed

ESPTOOL MS RDP upload to ESP32 #565

unmateria opened this issue Oct 4, 2020 · 1 comment

Comments

@unmateria
Copy link

Hi,

ESPTool fails (for me at least) for upload via Microsoft RDP port sharing. The only way I found to make it work is to force --trace on esptool. Then it works.

Error is serial.serialutil.SerialException: GetOverlappedResult failed (OSError(22, 'Reached the end of the file.', None, 38))

Would be great a version that works without having to use --trace, since it make upload really slow.

@projectgus
Copy link
Contributor

Hi @unmateria,

Thanks for the tip that --trace somehow fixes this problem, I'm guessing by slowing down the serial operations. This suggests that possibly we can retry when we see this error, and the next attempt will succeed.

I'm going to close this as a duplicate of #530, I see you also found that issue and commented on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants