DSPRelated.com
Forums

Why I can't access to SDRAM via DM642 PCI port?

Started by Jerry Yan June 21, 2006
Hi all:

Before plugging my card to pci slot, I tested it in EMIF boot mode through
JTAG port, all the chips worked very well. But when I test the card in pci
mode (using the EVMDM642 example pci drvier SIC6XWDM.sys and test app in
"\\ti\boards\evmdm642\examples\pci" ), all operations of writing to/ reading
from DM642 registers and IRAM seem ok, but just can't operate SDRAM. I
didn't use EEPROM to initiate pci configuration registers.

The process of Ti's test app is like this:
1> open PCI handle;
2> test if in PCI boot mode;
3> Assert DM642 Reset;
4> Initiate EMIF; /* using parameters from my gel file--SDRAM works in
150M */
5> Get the callback event handle;
6> Test IRAM;
7> Test SDRAM; /* error occured! */
...

I think pci memory mapping may be the sticking point. I wonder whether I
forgot to config any register, or there are other mistakes in my design?

Any suggestion is appreciated.