-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add parameter to specify BOOT and ENABLE pins on usbserial dongle #20
Comments
CTS is an input pin, do you mean RTS? |
Didn't knew that. I don't really care about bootloader pin, because i switch it manualy. But the reset pin is important for me. Still i guess other people might need to specify bootloader pin. |
Hello, I encountered the same problem. Solved it by swapping DTR and RTS. |
I've just realized that CTS pin of FTDI usb2serial is bidirectional. Hence my confusion. It would be great if MOS provided also support for reset using FTDI bitbang mode, it's quite common series of chips and the api is compatible across all FTDI products, so it should be easy to do. Idealy support both like this:
or
|
not as easy as it seems. we'd need ftdi-specific api to control it, since normally cts is input-only. |
@rojer i am fully aware of this. hence i suggested the |
i mean, before committing to tis, i'd like to know how common this is. |
ok, this makes sense.
|
Hello,
i have ESP32 development board, which has ENABLE (RESET) pin connected to DTR of FTDI usb serial converter. This works very well when flashing ESP32 using Arduino IDE, but does not work when using
mos flash
, because mos tool seems to use RTS pin of FTDI rather than DTR.Can you please add arguments, so i can specify this? Eg. something like:
mos flash --port /dev/ttyUSB1 --pin-reset=DTR --pin-bootloader=CTS
This would be super usefull for me.
The text was updated successfully, but these errors were encountered: