-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Support 31250 baud in the Serial Monitor #3879
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
Comments
I suspect this might be problematic on Linux, where non-standard baudrates (such I think this one is) are a bit tricky to support (see #3351 (comment)). I guess this will be wontfix - you'll have to use a different terminal emulator that knows how to properly set custom baudrates. |
Oh I did not know of the last PR chris linked. I really like to see some more baud rates and also linux support for them. Other terminal program can do this too. Why does it work with windows and not with linux. Thats embarrassing. At least a warning would be nice, but the option for windows users to enable this feature. Also a table of supported linux baud rates would be nice. There are some online but not all work 100% especially for a cdc bootloader or so. Even very simple baud rates like 300 caused problems for me. |
I think I thoroughly explained the situation in the comment linked above. The PR Chris linked will only cause an error message in Linux when trying to use an unsupported baudrate. I guess that means that adding baudrates that are not supported on Linux might be feasible now, to at least get them working for Windows and perhaps Mac users (not sure how the custom baud rate situation on those platforms is). If you really want to get more baudrates supported on Linux, the only way is to fix JSSC to support the right APIs to configure them.
Feel free to test and compile a list, but I think that it can be somewhat system-dependent. The JSSC limitations means that arbitrary baudrates (say 12345 bps) are not supported, only well-known baudrates. If 300bps isn't working, this is probably a bug in another part of the system. Ideally, al bugs would be fixed and JSSC is extended, but each of these are different issues and should be tracked and investigated as such. I agree that it would be nice to fix these, but I suspect it's not a priority for the Arduino team. |
@matthijskooijman: If this is not possible on Linux, but is feasible on Windows and OSX, how about a compromise then and support it under Windows and OSX, but not Linux? Maybe use an #ifdef to target these specific platforms? Not ideal, I know, but would still be nice to have. @Chris--A: To those doing MIDI development this is valuable speed. MIDI has been around for 30 years now (amazing!). It's a serial communication standard, and the speed is always 31250 baud. I hope this can get in, and thanks for the consideration, Jeff |
I'm closing this as a duplicate of arduino/serial-monitor#33, which somewhat more generically addresses this issue. |
I'm using HTerm @ 28800 8n1 to debug single events, that works for 31250 BAUD coming from ARDUION, but not for serial streams, as I said, just for single events. usualy I have MIDIOX running on a 2nd PC connected with a MIDI interface to the serial ARDUINO output. This is really a comfortable tool. |
and right now I found this: |
I'd like the Serial Monitor window to support a baud rate of 31250. I use Arduinos to develop MIDI projects. MIDI also uses serial communication, but at a speed of 31250. While debugging, I have to switch the output to the serial monitor to debug what is outputted. When I do this, I also have to change the serial speed. It would be nice if the IDE supported a serial rate of 31250. This would be one less thing I'd have to change when going back and forth.
Thanks,
Jeff
The text was updated successfully, but these errors were encountered: