DSPRelated.com
Forums

Problem in accessing PCI memory in SHARC 21160

Started by Bijesh K M July 17, 2008
I am facing problem in accessing the PCI memory location .The PLX 9656
registers are memory mapped into DSP memory location(starting from
0x02800000h) in which 0x02800000h indicates PCI DEVICE and VENDOR ID
register(32 bit) which is read only.

But when I am accessing that location I am getting some junk value .

These are the things I did:

I have done some DSP system configuration like WAIT,SYSCON,MODE registers
for 2 wait states and 64 bit access, even though I couldn't read the VENDOR
and DEVICE ID .
Also I checked that is there any problem in accessing any other external
device by writing and reading some DATA into the SDRAM,but its working fine
for that.

Plz give me some solution urgently.......
I don't know a solution, but you can try to set wait to maximum number and
also try setting the bus width to 16 and 32 bits to see what happens. If
you still get junk, you may want to put a scope on the PLX chip select
line and make sure the sharc is addressing it correctly.

Patience, persistence, truth,
Dr. mike

On Thu, 17 Jul 2008, Bijesh K M wrote:

> I am facing problem in accessing the PCI memory location .The PLX 9656
> registers are memory mapped into DSP memory location(starting from
> 0x02800000h) in which 0x02800000h indicates PCI DEVICE and VENDOR ID
> register(32 bit) which is read only.
>
> But when I am accessing that location I am getting some junk value .
>
> These are the things I did:
>
> I have done some DSP system configuration like WAIT,SYSCON,MODE registers
> for 2 wait states and 64 bit access, even though I couldn't read the VENDOR
> and DEVICE ID .
> Also I checked that is there any problem in accessing any other external
> device by writing and reading some DATA into the SDRAM,but its working fine
> for that.
>
> Plz give me some solution urgently.......
>