Hi TI:
I found one of my board(new designed) failed when use XDS in CCS to load "evm816x.gel" . I 've checked that the followed code cause failed:
        WR_MEM_32(EMIF4_0_SDRAM_REF_CTRL, 0x0000613B);               // Initially a large refresh period  
        WR_MEM_32(EMIF4_0_SDRAM_REF_CTRL, 0x1000613B);               // Trigger initialization
       WR_MEM_32(EMIF4_0_SDRAM_REF_CTRL, (0x10000000|SDREF));       // Move to a smaller more correct one
I also check that if I comment these code, the initialization will be OK.
My board use 4pcs DDR3-1600(MT41J128M16HA-125:D), the hardware config is emif0: 2x 128M16,emif1:2x128M16 , CPU is C6A8168ACYG(1.2G)
I 'm puzzled that other boads (6 pcs)are ok, but only this boad meet the problem,so what's wrong with my boad? Dose that mean that two ddr3 IC in emif0 are not weld well?
CCS output infor as  follows:
..........
CortexA8: Output:  EVM816x DDR2/3 PRCM Init is Done ..... 
CortexA8: Trouble Writing Memory Block at 0x4c000010 on Page 0 of Length 0x4: (Error -2130 @ 0x4C000010) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Release 5.0.333.0) 
CortexA8: GEL: Error while executing OnTargetConnect(): target access failed.
CortexA8: Trouble Reading Register CP15_CONTROL_REGISTER: (Error -2131 @ 0x20013F00) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Release 5.0.333.0) 
CortexA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_CONTROL: (Error -2131 @ 0x20023F40) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Release 5.0.333.0) 
CortexA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_0: (Error -2131 @ 0x20023F00) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Release 5.0.333.0) 
CortexA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_1: (Error -2131 @ 0x20023F20) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Release 5.0.333.0) 
C
...........
 
				 
		 
					 
                           
				 
				