Hi,
I am am doing my project with C6713B, and now i used a SDRAM controled by CE0 of EMIF, the SDRAM is 4Bank x 2M x 16bits. when I test it using a program, it appears wrong data in the memory window in CCS3.3. I have checked the board and there's no short, every data wire and address wire seem right. But every time I write 0 or 1 to the SDRAM, it always seems there are offsets .I wonder what the question is ? The program which I used is below
#define SDRAM_BASE_ADDRESS 0x80000000
main()
{
int i;
for(i=0;i<32;i++)
{
*(int *)(SDRAM_BASE_ADDRESS+i) =1;
}
exit(0);
}
and there appears such datas in the memory window
0x80000000 30721 30720 30721
0x80000006 30720 30721 31744
0x8000000C 30721 30720 30721
0x80000012 30720 30721 31744
0x80000018 30721 31744 30721
0x8000001E 31744 30720 30720
0x80000024 30720 30720 30720
0x8000002A 30720 30720 31744
0x80000030 30720 31744 30720
0x80000036 31744 30720 31744
0x8000003C 30720 31744 30720
0x80000042 31744 30720 31744
0x80000048 30720 31744 30720
0x8000004E 31744 30720 31744
0x80000054 30720 31744 30720
0x8000005A 31744 30720 31744
0x80000060 30720 31744 30720
0x80000066 31744 30720 31744
0x8000006C 30720 31744 30720
0x80000072 30720 30720 30720
0x80000078 30720 30720 30720
0x8000007E 30720 30720 30720
0x80000084 30720 30720 30720
0x8000008A 31744 30720 31744
0x80000090 30720 30720 30720
0x80000096 30720 30720 30720
0x8000009C 30720 30720 30720
0x800000A2 30720 30720 30720