[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Software Help
If you are hurry, try www.jungo.com : they provide a kind of generic
windows driver you can customize. You can use a free version of the
WinDriver software during 30 days.
----- Original Message -----
From: "Bearzi, Anthony" <firstname.lastname@example.org>
Sent: Monday, April 09, 2001 3:07 PM
Subject: Software Help
> I am trying to develop a small console application to test out an adapter
> board and some of its onboard firmware routines. My platform is Windows NT
> and here is where I run into a snag. I would like to have my console
> application pass a local memory (CPU local) address to the PCI adapter
> This will assert an interrupt within the adapter and an ISR (within the
> adapter) will write a chunk of data from the adapter's memory to the
> that was provided. Passing the address is a simple write to the adapter's
> inbound queue port. My problem is determining what is a valid address that
> can use that will not make NT unhappy. I also do not understand how I
> translate this local memory address into a PCI address that makes sense to
> the adapter.
> I am guessing that first my application has to somehow lock or reserve a
> chunk of local memory. Then I have to somehow determine the address of the
> CPU's PCI bridge so that the adapter can write to BARx + some offset that
> corresponds to the reserved target memory block.
> Any and all help is greatly appreciated.
> Thank you