Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).
Succeeded in read but failed in write from HOST(S3C2410) to DSP through HPI in Nonmultiplexed Mode. My connection is : HCS<=3D!(!nGCS2&!ADD23) HR/W<=3DADD22 HMOED<=3DVCC33 HCNTL0<=3DADD21 HDS1<=3DnRD HDS2<=3DnWR HBE0<=3DGND HBE1<=3DGND HRDY=3D>IOCHRDY HINT=3D>nIRQ HD[15..0]<=3D>DATA[15..0] HA[19..0]<=3DADD[20..1] RESET_MODE<=3DGND SO BASE address of HPID read is=D6=D0=CE=AA0x10200000=A3=ACBASE address of = HPID=20 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=20 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! =20
Lingboly- > > Succeeded in read but failed in write from HOST(S3C2410) to DSP > through HPI in Nonmultiplexed Mode. > My connection is : > HCS<=3D!(!nGCS2&!ADD23) > HR/W<=3DADD22 > HMOED<=3DVCC33 > HCNTL0<=3DADD21 > HDS1<=3DnRD > HDS2<=3DnWR > HBE0<=3DGND > HBE1<=3DGND > HRDY=3D>IOCHRDY > HINT=3D>nIRQ > HD[15..0]<=3D>DATA[15..0] > HA[19..0]<=3DADD[20..1] > RESET_MODE<=3DGND > SO BASE address of HPID read is=D6=D0=CE=AA0x10200000=A3=ACBASE address o= f=20 HPID=20 > 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=20 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=20 the=20 > address TWICE OR MORE. > I don't know why . >=20 > 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<=3D!(!nGCS2&!ADD23) >> HR/W<=3DADD22 >> HMOED<=3DVCC33 >> HCNTL0<=3DADD21 >> HDS1<=3DnRD >> HDS2<=3DnWR >> HBE0<=3DGND >> HBE1<=3DGND >> HRDY=3D>IOCHRDY >> HINT=3D>nIRQ >> HD[15..0]<=3D>DATA[15..0] >> HA[19..0]<=3DADD[20..1] >> RESET_MODE<=3DGND >> SO BASE address of HPID read is=D6=D0=CE=AA0x10200000=A3=ACBASE address = of=20 HPID >> write0x10600000. >> When I read the data of the internal memory of DSP,for=20 example ,the >> address 0x10200200,it's the same with the data I have read=20 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. >>=20=20=20=20=20 May be I am wrong, but if you are trying to write to 'the address=20 0x10600200' isn't the HR/W signal set to logic HIGH according to=20 your wiring? HR/W=3D ADD22. I presume this line should be a LOW while writing and HIGH while=20 reading. Nithin =20