FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5915 Discussions

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

Altera_Forum
Honored Contributor II
1,267 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
304 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.
0 Kudos
Altera_Forum
Honored Contributor II
304 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.
0 Kudos
Reply