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
Cannot upload to esp8266 using CH341/CH340 serial adapter #479
Comments
Hi, Maybe a change like this needs to be ported to the uchcom.c driver: commit 40e43b056df9aa2392f673fcacc72725c2201658
|
Hi @hselasky, thanks for chiming in. Appreciate your help. To clarify, do you think a change like https://reviews.freebsd.org/rG40e43b056df9aa2392f673fcacc72725c2201658 would need to be made in the uchcom driver? So to be concrete, The exsiting
would need to be changed like this? Then we probably also need something like
and
I am not sure about the buffer size above. Maybe we should increase it to be on the safe side?
I really don't know what I am doing here, so I'd appreciate some help on this. Should I open a FreeBSD ticket on Bugzilla? |
The current buffer size is ok. The clear stall change is OK. Yes, make a PR, and add hselasky@freebsd.org , and I'll review your patch. You can also use: differential revision: Upload the patch and I'll help you. Maybe you learn something :-) --HPS |
Thanks @hselasky. Here: |
Cannot seem to upload to esp8266 based devices that use a WinChipHead CH341/CH340 serial adapter using esptool.py. It works with other serial adapters. Bug in uchcom?
https://github.com/freebsd/freebsd-src/commits/main/sys/dev/usb/serial/uchcom.c
Reference:
The text was updated successfully, but these errors were encountered: