I'm trying to write a driver for PCI-6713. Right now, I only want to output data directly. I tried to use DAC<0...7>Direct Data Register, but it didn't work. Here is what I've tried:
AO_Configuration_Register;
AO_Config][Register;
AO_Immediate_Register;
Mem_write(BAR1,0,0); //Window Address Register
Mem_write(BAR1,2,data); //Window Data Register
My questions are: Should I use BAR1? Since I'm not using DAC-STC group, maybe I should only use BAR0. When using DAC of AO group, should I use:
AO Window addr Register 0x18
AO Window Data Register 0x1E
instead of
Window address Register 0x0
Window Data Register 0x2
?
Since it didn't work, there must be something else I should configure. Can anybody give me a pie
ce of example data?
Thanks
flofish