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
[Feature] allow serial speed to be increased #277
Comments
The reason I haven't made it configurable yet until now is because switching the baud rate on a serial port that has been used before on the old baud rate is causing the serial port in the browser to stop working (and I haven't spend time to investigate why). Ideally we would go to a faster speed when we know it is supported. The current speed is chosen because it works for both good and shitty UART chips. Allowing you to configure one means it might not work on every chip. Now as a firmware owner you probably know what you do and don't support so this can be considered. |
Wow, tricky assumption ;) But on a more serious note, can you see what the current baudrate is? |
|
I meant checking the serial port to ask its set baudrate. |
That's not how it works. We request a port, and then we open it with a specific baudrate (docs) |
Thanks for the details. Actually we only use one devkit, but still there are many variants and clones out there. |
If it makes your life easier, you could open a PR first to extract it into a single constant. That would make it configurable later on easier too. |
Flashed a lot of different devices (beeing a member of Tasmota). Tried to increase the speed from 115200 to higher ones. Finally i went back to 115200 as standard for Tasmota setup. Even devices from the same type (which one worked with higher serial speed) are not safe to use with higher speeds. I believe, you like more not to do unnecessary issue work. So it is just telling some users the speed used is the safe one. I had until now, no Tasmota user complaining about the speed when using the Tasmota Web Installer. Almost everyone is happy how simple it is to get the firmware installed. |
I had good results using my test device (which does say nothing for the field, I know). Seeing the increase in speed, it might be worth to give it a try and fallback if it does not work. I've to say again that I only work with "esp32dev" boards having to flash any device you are likely better of not putting it in a strange state where you might loose communication. I had do do minimal changes to the call to the The change I did is applied as "patch" to |
If I flash via command line I use upload_speed of 921600. It would be great if this is also possible via esp-web-tools, might be as a additional parameter (per
build
) in the manifest?The text was updated successfully, but these errors were encountered: