gutemberg franca
11/10/2008 2:34 PM
post16335
|
Hello,
I am using a 4 RS-232 ISA interface module along with a PC-104 board, but i don't have enough IRQs available for the 4
RS-232 ports. I tried to start the devc-ser8250 sharing one IRQ between two ports but didn't work. I'd like to know if
the devc-ser8250 driver supports ISA IRQ sharing or do i need to write an ISR function, if so could anyone supply me
some example code or any help. Is there anyway i could share ISA IRQ on QNX 6.3.2???
I have 4 ports with only 3 IRQs...need one more!
Many thanks in advance
Gutemberg Franca
|
|
|
Robert Craig
11/10/2008 2:42 PM
post16336
|
Hi:
This doesn't appear to be a networking question so you might not get
an answer from anyone else...
I suspect that the problem is "does your hardware support interrupt
sharing". I've seen devc-ser8250 support IRQ sharing on PCI, but I
don't think that ISA supports this.
-----Original Message-----
From: gutemberg franca [mailto:community-noreply@qnx.com]
Sent: Monday, November 10, 2008 2:34 PM
To: drivers-networking
Subject: ISA IRQ sharing
Hello,
I am using a 4 RS-232 ISA interface module along with a PC-104 board,
but i don't have enough IRQs available for the 4 RS-232 ports. I tried
to start the devc-ser8250 sharing one IRQ between two ports but didn't
work. I'd like to know if the devc-ser8250 driver supports ISA IRQ
sharing or do i need to write an ISR function, if so could anyone supply
me some example code or any help. Is there anyway i could share ISA IRQ
on QNX 6.3.2???
I have 4 ports with only 3 IRQs...need one more!
Many thanks in advance
Gutemberg Franca
_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post16335
|
|
|
Mario Charest
11/10/2008 3:26 PM
post16341
|
The ISA bus doesn`t support sharing of interrupts. It`s an electrical limitation. Some companies have cards with
multiple serial devices on it which do share interrupts but it`s all taken care of by onboard circuitry.
-----Original Message-----
From: Robert Craig [mailto:community-noreply@qnx.com]
Sent: November-10-08 2:42 PM
To: drivers-networking
Subject: RE: ISA IRQ sharing
Hi:
This doesn't appear to be a networking question so you might not get
an answer from anyone else...
I suspect that the problem is "does your hardware support interrupt
sharing". I've seen devc-ser8250 support IRQ sharing on PCI, but I
don't think that ISA supports this.
-----Original Message-----
From: gutemberg franca [mailto:community-noreply@qnx.com]
Sent: Monday, November 10, 2008 2:34 PM
To: drivers-networking
Subject: ISA IRQ sharing
Hello,
I am using a 4 RS-232 ISA interface module along with a PC-104 board,
but i don't have enough IRQs available for the 4 RS-232 ports. I tried
to start the devc-ser8250 sharing one IRQ between two ports but didn't
work. I'd like to know if the devc-ser8250 driver supports ISA IRQ
sharing or do i need to write an ISR function, if so could anyone supply
me some example code or any help. Is there anyway i could share ISA IRQ
on QNX 6.3.2???
I have 4 ports with only 3 IRQs...need one more!
Many thanks in advance
Gutemberg Franca
_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post16335
_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post16336
|
|
|
Andrew Boyd(deleted)
11/10/2008 3:29 PM
post16342
|
> The ISA bus doesn`t support sharing of interrupts.
> It`s an electrical limitation.
Right - ISA uses edge-sensitive interrupts, and PCI
uses level-sensitive interrupts. IIRC PCI is active
pull-down, which is why sharing interrupts works - the
interrupt is asserted until all devices stop pulling
it down.
IIRC there was a nifty little bit of circuitry in
the IBM tech ref to try to share ISA interrupts but
it never really caught on.
--
aboyd
|
|
|
Pavol Kycina
11/14/2008 1:22 AM
post16552
|
> Hello,
>
> I am using a 4 RS-232 ISA interface module along with a PC-104 board, but i
> don't have enough IRQs available for the 4 RS-232 ports. I tried to start the
> devc-ser8250 sharing one IRQ between two ports but didn't work. I'd like to
> know if the devc-ser8250 driver supports ISA IRQ sharing or do i need to write
> an ISR function, if so could anyone supply me some example code or any help.
> Is there anyway i could share ISA IRQ on QNX 6.3.2???
>
> I have 4 ports with only 3 IRQs...need one more!
>
> Many thanks in advance
> Gutemberg Franca
How are you starting devc-ser8250 driver?
We have used successfully some ISA multiport serial boards.
We started it with:
devc-ser8250 280,5 288,5 290,5 298,5
PKY
|
|
|
gutemberg franca
11/25/2008 1:52 PM
post17296
|
devc-ser8250 -u1 300,3 -u2 308,4 -u3 310,10 -u4 318,???
If i try to use the same IRQ the comunication becomes very slow and i can only send data.
thanks for the help
Gutemberg
|
|
|
Pavol Kycina
11/26/2008 5:11 AM
post17341
|
Could you post a web link to a manual of your card?
Are there any switches/jumpers on it?
PKY
|
|
|
Andrew Boyd(deleted)
11/26/2008 9:40 AM
post17368
|
One thing I should point out, is that although
you can have many UARTS sharing an ISA interrupt,
that sharing (OR-ing) MUST be done by the board.
You can't take two different boards, each with
one UART on board, both using IRQ 3, and expect
that to work on ISA.
You need to have ONE board, which OR's the irq
from a row of UARTs together, so that there is
only ONE device on the ISA bus, using IRQ 3.
Does this make sense?
The original QNX4 serial driver (dunno about
the current one, I hope it's the same) was
modified by Gord to be smart enough so that when
an IRQ fired, it would examine ALL the UARTS that
it had listed for that IRQ.
This worked well at supporting the custom serial
boards, which had a row of UARTS with their IRQs
OR'd into one line.
Hope this helps. ISA is sorta lost in the mists
of time, now.
--
aboyd
|
|
|
Mario Charest
11/26/2008 9:42 AM
post17369
|
-----Original Message-----
From: Andrew Boyd [mailto:community-noreply@qnx.com]
Sent: November-26-08 9:40 AM
To: drivers-networking
Subject: RE: ISA IRQ sharing
One thing I should point out, is that although
you can have many UARTS sharing an ISA interrupt,
that sharing (OR-ing) MUST be done by the board.
You can't take two different boards, each with
one UART on board, both using IRQ 3, and expect
that to work on ISA.
Note 100% accurate. Quatech makes (or used to make) an ISA board and you could have multiple cards sharing the IRQ.
However they had all to be from Quatech and not shared with any other devices.
You need to have ONE board, which OR's the irq
from a row of UARTs together, so that there is
only ONE device on the ISA bus, using IRQ 3.
Does this make sense?
The original QNX4 serial driver (dunno about
the current one, I hope it's the same) was
modified by Gord to be smart enough so that when
an IRQ fired, it would examine ALL the UARTS that
it had listed for that IRQ.
This worked well at supporting the custom serial
boards, which had a row of UARTS with their IRQs
OR'd into one line.
Hope this helps. ISA is sorta lost in the mists
of time, now.
--
aboyd
_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post17368
|
|
|
Colin Burgess(deleted)
11/26/2008 9:54 AM
post17374
|
Mario your quoting system leaves a little to be desired. I assume you are using the web interface?
Trying to find your replies in the text requires quite a bit of searching, unless, as in this case, your lines are
longer than the original poster's.
Mario Charest wrote:
>
> -----Original Message-----
> From: Andrew Boyd [mailto:community-noreply@qnx.com]
> Sent: November-26-08 9:40 AM
> To: drivers-networking
> Subject: RE: ISA IRQ sharing
>
>
> One thing I should point out, is that although
> you can have many UARTS sharing an ISA interrupt,
> that sharing (OR-ing) MUST be done by the board.
>
> You can't take two different boards, each with
> one UART on board, both using IRQ 3, and expect
> that to work on ISA.
>
> Note 100% accurate. Quatech makes (or used to make) an ISA board and you could have multiple cards sharing the IRQ.
However they had all to be from Quatech and not shared with any other devices.
>
> You need to have ONE board, which OR's the irq
> from a row of UARTs together, so that there is
> only ONE device on the ISA bus, using IRQ 3.
>
> Does this make sense?
>
> The original QNX4 serial driver (dunno about
> the current one, I hope it's the same) was
> modified by Gord to be smart enough so that when
> an IRQ fired, it would examine ALL the UARTS that
> it had listed for that IRQ.
>
> This worked well at supporting the custom serial
> boards, which had a row of UARTS with their IRQs
> OR'd into one line.
>
> Hope this helps. ISA is sorta lost in the mists
> of time, now.
>
> --
> aboyd
>
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post17368
>
>
>
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post17369
>
--
cburgess@qnx.com
|
|
|
Mario Charest
11/26/2008 10:53 AM
post17384
|
I'm replying using Outlook... I'll see there any option I can use to help improve the format.
Thanks!
-----Original Message-----
From: Colin Burgess [mailto:community-noreply@qnx.com]
Sent: November-26-08 9:54 AM
To: drivers-networking
Subject: Re: ISA IRQ sharing
Mario your quoting system leaves a little to be desired. I assume you are using the web interface?
Trying to find your replies in the text requires quite a bit of searching, unless, as in this case, your lines are
longer than the original poster's.
Mario Charest wrote:
>
> -----Original Message-----
> From: Andrew Boyd [mailto:community-noreply@qnx.com]
> Sent: November-26-08 9:40 AM
> To: drivers-networking
> Subject: RE: ISA IRQ sharing
>
>
> One thing I should point out, is that although
> you can have many UARTS sharing an ISA interrupt,
> that sharing (OR-ing) MUST be done by the board.
>
> You can't take two different boards, each with
> one UART on board, both using IRQ 3, and expect
> that to work on ISA.
>
> Note 100% accurate. Quatech makes (or used to make) an ISA board and you could have multiple cards sharing the IRQ.
However they had all to be from Quatech and not shared with any other devices.
>
> You need to have ONE board, which OR's the irq
> from a row of UARTs together, so that there is
> only ONE device on the ISA bus, using IRQ 3.
>
> Does this make sense?
>
> The original QNX4 serial driver (dunno about
> the current one, I hope it's the same) was
> modified by Gord to be smart enough so that when
> an IRQ fired, it would examine ALL the UARTS that
> it had listed for that IRQ.
>
> This worked well at supporting the custom serial
> boards, which had a row of UARTS with their IRQs
> OR'd into one line.
>
> Hope this helps. ISA is sorta lost in the mists
> of time, now.
>
> --
> aboyd
>
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post17368
>
>
>
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post17369
>
--
cburgess@qnx.com
_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post17374
|
|
|
Andrew Boyd(deleted)
11/26/2008 9:56 AM
post17377
|
> > You can't take two different boards, each with
> > one UART on board, both using IRQ 3, and expect
> > that to work on ISA.
>
> Not 100% accurate. Quatech makes (or used to make)
> an ISA board and you could have multiple cards sharing
> the IRQ. However they had all to be from Quatech and
> not shared with any other devices.
Right - as I mentioned a few posts ago, the IBM
tech ref talked about a bit of circuitry to share
ISA IRQs but it never really caught on - I've never
even seen one, in the last 25 years.
I was just trying to explain the normal case.
--
aboyd
|
|
|
gutemberg franca
12/02/2008 2:01 PM
post17781
|
datasheet of the board i'am using...
ftp://data.aaeon.com.tw/DOWNLOAD/MANUAL/PCM-3640Manual.pdf
Thanks in advance
Gutemberg Franca
|
|
|
Andrew Boyd(deleted)
12/02/2008 2:53 PM
post17787
|
Looking at your data sheet, it would appear
that it does not "OR" the interrupts from
the UARTS - rather, it runs each IRQ line
individually to the bus, so each UART is
treated as a completely separate hardware
device, complete with it's own interrupt.
--
aboyd
-----Original Message-----
From: gutemberg franca [mailto:community-noreply@qnx.com]
Sent: Tuesday, December 02, 2008 2:01 PM
To: drivers-networking
Subject: Re: ISA IRQ sharing
datasheet of the board i'am using...
ftp://data.aaeon.com.tw/DOWNLOAD/MANUAL/PCM-3640Manual.pdf
Thanks in advance
Gutemberg Franca
_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post17781
|
|
|
Pavol Kycina
12/03/2008 1:31 AM
post17815
|
Hello,
the board you use can't share IRQ. But there is PCM-3641, which can. Could you try it with this board?
PKY
>
> Looking at your data sheet, it would appear
> that it does not "OR" the interrupts from
> the UARTS - rather, it runs each IRQ line
> individually to the bus, so each UART is
> treated as a completely separate hardware
> device, complete with it's own interrupt.
>
> --
> aboyd
>
> -----Original Message-----
> From: gutemberg franca [mailto:community-noreply@qnx.com]
> Sent: Tuesday, December 02, 2008 2:01 PM
> To: drivers-networking
> Subject: Re: ISA IRQ sharing
>
> datasheet of the board i'am using...
>
> ftp://data.aaeon.com.tw/DOWNLOAD/MANUAL/PCM-3640Manual.pdf
>
> Thanks in advance
> Gutemberg Franca
>
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post17781
|
|
|
gutemberg franca
12/08/2008 12:37 PM
post18144
|
I'll try this other board you recommended.
thanks for the help.
Gutemberg Franca
|
|
|
|