Forums

Succeeded in read but failed in write from HOST to DSP through HPI

Started by lingboly July 19, 2007
Succeeded in read but failed in write from HOST(S3C2410) to DSP
through HPI in Nonmultiplexed Mode.
My connection is :
HCS<=!(!nGCS2&!ADD23)
HR/W<=ADD22
HMOED<=VCC33
HCNTL0<=ADD21
HDS1<=nRD
HDS2<=nWR
HBE0<=GND
HBE1<=GND
HRDY=>IOCHRDY
HINT=>nIRQ
HD[15..0]<=>DATA[15..0]
HA[19..0]<=ADD[20..1]
RESET_MODE<=GND
SO BASE address of HPID read isΪ0x10200000BASE address of HPID
write0x10600000.
When I read the data of the internal memory of DSP,for example ,the
address 0x10200200,it's the same with the data I have read through the
simulator.So it's all right.
However,when I write any data to the internal memory of DSP,for
example ,the address 0x10600200,it failed.The data of that address
stands still.
Amazingly,the data will become 0xFFFF,after I write any data to the
address TWICE OR MORE.
I don't know why .

Could you help me with this case?
Or can you give me a demonstration?
Thank you!

Lingboly-
>
> Succeeded in read but failed in write from HOST(S3C2410) to DSP
> through HPI in Nonmultiplexed Mode.
> My connection is :
> HCS<=!(!nGCS2&!ADD23)
> HR/W<=ADD22
> HMOED<=VCC33
> HCNTL0<=ADD21
> HDS1<=nRD
> HDS2<=nWR
> HBE0<=GND
> HBE1<=GND
> HRDY=>IOCHRDY
> HINT=>nIRQ
> HD[15..0]<=>DATA[15..0]
> HA[19..0]<=ADD[20..1]
> RESET_MODE<=GND
> SO BASE address of HPID read isΪ0x10200000BASE address of
HPID
> write0x10600000.
> When I read the data of the internal memory of DSP,for example ,the
> address 0x10200200,it's the same with the data I have read through
the
> simulator.So it's all right.
> However,when I write any data to the internal memory of DSP,for
> example ,the address 0x10600200,it failed.The data of that address
> stands still.
> Amazingly,the data will become 0xFFFF,after I write any data to
the
> address TWICE OR MORE.
> I don't know why .
>
> Could you help me with this case?
> Or can you give me a demonstration?
> Thank you!
>
Ling Bo Ly-

>> Succeeded in read but failed in write from HOST(S3C2410) to DSP
>> through HPI in Nonmultiplexed Mode.
>> My connection is :
>> HCS<=!(!nGCS2&!ADD23)
>> HR/W<=ADD22
>> HMOED<=VCC33
>> HCNTL0<=ADD21
>> HDS1<=nRD
>> HDS2<=nWR
>> HBE0<=GND
>> HBE1<=GND
>> HRDY=>IOCHRDY
>> HINT=>nIRQ
>> HD[15..0]<=>DATA[15..0]
>> HA[19..0]<=ADD[20..1]
>> RESET_MODE<=GND
>> SO BASE address of HPID read isΪ0x10200000BASE address of
HPID
>> write0x10600000.
>> When I read the data of the internal memory of DSP,for
example ,the
>> address 0x10200200,it's the same with the data I have read
through the
>> simulator.So it's all right.
>> However,when I write any data to the internal memory of DSP,for
>> example ,the address 0x10600200,it failed.The data of that address
>> stands still.
>>
May be I am wrong, but if you are trying to write to 'the address
0x10600200' isn't the HR/W signal set to logic HIGH according to
your wiring?
HR/W= ADD22.
I presume this line should be a LOW while writing and HIGH while
reading.

Nithin