Hello Lunminliang,
Thanks for your help.
I write the SDRAM data in CodeWarrior. Becasue I can only access MPC8245 by CodeWarrior + USB TAP.
The MCCR1[DBUS_SIZ] are read only bits.I write this bits with the value of my hardewave defiend(DL[0] = GND).I have tested it like this:I use the Codewarrior to write 8 bytes data to SDRAM, I observe the /WE using oscilloscope.The /WE signal awayls two two times low level.Perform one write command,/WE signal two times low(one for precharge,one for werite). when I write 8 bytes(64bits) data ,It Perform two times.,so the MPC8245 must works in 32-bit mode. If in 64 bit mode ,is only once .
I can't read the data of the configration registers by Codewarrior.
MCCR1[ROW] = '00', is indicates that the ROW of the SDRAM is 13 or 12,and my SDRAM(IS42S16800F) is 11 rows by 9 columns by 4 logical banks.
I have being learned how to use the "tech support case ",but I can't use it now,so ,I am sorry ,I can only communacte with you by this way.I will try my best to stady the "tech support case ".
The critical question is the data in local data bus is 0 ,when I write data in x00001004,0x0000200c(and so on ) using CodeWarrior + USB TAP.
Thanks.