testing PCI card: strange results

Status
Not open for further replies.

buenos

Advanced Member level 3
Joined
Oct 24, 2005
Messages
962
Helped
40
Reputation
82
Reaction score
24
Trophy points
1,298
Location
Florida, USA
Activity points
9,143
hi.
i designed a PCI card with a Xilinx-Spartan-II FPGA, and I putted some soft cores together onto the FPGA. opencores-pci_bridge, whisbone intercon, and CAN controller.
then i started testing, but i dont understand the results.

there is a pcisniffer program, which runs without windows, it boots. with it, i saw: 3 images in the memory space from my card. (2x 1MB + 4kB for configspace-copy)
then i started windows2000, and checked (hwdirect program) the config header of teh card: BAR=0000 for all of the images (except the config-header-copy-image)
when i changed the BAR registers, the card should have been appeared at those locations, but i could read only 00 everywhere.
But, at the beginning of the IO space, i could read the registers on the card, but i couldnt write it.

why the images are not accessible at the address specified by BAR?
why can i read then in the IO space? (a piece of it.)
why i can not write it?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…