Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Help: Windows didn't assign Bar0 to PCie (address mapping is not correct)

Dear all,

We changed the Altera Cyclone PCIe DDR2 reference design to our needs. However, it doesn't work. The address mapping is not correct, it doesn't agree to address assignments in Qsys.

In WinDriver, Bar0 doesn't appear, only Bar2 appears under "Memory" tab (see Attached Figure). But the address range of Bar2 is not correct either, and the reading and writing were not correct when we write then read from Bar2.

Anyone can give any suggestions? Why it didn't have bar0 as assigned in Qsys?

The Windows operating system is Windows XP.

I attached the figures of Qsys block diagram, Qsys address map and IP Complier.

Thank you very much!

27 Replies