Date: Sat, 13 May 2006 14:13:08 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-stable@freebsd.org Subject: Odd RS232 problem Message-ID: <200605131413.17020.doconnor@gsoft.com.au>
next in thread | raw e-mail | index | archive | help
--nextPart4518799.q9uSsS8TSe Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I am trying to talk to a high voltage power supply unit we're using at work, it uses RS232 and you can read back current, voltage, faults, etc.. What I have seems to work fine except that occassionally I get junk read ba= ck, strangely it appears the longer my program runs the more often I see corru= pt data. The program is written in Tcl and I'm using version 8.4, I have a test PC h= ere which is quite old (FreeBSD 4.mumble, Tcl 8.2) and it never sees any problems. I = am soon going to try an identical system to the one failing (6.0-STABLE) It's possible it could be the Tcl interpreter getting corrupted but IMO it'= s a very odd manifestation if so.. The serial card in it is.. puc0: <Dolphin Peripherals 4036> port 0x9400-0x941f irq 18 at device 13.0 o= n pci0 sio4: <Dolphin Peripherals 4036> on puc0 sio4: type 16550A sio4: unable to activate interrupt in fast mode - using normal mode sio5: <Dolphin Peripherals 4036> on puc0 sio5: type 16550A sio5: unable to activate interrupt in fast mode - using normal mode So, apart from the actual program code everything else is different :) (Hopefully my next test will reduce the variable space a lot..) Any sugestions most welcome. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart4518799.q9uSsS8TSe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEZWPk5ZPcIHs/zowRAvwFAJ9MtFJ3w8Cx9PqyhN0/6C7oqOpSVACcDjlP sJ7uh3Kdvf9nckPRK0RB38w= =adxx -----END PGP SIGNATURE----- --nextPart4518799.q9uSsS8TSe--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605131413.17020.doconnor>