Re: Exar multi port serial, Com16550 driver interrupt problem

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: vijay (vijaya_mit_at_hotmail.com)
Date: 11/07/04

  • Next message: Matt Samet: "Re: Sources and Dirs files driving me absolutely INSANE!"
    Date: 6 Nov 2004 23:11:26 -0800
    
    

    "Bill T" <btheisen@itis.com> wrote in message news:<udlSv4$wEHA.1512@TK2MSFTNGP12.phx.gbl>...
    > Vijay
    >
    > It looks like you are trying to make the MS serial driver work with the Exar
    > UARTS. Are you aware that Exar offers a CE serial driver for there multiple
    > UARTS?
    >
    > "vijay" <vijaya_mit@hotmail.com> wrote in message
    > news:aea5c7a2.0411060350.1c181463@posting.google.com...
    > > Hi,
    > > i am facing problems in interrupt recognition for the com16550
    > > driver
    > > The driver is for a octal serial port with shared irq. i am having
    > > separate
    > > instance of the com16550 driver for each port in the octal. The
    > > detection
    > > as to which port caused the interrupt is done in ISR.
    > >
    > > The problem seems to be in the SL_getinterrupttype function reading
    > > interrupt
    > > type from IIR register. The value read indicates that there is no
    > > interrupt
    > > when data is sent( the value of IIR is often "0xb" but sometimes shows
    > > rx
    > > interrupt or modem intr when transmitting data !!!)
    > > i can send one byte or max 16 bytes ( max size limited to 16 even
    > > though
    > > fifo size is 64) but after that when interrupt occurs the interrupt is
    > > not
    > > rightly recognised.
    > >
    > > even though i went thru the mailing list i couldnt find any solution..
    > > the register stride is 1 and addresses seems to b ok
    > > ...i must be missing something
    > >
    > > please can anyone help me out with this ..
    > > thanks in advance
    > >
    > > Summary of my platform:
    > > Processor: Hitachi SH3 (7727)
    > > WinCE version: 4.2
    > > Platform Builder version: 4.2
    > > Download transport: Ethernet
    > > Debugger transport: Serial (115200 8-N-1) (SCI port)
    > > Octal Uart :Exar XR16L2750
    > > Dual Uart :Exar XR16L788
    > >
    > >

    Bill thanks for the reply..

    we contacted exar before ,they dont have a WinCE driver for XR16L788..
    but the XR16L788 octal uart is supposed to b 16C550 compatible so i guessed
    that the MS com16550 driver might work with it..

    we have a dual uart from exar for which the WinCE driver from exar is giving
    similar problems..the interrupt from the octal and the dual uart is connected
    to the PINT0 (octal shared interrupt) and PINT1 and PINT2 respectively

    i dont have any debugger working hence its proving tough to debug..
    neither the kitl is setup..i am relying on debug messages from the driver
    I must b missing something .it would b helpful if someone can point out
    or give some suggestions


  • Next message: Matt Samet: "Re: Sources and Dirs files driving me absolutely INSANE!"

    Relevant Pages