This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DDR3 initialize problem.

Hello TI,

I found ddr3 initialize problem from my new designed board when use XDS560v2(usb) in CCS v5.1.0 to load "Ti816x_ddr.gel".
This file from ti wiki "DM816x C6A816x AM389x DDR3 Init".
I've checked that the followed code cause failed.

WR_MEM_32(CM_DEFAULT_DMM_CLKCTRL, 0x2); /*Enable DMM clock Clock*/
while(RD_MEM_32(CM_DEFAULT_DMM_CLKCTRL)!=0x2); /*Poll for Module is functional*/

I also check that if I comment these code, initialization still failed.

My board use 2pcs DDR3-1600(MT41J128M16HA-125IT), the hardware config is emif0: 2x(256Mbyte), CPU is C6A8168ACYG.

If you have any idea, please help me.

CCS output infor as  follows:
 ..........
CortexA8: GEL Output:
Connecting Target...
CortexA8: GEL Output: Connecting Target... Done.

CortexA8: Output:  Device type is GP
CortexA8: Output:  DM816x Main PLL Init is in Progress, Please wait .....
CortexA8: Output:  DM816x Main PLL Init is Done .....
CortexA8: Output:  DM816x DDR PLL Init is in Progress for 796.5 MHz DDR Clock, Please wait .....
CortexA8: Output:  DM816x DDR PLL Init is Done .....
CortexA8: Output:  DM816x DDR2/3 PRCM Init is in progress .....
CortexA8: Trouble Writing Memory Block at 0x48180528 on Page 0 of Length 0x4: (Error -181 @ 0x3D5B) The controller has detected a dead JTAG clock. The user must turn-on or connect the JTAG clock for the target. (Emulation package 5.0.520.0)
DDR3_796MHZ_doall() cannot be evaluated.
target access failedCS_DAP_DebugSS: Error: (Error -242 @ 0xFFFFFF0E) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 5.0.520.0)
...........

best regards,
Peter