Shop OBEX P1 Docs P2 Docs Learn Events
Serial Port Problem - Hung During Write — Parallax Forums

Serial Port Problem - Hung During Write

ArchiverArchiver Posts: 46,084
edited 2004-05-04 03:26 in General Discussion
Still having problem with PC Java Comm API hanging in
OutputStream.write if the BS2 is not currently executing SERIN with
the flow control pin. From what I've read today, CTS should be 0 when
SERIN is active with the flow control pin specified. Also I see RTS
as 0 which I believe is good.

Using a Sipex 232ACP (like MAX232) so I can use h/w flow control.

Again, if the BS2 is waiting in SERIN when the PC write occurs,
everything works and I can read and write bytes in both directions
several times with no hang.

Any ideas?

Also from what I've seen and read, the Java Comm API isn't very good.
Anyone use the Java SerialIO library?

Thanks a lot.

Harry
Sign In or Register to comment.