Try moving the card to another PCI slot.
show_pci -v comes up with a memory fault
thanks,
Shashank
“Kevin Miller” <> kevin.miller@transcore.com> > wrote in message
news:cjhkff$qj7$> 1@inn.qnx.com> …
Try “show_pci -v”.
“Shashank” <> sbalijepalli@precitech.com> > wrote in message
news:cjhjbj$pts$> 1@inn.qnx.com> …
I realize that. But I am using a PCI lava board that
is assigned an interrupt (11) in the bios but doesnt show up when I
run
the
show_pci command.
Thanks,
Shashank
“Joe Mammone” <> hw@qnx.com> > wrote in message
news:cjhctn$lbg$> 1@inn.qnx.com> …
The ‘show_pci’ utility will only show pci devices.
ISA devices will not be listed.
Regards,
Joe
Shashank <> sbalijepalli@precitech.com> > wrote in message
news:cjh2eb$dmv$> 1@inn.qnx.com> …
When my controller boots up it comes up with the following:
Dev ID Vend Id Dev No IRq
0110 1407 17 11 Simple Comm contrl
0111 1407 17 11 Simple Comm contrl.
So i presume it has detected the Lava card and assigned it
interrupt
11.
However, if i run the show_pci command , it doesnt show me this
card.
Whereas the VGA which is using 11 is displayed in the output of
the
show_pci command. I am using a PNP frame grabber that uses
interrupt
10
and
that is also displaybed by show_pci.
Am i missing something?
Thanks
Shashank
“Joe Mammone” <> hw@qnx.com> > wrote in message
news:cjguds$apv$> 1@inn.qnx.com> …
dev_read() is totally okay to use.
Regards,
Joe
Shashank <> sbalijepalli@precitech.com> > wrote in message
news:cjgtj3$ach$> 1@inn.qnx.com> …
We have code written for Lava’s ISA boards that read data from
the
ports
using dev_read(). We’d like to try this out on the PCI board.
Since
we
needed to arm proxies we didnt use read(). Will dev_read work
just
like
read()?
I appreciate your suggestions
Shashank
“Joe Mammone” <> hw@qnx.com> > wrote in message
news:cjet8b$ntl$> 1@inn.qnx.com> …
I was just using 3f8,4 as an example, simply substitute the
appropriate
values for your device.
i.e. Dev.ser 3e8,5 2e8,5
Regards,
Joe
Shashank <> sbalijepalli@precitech.com> > wrote in message
news:cjes62$mu5$> 1@inn.qnx.com> …
We are already using COM1(3F8) and COM2(2f8) for something
else.
I’d like to use COM3(3E8) and COM4(2E8) and share interrupt
5
between
these
2 ports. For now, I am thinking of using the Lava PCI
serial
borad
and
the
manual says that I can have the 2 ports share an interrupt.
Thanks for your previous reply,
Shashank
“Joe Mammone” <> hw@qnx.com> > wrote in message
news:cjerjj$mqp$> 1@inn.qnx.com> …
You can use the Dev.ser driver with 16550 compatible
serial
cards.
example: Dev.ser 3f8,4
Use the “show_pci -vv” command to get the ioport and irq
for
the
device.
(see Utility Reference for details)
To read and write to the device you can use
open(),read(),write
(see
Library
Reference for details).
i.e.
fd= open("/dev/ser1", O_RDWR);
len = read(fs, buf, BUF_SIZE);
Regards,
Joe
Shashank <> sbalijepalli@precitech.com> > wrote in message
news:cjelee$i8v$> 1@inn.qnx.com> …
I’ve connected a PCI serial Card to my QNX computer.
Can
anybody
briefly
describe how to setup the serial ports and interrupts
in
the
sysinit
file?
Also, I would greatly appreciate it, if someone can
provide
sample
code
to
activate the interrupt and read from the serial port.
Thanks,
Shashank
\