I have developed the PCI-device for which it is necessary 128 bytes of ports of input-output, 512 Kb of memory and one interrupt. When I install 4 devices simultaneously, BIOS allocates for them necessary resources, windows 98 allocates resources only for 3 devices. And Windows XP at all it does not want to be loaded ("Blue screen" before installation of drivers).
I have developed the PCI-device for which it is necessary 128 bytes of ports of input-output, 512 Kb of memory and one interrupt. When I install 4 devices simultaneously, BIOS allocates for them necessary resources, windows 98 allocates resources only for 3 devices. And Windows XP at all it does not want to be loaded. Why?
I've developed a couple of debuggers that run on Win98 and Win95 that let you look at (and modify) PCI config registers as well as peek and poke locations in the different BAR address spaces.
Take a look at:
formatting link
The original version, DBG.EXE, has a built-in Forth interpreter that allows you to write sophisticated test scripts/programs without having to learn how to map memory in the X86 architecture.
Unfortunately, Forth is like Pig-Latin to most people, so the newer version of the code has an internal C interpeter to handle test scripts/programs. The newer code is called (surprise) CDBG.
The original DBG gets little support or attention at this point. If you use it and find a bug, I may or may not look into the problem.
CDBG get more attention from me. I'll probably look at re-produceable bugs that are reported to me. I already know that the C interpreter tends to have occasional problems recovering from syntax errors and accesses to pointers out-of-range.
Both tools have been VERY useful in helping me debug PCI cards.
We also have Linux and Win2k versions of CDBG, but these aren't for public consumption yet.
The drivers for XP are different than the drivers for 98. If you put 3 boards in and it works how you want it then the boards and the hardware design work. If you put in more boards and some don't work then you have a driver problem. I can almost guarantee that you will need a new driver for XP.
Followup to: By author: "Nial Stewart" In newsgroup: comp.arch.fpga
It's actually impossible to know without knowing what the powerup values are and which bits are read/write. Just posting a snapshot in time is pretty useless -- you need to go and check the proper semantics of all your bits.
-hpa
--
at work, in private!
If you send me mail in HTML format I will assume it's spam.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.