Thread: PCI programming

  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    347

    PCI programming

    Hi all,

    i have recently purchased a card with PCI interface. if some data is received externally the card will generate interrupts which are configured to PCI INTB# and PCI CLK1. This is the first time i am working on PCI bus. Could somebody guide me how do i write the program to initialize and capture the interrupts from PCI. Also on the card there are several registers with address locations how do i access those registers.

    thanks in advance,
    regards,
    satya

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    >> i have recently purchased a card with PCI interface.
    So that card does not come with drivers?

    If not, you have a lot to learn before writing any code....
    https://blogs.msdn.com/b/iliast/arch...edirected=true

    gg

  3. #3
    Registered User
    Join Date
    Feb 2012
    Posts
    347
    Hi,

    Yeah the card comes with drivers, with a header file for function prototypes and with one dll file and a lib file. The header file contains the function prototypes and the implementation i suppose is done in either .lib or .dll fiies. I just wanted to understand how that programing is done and if possible i can add additional functions. But, now after going through your advice i will not attempt to do that and only work with the existing functions.

    thanks and regards,
    satya

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 12-11-2011, 04:25 PM
  2. Replies: 1
    Last Post: 08-19-2007, 03:55 AM
  3. small programming job VCPP / Object Oriented Programming
    By calgonite in forum Projects and Job Recruitment
    Replies: 10
    Last Post: 01-04-2006, 11:48 PM
  4. Total newb to programming here... Question about the many programming languages. Ty!
    By tsubotakid1 in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 10-05-2003, 10:32 AM