Odd RS232 problem

Daniel O'Connor doconnor at gsoft.com.au
Fri May 12 21:43:27 PDT 2006

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 back,
 strangely it appears the longer my program runs the more often I see corrupt data.

The program is written in Tcl and I'm using version 8.4, I have a test PC here 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 on 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.

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060513/e7ec17b5/attachment.pgp

More information about the freebsd-stable mailing list