Forums

Prob in accessing PCI-VME bridge

Started by yegn...@gmail.com August 4, 2008
I am using SHARC 21160M to which PCI BRIDGE(PLX 9656)is connected , and to this PCI-VME BRIDGE(UNIVERSE 2 TUNDRA)is connected.I need to write a driver for this vme bus.

Now I have accessed the registers for the PCI bridge(PLX 9656) till now. But I couldn't able to access the PCI-VME bridge(TUNDRA) registers through the PCI configuration space . Can any one please help me in configuring the PCI bridge to access the VME bridge registers?????

Lot of Thanks in Advance... :-)

__________ __________
-----\ | PLX 9656 | -----\ | TUNDRA | -----\
-----/ |__________| -----/ |__________| -----/
local local PCI PCI to VME bus
bus to PCI bus VME bridge
bridge
I am using SHARC 21160M to which PCI BRIDGE(PLX 9656)is connected , and to this PCI-VME BRIDGE(UNIVERSE 2 TUNDRA)is connected.I need to write a driver for this vme bus.
>
>Now I have accessed the registers for the PCI bridge(PLX 9656) till now. But I couldn't able to access the PCI-VME bridge(TUNDRA) registers through the PCI configuration space . Can any one please help me in configuring the PCI bridge to access the VME bridge registers?????
>
>Lot of Thanks in Advance... :-)
>
> __________ __________
> -----\ | PLX 9656 | -----\ | TUNDRA | -----\
> -----/ |__________| -----/ |__________| -----/
>local local PCI PCI to VME bus
>bus to PCI bus VME bridge
> bridge
>
>

I may be able to help u out if u provide me more details like how r u configuring or trying to configure tundra . Are u able to read universe's ID?

Regards,
Yogesh P G
No i am not able to read the TUNDRA's device ID.
Now i could able to read all the registers of PLX device. Now I am
suppose to access the TUNDRA through the I/O configuration space of
PLX.

I have set the I/O space start address as 0x02800000 and I have set the
DMCFGA as 0x80003000 and I tried to read the 0x02800000 location to
access the vendor ID. But i could not able to read it. Is there any
other configuration I should make?

PLX device's registers :-

DMCFGA - PCI configuration address register for Direct master to PCI
I/O configuration
DMLBAI - Local base address register for Direct master to PCI I/O configuration
DMLBAI = 0x02800000

Note: I am not using any RTOs here and just trying to do in assembly.

If you need any other info, let me know. I will send as soon as possible.

Please help me as soon as possible.

Thanx yogesh :-)

On 8/6/08, y...@yahoo.com wrote:
> I am using SHARC 21160M to which PCI BRIDGE(PLX 9656)is connected , and to
> this PCI-VME BRIDGE(UNIVERSE 2 TUNDRA)is connected.I need to write a driver
> for this vme bus.
>>
>>Now I have accessed the registers for the PCI bridge(PLX 9656) till now.
>> But I couldn't able to access the PCI-VME bridge(TUNDRA) registers through
>> the PCI configuration space . Can any one please help me in configuring
>> the PCI bridge to access the VME bridge registers?????
>>
>>Lot of Thanks in Advance... :-)
>>
>> __________ __________
>> -----\ | PLX 9656 | -----\ | TUNDRA | -----\
>> -----/ |__________| -----/ |__________| -----/
>>local local PCI PCI to VME bus
>>bus to PCI bus VME bridge
>> bridge
>>
>>
> I may be able to help u out if u provide me more details like how r u
> configuring or trying to configure tundra . Are u able to read universe's
> ID?
>
> Regards,
> Yogesh P G
>
>>
>