<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=290030116-24072001>Hi,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=290030116-24072001>I
found the problem, it was with my task driven I/O patch to
the</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=290030116-24072001>c/src/lib/libbsp/i386/shared/comm/uart.c file. I
have a cut/paste</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=290030116-24072001>error
in the BSP_uart_termios_read_com2 function. The </SPAN></FONT><FONT
color=#0000ff face=Arial size=2><SPAN class=290030116-24072001>first
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=290030116-24072001>block
of code in the function was using the BSP_UART_COM1</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=290030116-24072001>constant value instead of
BSP_UART_COM2.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=290030116-24072001></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=290030116-24072001>Joel,
do you want a patch file for this? I would like it to get
fixed</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=290030116-24072001>in the
next snapshot.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=290030116-24072001></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=290030116-24072001>Sorry
for the new bug,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=290030116-24072001>Mike
Siers</SPAN></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
<DIV class=OutlookMessageHeader><FONT face="Times New Roman"
size=2>-----Original Message-----<BR><B>From:</B> Mike Siers
[mailto:mikes@poliac.com]<BR><B>Sent:</B> Monday, July 23, 2001 2:48
PM<BR><B>To:</B> rtems-users@oarcorp.com<BR><B>Subject:</B> i386/pc386 COM2
Serial Port Problem<BR><BR></DIV></FONT>
<DIV><FONT face=Arial size=2><SPAN
class=930063619-23072001>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=930063619-23072001>I have program
that works perfectly when I use the COM1 serial port.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=930063619-23072001>If I switch the
application to use COM2 instead of COM1, it does not</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=930063619-23072001>work.
It</SPAN></FONT><FONT face=Arial size=2><SPAN class=930063619-23072001> does
not look like any data gets transmitted out over the
port. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=930063619-23072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=930063619-23072001>I have
</SPAN></FONT><FONT face=Arial size=2><SPAN class=930063619-23072001>both the
tty drivers in my device driver table and I see the device</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=930063619-23072001>initialized
message for both COM ports. I also have the number
of</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=930063619-23072001>file descriptors
set to 8.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=930063619-23072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=930063619-23072001>Has anyone seen
this problem? My application requires that I use
both</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=930063619-23072001>COM ports.
This test application is only using one port </SPAN></FONT><FONT face=Arial
size=2><SPAN class=930063619-23072001>at a time but it </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=930063619-23072001>does not work with
COM2. I am using the latest snapshot 2001/07/12.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=930063619-23072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=930063619-23072001>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=930063619-23072001>Mike
Siers</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=930063619-23072001></SPAN></FONT> </DIV></BLOCKQUOTE></BODY></HTML>