简体   繁体   English

具有DMA功能的PCI / PCIe卡用于设备驱动程序培训

[英]PCI/PCIe card with DMA capability for device driver training

I trying to learn DMA for device drivers with PCI/PCIe devices, and my platform is linux/bsd. 我试图为使用PCI / PCIe设备的设备驱动程序学习DMA,而我的平台是linux / bsd。 I have found quite a few simple PCI boards for training (such as simple digital I/O boards), but none have hardware complex enough to handle DMA. 我发现了很多用于培训的简单PCI板(例如简单的数字I / O板),但是没有一个具有足够复杂的硬件来处理DMA。 Is anyone on Stackoverflow aware of a PCI/PCIe card with some sort of microprocessor or mcirocontroller that I could program with open-source tools like gcc (eg PowerPC, 68HC11, Atmel, 8051, etc.)?? Stackoverflow上的任何人是否知道我可以使用gcc等开源工具(例如PowerPC,68HC11,Atmel,8051等)编程的带有某种微处理器或mcirocontroller的PCI / PCIe卡?

Of course the kicker is low cost...sub USD 300.00 if possible. 当然,踢球机的价格很便宜...如果可能的话,不足300.00美元。

I DO NOT WANT an FPGA-based board, because that requires a Windows workstation (usually) for programming the FPGA, as well as all of the time required for creating and working with a PCI/PCIe IP core in the FPGA. 我不想使用基于FPGA的板,因为(通常)这需要Windows工作站来对FPGA进行编程,以及在FPGA中创建和使用PCI / PCIe IP内核所需的所有时间。 Basically, I don't want to spend my time working on the FPGA; 基本上,我不想花时间在FPGA上。 I want to work on the device driver! 我想使用设备驱动程序! This may be my only option though... 虽然这可能是我唯一的选择...

If you don't want to use FPGA, then you have to find a board that has enough info for you to be able to communicate with the PCIe interface of it. 如果您不想使用FPGA,则必须找到一块具有足够信息的电路板,以便能够与它的PCIe接口通信。 Not that many boards come with HW interface document, but if you want or can do this without documentation, you can use one of these boards: 硬件接口文档随附的板并不很多,但是如果您希望或可以在没有文档的情况下进行操作,则可以使用以下板之一:

Alibaba 4 Channel MIDI GAME port 3D Same board on E-bay Alternative 2 on e-bay 阿里巴巴4通道MIDI游戏端口3D 在e-bay上的 相同板在e-bay上的 替代2

You can also get a bit more advanced board like this one, but then you need to know how to communicate with their chipset. 您也可以像这样获得更高级的板,但是您需要知道如何与他们的芯片组通信。 Alibaba 4CH PCIe HDMI Video Capture Card here 阿里巴巴4CH PCIe HDMI视频采集卡在这里

If you change your mind for the FPGA, I would really recommend the Altera PCIe board that comes with a reference design and the bit file already per-programmed on the board. 如果您对FPGA改变主意,我真的会推荐带有参考设计的Altera PCIe板卡,并且该板卡上已经对每个位文件进行了编程。 It is much more expensive than those, but the biggest benefit is that you have full documentation of the PCIe interface: 它比那些昂贵得多,但是最大的好处是您拥有PCIe接口的完整文档:

Altera Cyclone IV GX Transceiver Starter Kit Altera Cyclone IV GX收发器入门套件

Here is the info about their reference design: Altera PCIe reference design 以下是有关其参考设计的信息: Altera PCIe参考设计

Hope you find what you are looking for here. 希望您在这里找到想要的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM