03-15-2008 08:12 PM
03-16-2008 02:50 PM
An update: I cant seem to read the same data from BAR1 as the NI Automation Tool does. When I try to read from BAR1, I get ffffffff all the way up to BAR1+1000h. Then I start getting what looksl like valid reads. The Automation tool seems to be able to read below offset 1000h just fine. I can read BAR0 space fine and for the most part, I get results which agree with the Automation tool. Any clue as to what might be happening? I just want to be able to do some simple demand type analog in with this board and I find I am getting overwhelmed at step zero.
BTW: I am using DOS 6.22 with DJGPP in protected mode (using CWSDPMI protected mode interface). I general, I need to map the BAR spaces using a dpmiAllocate() calls which returns a selector/segment. Once I get this reference, I use farpeekl() calls with offsets. It seems to work fine with all otehr PCI devices I have used.
-Bob
03-17-2008 08:55 AM - last edited on 02-22-2024 05:11 PM by migration-bot
03-17-2008 01:24 PM