Serial Port Problem - Hung During Write
Archiver
Posts: 46,084
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
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