FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5284 Discussions

How to create a custom driver for PCI-Express(Stratix II GX)

Altera_Forum
Honored Contributor II
1,114 Views

Hi, I am a newbie so please excuse me for asking this. I am currently working on a school project where I am required to make a custom windows/linux driver to talk to the Stratix II GX board via PCI-E. However, I can not find any good tutorial/documentation online for creating a custom pci-e driver. Can anyone please explain to me the basic steps/tools I need? Links to documentations/tutorials are fine too. Thanks.

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
151 Views

altpicechdma.c driver for Linux.It's in the core. 

WinDriver 10.0 for Windows. 

You need to know C.Assembler or C++ practically are not used. 

There is a lot of documentation.Surf the net.
Altera_Forum
Honored Contributor II
151 Views

 

--- Quote Start ---  

Can anyone please explain to me the basic steps/tools I need? Links to documentations/tutorials are fine too. Thanks. 

--- Quote End ---  

 

 

I suggest you first get a basic understanding of drivers. I have coded drivers under windows, and I suggest you read something about WDM and KMDF. 

 

Of course, a basic c/c++ skill is required. 

 

After that, you can find some sample driver codes and adapt them to your device according to your requirements.
Reply