Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > PCI and PCIe in WMDF

Reply
Thread Tools Display Modes

PCI and PCIe in WMDF

 
 
pascal
Guest
Posts: n/a

 
      05-27-2010
when starting to develop driver for PCIe board
1. is PCIe drivers are mach resembling to developing to PCI driver? is the
WMDF makes any diffreance?
2. is it good idea to start from the example in SRC from the WDK "PLX9x5x"
to start the driver development? (need DMA) what do you recommand to use as
skeleton framework for the driver?

Thanks
Pascal
 
Reply With Quote
 
 
 
 
Tim Roberts
Guest
Posts: n/a

 
      05-28-2010
pascal <> wrote:
>
>1. is PCIe drivers are mach resembling to developing to PCI driver?


Yes.

>is the WMDF makes any diffreance?


KMDF makes it MUCH easier to write a DMA-based driver.

>2. is it good idea to start from the example in SRC from the WDK "PLX9x5x"
>to start the driver development? (need DMA) what do you recommand to use as
>skeleton framework for the driver?


This is a complicated question. One of the problems with PCI devices is
that PCI devices are not very much alike. What kind of device is this?
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      05-28-2010
> 1. is PCIe drivers are mach resembling to developing to PCI driver?

They are the same (except the new feature of MSIs).

> 2. is it good idea to start from the example in SRC from the WDK "PLX9x5x"
> to start the driver development? (need DMA) what do you recommand to use as
> skeleton framework for the driver?


Why not?

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
 
pascal
Guest
Posts: n/a

 
      05-30-2010
Thanks for the help. the best description of the device that is high speed
Data Acquisition it has to take a LOT of stream data (only 1 direction ) and
store it to the PC workstation using properly the memory as first then to
hard drive,
*) what to you think that the consideration for that kind of device driver
should be? simple designed ? any particular designed patten ?
*) is there any sample in the "Windows Driver Kits" shows how to use of MSI?

Thanks
 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      05-30-2010
> *) what to you think that the consideration for that kind of device driver
> should be?


What is the data? is it some video? then AVStream is the proper way.

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
 
pascal
Guest
Posts: n/a

 
      05-30-2010


"Maxim S. Shatskih" wrote:

> > *) what to you think that the consideration for that kind of device driver
> > should be?

>
> What is the data? is it some video? then AVStream is the proper way.


the data is just raw data that has to processed offline not in 'real time'
the data comes out in high speed PCIe is saved in memory then to the hard
disk, what do you think that the designed pattern should be?

Thanks



 
Reply With Quote
 
Tim Roberts
Guest
Posts: n/a

 
      05-31-2010
pascal <> wrote:
>
>Thanks for the help. the best description of the device that is high speed
>Data Acquisition it has to take a LOT of stream data (only 1 direction ) and
>store it to the PC workstation using properly the memory as first then to
>hard drive,
>*) what to you think that the consideration for that kind of device driver
>should be? simple designed ? any particular designed patten ?


One consideration is that the hard drive will be your bottleneck. Most
commodity hard drives are straining to keep up with 30 or 40 MB/s.
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59