vxworks >> PCI BAR0 with 8349

by Nabendu » Mon, 28 Apr 2008 15:52:07 GMT

Hi,

I am facing a problem..Any one find this kind of situation?


I had connected a PCI device with MPC8349.

POBAR1 = 0x90000000
POTAR1 = 0x50000000
POCMR1 =0xA00fc000 (64 MB)

after running the auto configuration the BAR0 0f the pci device get
0x90100000
According my under standing it should be like 0x50100000 likwe
that..tHe the BAR0 of PCI device is holding the PCI address space
instead of address of local bus in MPC side.


NB:
When configured with the values.
POBAR1 = 0x90000000
POTAR1 = 0x90000000
POCMR1 =0xA00fc000

The device is working properly.The BAR0 = 0x90100000 which correct I
guess.

Anyone can please explain?


Regards,
Nabendu

vxworks >> PCI BAR0 with 8349

by Deepu » Wed, 30 Apr 2008 13:22:36 GMT


Hi

As far as I know the Pci library works fine only with one-to-one
mapping of the memory space.

agnibhu.

vxworks >> PCI BAR0 with 8349

by Nabendu » Thu, 01 May 2008 03:02:18 GMT

Thanks Deepu.
Is it feature/fault of vxworks PCI library?