Altera_Forum
Honored Contributor
16 years agoissuing memory write request from PCI Express endpoint
Hi!
I'm trying to send data from my PCI Express endpoint (StratixIV Hard IP) to the root port memory. For that I would need the enpoints device ID (to put it in the requester ID field of the header). Unfortunately there seems to be no register in the configuration space that holds this information. Now to get the device ID I sent a configuration read/write request from the driver (Jungo WinDriver) to the device as this should contain the ID (in the completer ID field of the header). Unfortunately I never receive any configuration request on my device although I can successfully communicate via the PCIe link (e.g. memory write request from root port to endpoint). It seems like the configuration requests are handled by the hard IP itself, and are not passed to the user application. How can I determine my device ID (bus nr., device nr., function nr.) from my PCI Express endpoint:confused: