Write to pci-e

Jan 11, 2015 at 9:04pm
I have been trying to read and write data to pci-e, but I cannot find anything. I dont know where to start or how it works. Any help on how is appreciated. Thanks.
Jan 11, 2015 at 10:57pm
We don't have enough information. What OS is it? FreeBSD? Linux? Windows? OSX? No OS? What architecture?

Why exactly do you need to do this? Maybe we can provide a better alternative.
Jan 12, 2015 at 12:13am
What hardware are you plugging into the pci-e slot that requires writing to? Is it custom built?
Jan 12, 2015 at 2:22am
Linux, and the hardware is custom built.
Jan 12, 2015 at 3:53am
I can't give any direct help, and I'm sure you probably already know to do this, but you're going to want to read up on how the linux kernel handles hardware interrupts and interfacing with it in general. One thing you could do (and yes I know it's unruly) is pick up some open source graphics cards drivers and find where they work with communication through the pci-e slot.
Jan 13, 2015 at 9:58am
read reference manual for pci-e controller and you will know exactly what to do
Topic archived. No new replies allowed.