Hello,
I am trying to get the SDRAM to work on our Hercurles HDK.
I am using HALCodGen to generate the code. From the schematics (and verified on the board) I can see that the SDRAM is a IS42S16400F-7BL.
From the data-sheet I have looked up the timing and done the following in Halcogen:
1: Set VCLK3 to 200MHz
2: t(rc) = 64ns
3: t(rp)=21ns
4: t(rcd) = 21ns
5: t(wr)=11ns
6: t(ras)=43ns
7: t(rc)=64ns
8: t(rrd)=15ns
9: t(xsr)=71ns
10: Refresh Period=60ms
11: Refresh Cycles=4096
12: CAS Latency=3
13: Banks=4
14: Page Size=1024
When the code is generated, compiled, linked and downloaded I stop the execution after call to emif_SDRAMInit();
I try through the debugger (IAR Workbench) to modify the value of the SDRAM (address 0x80000000), but the value does not change!!!
Can you please help me verify my setup values for the SDRAM. Is it Ok?
I have enabled emif, and pinmux. The only change I had to do was to solve the conflict about EMIF, pin D17 which I have set to EMIF_nWR.
Do you have any idea what I am doing wrong?
Best regardds
Michael c".)