For fun, a little experiment. I did not want to write code - some could say it may have a bug?
So, I just startet a Teensy with a empty sketch. I want to try the opposite direction.
And yes, teensy just does nothing! It blocks incomming data (or whatever)
Then I used Tera Term:
I sent the 1e6 Bytes file from yesterday via copy & paste.
This is what happened:
It just sent the data. No errormessage, nothing. WIth local echo enabled, it printed the whole file as if there wasn't any problem.
Then I tried H-Term, with the "send file" option.
H-Term said it send 200Bytes sucessfully. But it stopped completely then, and I had to kill it with the task manager, The "cancel" button was dead.
Despite of the hang, H-Term seems to be a bit smarter as it recognized that something is wrong. Perhaps it uses the windows driver in a different way.
Or at least does some checks which Tera does not.
interesting:
You see the "delay" option? What might it be for?
So.. It's an aplication-thing to handle it. Opposite direction, too.
@Frank, you mentioned some known Serial bug, do you have more info about that?
Not really. Some Programs - not all - display garbage if the Teensy sends very very fast. They display PC memory contents between the Teensy Data.
You can try it with the Arduino Serial Monitor. Let it scroll trough fast - you need a fast finger to stop scrolling
I've seen java string constants between the correct data, or other things. Like a wrong pointer.
It's not only in the Monitor.. so it can't be a bug there. It must be a Windows problem.