i386/pc386 COM2 Serial Port Problem - Solved

Mike Siers mikes at poliac.com
Tue Jul 24 16:07:46 UTC 2001

I found the problem, it was with my task driven I/O patch to the
c/src/lib/libbsp/i386/shared/comm/uart.c file.  I have a cut/paste
error in the BSP_uart_termios_read_com2 function.  The first
block of code in the function was using the BSP_UART_COM1
constant value instead of BSP_UART_COM2.

Joel, do you want a patch file for this?  I would like it to get fixed
in the next snapshot.

Sorry for the new bug,
Mike Siers
  -----Original Message-----
  From: Mike Siers [mailto:mikes at poliac.com]
  Sent: Monday, July 23, 2001 2:48 PM
  To: rtems-users at oarcorp.com
  Subject: i386/pc386 COM2 Serial Port Problem

  I have program that works perfectly when I use the COM1 serial port.
  If I switch the application to use COM2 instead of COM1, it does not
  work.  It does not look like any data gets transmitted out over the port.

  I have both the tty drivers in my device driver table and I see the device
  initialized message for both COM ports.  I also have the number of
  file descriptors set to 8.

  Has anyone seen this problem?  My application requires that I use both
  COM ports.  This test application is only using one port at a time but it
  does not work with COM2.  I am using the latest snapshot 2001/07/12.

  Mike Siers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20010724/19bb7309/attachment-0001.html>

More information about the users mailing list