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.

TMS320DM8127: CCS-DM8127 DDR3 issue in baremetal?

Part Number: TMS320DM8127

Hi sir,

We are using dm8127 custom board through the reference of DM8127-CSK evm module.

In the evm module DDR3 (MT41K256M16TW ) 2-chip selects & 4 modules used default.

in our custom board DDR3 (same IC) 1-Chip select & 2 module(Lower & Higher data) used.

Reference AM335x_starterware we tested DM8127 EVM module of DDR3 It's working.

In custom board it's not working we changed the DDR3 configuration setting because same configuration not working in this board(Same DDR3 IC's but single Chip Select here)?

#define DDR3_EMIF_TIM1_DEFINE_400 0x0AAAD4F3 
#define DDR3_EMIF_TIM2_DEFINE_400 0x206B7FDA
#define DDR3_EMIF_TIM3_DEFINE_400 0x507F867F
#define DDR3_EMIF_REF_CTRL_DEFINE2_400 0x00000C30
#define DDR3_EMIF_SDRAM_CONFIG_DEFINE_400 0x61C16333 
#define DDR3_EMIF_DDRPHYCR_DEFINE_400 0x00170209

WR_MEM_32(DMM_LISA_MAP__0, 0x80600100);
WR_MEM_32(DMM_LISA_MAP__1, 0x80600100);
WR_MEM_32(DMM_LISA_MAP__2, 0x0);
WR_MEM_32(DMM_LISA_MAP__3, 0x0);

while(RD_MEM_32(DMM_LISA_MAP__0)!=0x80600100);
while(RD_MEM_32(DMM_LISA_MAP__1)!=0x80600100);
while(RD_MEM_32(DMM_LISA_MAP__2)!=0x0);
while(RD_MEM_32(DMM_LISA_MAP__3)!=0x0);

i changed for less size.

but its failing read & write for DDR3.

Any changes required in the code side, Could you give me some suggestions.

Thanking you,

Regards,

Ramachandra