-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
Serial Monitor with Teensy T4.x (probably others) does not receive input #810
Comments
Quick update: the not getting input appears to happen with Arduino Uno as well... I had to modify the sketch some to remove printf and elapsedMillis...
|
And yeah, the ctrl-enter thing is really weird. |
Thanks Paul, I verified it worked as well... Again to developers - unclear why I did not see the CTRL+enter on it earlier... Maybe again me having to switch back from USB, I do see it did show up after I switched back... but probably by then eyes skipped over it. Side note: maybe it was also some frustration from trying to type that sketch in on Ubuntu... Maybe something is screwy with my machine, But: I had the IDE running
It stays in column 1 so I hit tab key and it moves out and it moves back to Col 1, hit tab again it moves to the next line before the }... Maybe something strange with machine, I did reboot and still the same... What the heck is going on. I finished typing it, in and built the sketch, ran it... then I clicked the close button on the window and window was closed and the program was lost without ever being prompted to save it... So the one I posted was the second attempt which I did on windows and it did not have the ghost moving the text cursor |
I am able to reproduce this with nightly build 20210201, but not with the latest nightly, so I think it must have been fixed by #792
This is being tracked at #572
Likely because in addition to the new trigger being unintuitive and non-standard, the message that explains it to you disappears as soon as you start typing text in the field. I pointed that poor user experience out in #572
Tracked here: #348
There were some previous reports of poor Serial Monitor performance at #79 and #519, but those were closed as fixed by #524 So please open a new issue to track this bug @PaulStoffregen.
Tracked here: #595
I think it must be this bug: #437 This high quality feedback is very valuable, but please try to make a dedicated issue report for each distinct bug or feature request. When many separate things are reported in the same issue it makes it very difficult to effectively and efficiently track them and we risk accidentally missing one. |
677 is another thing that can cause loss of unsaved work, but that one is related to the design of the save on exit dialog (which is presented if you have auto-save disabled in File > Preferences and exit with a sketch in a "dirty" state), while the problem you described was about no prompt at all on exit, indicating the sketch was not in a "dirty" state (#595)
It is probably this one: #753
This is #752, which is another symptom of the same bug that causes #753
Yay! I was very happy to discover it fixed when I gave it a try with my Teensy 4.0. |
I'm going to wait until #769 is fixed. Then I'll investigate by creating a pluggable monitor to serve as a reliable test case without depending on hardware specifics. |
Describe the bug
I wrote a simple sketch to output so many lines to the terminal monitor as fast as possible. I am curious to see if the new monitor can keep up with a T4.x which runs at full speed USB...
The sketch is nothing special, but loops waiting for input data to allow me to type in how many lines to output.
I then start up the sketch and do what is necessary to get it back to comm port (more later), and then it shows up my first prompt, I type in lets say 100 in what I am pretty sure is the input window for it and hit enter and the sketch does not receive any data and as such does not run any farther.
@PaulStoffregen - not sure if any of this touches the Teensy integration code or not. It should be using the default Serial monitor?
Again secondary issue: I believe that with earlier versions of Arduino like 1.8.19, if you chose to use the default Arduino monitor code, versus the Teensy updated monitor code, that the user choice was preserved between builds.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
I expected it in this case to output 100 lines plus summary to the serial monitor
Side note: At least on windows, when I now rebuild the sketch it switches the Serial port setting and terminal monitor will not work until I reset it.
That is I am trying the sketch: and the top shows I am on COM115
I then do a sketch upload and notice it changed what the active Serial is:
It then does not allow me to use Serial monitor:
so I go back to tools ports and switch back (Probably should have done screen shot after I selected the COM line.
And then we are back to:
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: