[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

serial port loop


I used

cat /dev/ttySx and echo Hello > /dev/ttySx

in two terminal window. Txd and RxD was connected to each other. I realised
that with ttyS0 if I sent once it appears once in the other window. However
on ttyS1 and ttyS2 seems like an endless loop. The output was:

Hello <newline><nl>
Hello <nl><nl><nl><nl>
Hello <nl><nl><nl><nl><nl><nl><nl><nl>
Hello 16x<nl>

Is it normal?



Problems with Windows - Reboot.
Problems with Linux       - Be root.

The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. 

This email and any response may be monitored by Sony United Kingdom Limited.