Tech Support > Computer Hardware > Microprocessors > Please help me.How could this happen?
Please help me.How could this happen?
Posted by huxuelei630@gmail.com on March 7th, 2008


Hi,I have a PCI card with PLX9656 as a bridge which transfer data from
Local Bus to PCi Bus.The transferring happened in every 30ms and the
amount of data is 16KB.This is a very hard work for me.
My work is to read these datas and send them out by socket and write
them in the hard disk at the same time.Also there will be a GUI to
control where the data would be sent.
The most unbelievable thing happend at this time.When I load the PCI
card's driver, open the interrupt, the system will not work correct.I
lost many datas after I checked the file on the disk and received
through socket.
But I also test my OS with out the PCI card.It's work very well.
Can anyone help to analyze how could this happen?

Posted by Boudewijn Dijkstra on March 7th, 2008


Op Fri, 07 Mar 2008 11:24:58 +0100 schreef huxuelei630@gmail.com
<huxuelei630@gmail.com>:
If you are not buffering or using synchronous writes, then you could
easily miss interrupts.

You have to make sure that you have finished processing the interrupt
before the next one arrives.

Which OS are you using?



--
Gemaakt met Opera's revolutionaire e-mailprogramma:
http://www.opera.com/mail/

Posted by Tom on March 8th, 2008


In article <a59bd145-6348-4ce4-b686-16e8414272fc@s13g2000prd.googlegroups.com>, "huxuelei630@gmail.com" <huxuelei630@gmail.com> wrote:
What does your driver do when it gets the interrupt?

How is the data transferred from the card to the host: through mailbox
registers, direct master reads, or through DMA?

Which piece of code is doing the disk writing and the socket sending: the
driver, a service, a DLL or a GUI?


Similar Posts