I borrowed a laptop (a VERY old Win95 system) and connected the serial
port to the HP machine (WinXP on the hard drive and Linux Mint 8 on a
LiveCD).

I ran HyperTerminal on the Win95 Laptop and configured it to:
2400 8-N-1 with no Flow Control.

On the HP tower I ran miniterm.py and configured the port and sent a few 
characters.
Here is the miniterm.py screen cut&paste:
===============================================================
--- Baudrate: 2400

--- Settings: /dev/ttyS0  2400,7,N,1
--- RTS active
--- DTR active
--- BREAK inactive
--- software flow control inactive
--- hardware flow control inactive
--- data escaping: raw
--- linefeed: CR/LF
--- CTS: inactive  DSR: inactive  RI: inactive  CD: inactive


===============================================================
Note the garbage characters that were received from the laptop HyperTerminal 
session.  The laptop 2400 baud 
HyperTerminal session did not indicate any received characters.

Then I changed the miniterm.py session on the HP tower to 19200 baud.  Here is 
a cut&paste of the miniterm.py session:
===============================================================
Baudrate: 19200

--- Settings: /dev/ttyS0  19200,7,N,1
--- RTS active
--- DTR active
--- BREAK inactive
--- software flow control inactive
--- hardware flow control inactive
--- data escaping: raw
--- linefeed: CR/LF
--- CTS: inactive  DSR: inactive  RI: inactive  CD: inactive

asdfghjkqwertyuip
1234567890
This is a test.  This is only a test.
Do not pass "GO".  Do not collect $200.
===============================================================
Note the correct characters received from the 2400 baud laptop HyperTerminal 
session.

I also rebooted the HP tower into WinXP and started HyperTerminal.  The
connection was made properly with characters transferred legibly in both
directions at 2400 baud for both the laptop Win95 and the tower WinXP
HyperTerm sessions.

Obviously, we do NOT have a 2400 baud terminal communicating directly
with a PySerial 19200 terminal.  The 19200 baud indication from the
miniterm.py (PySerial) session is in error and is actually 2400 baud.

Blessings in abundance, all the best, and ENJOY!
Art in Carlisle PA USA

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/712257

Title:
  PySerial Baud Rate anomaly

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to