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.
工具/软件:Linux
您好!
我们设计了自己的板 、是指 AM5728 EVM 板、我们的设计仅要求使用一个 EMIF (emif1)。
我们使用了2x8GB DDR3,DDP 8Gb DDR3 SDRAM D-DIE 组织为64Mbit x 16 I/O x 8组设备。
在/board/ti/am57xx/board.c 中、
静态常量结构 DMM_LISA 映射_regs beagle_x15_LISA 寄存器={
.dm_lisa_map_0 = 0x00000000、
.dm_lisa_map_1 = 0x00000000、
.dm_lisa_map_2 = 0x80700100、
.dm_lisa_map_3 = 0xFF020100、
.in_ma_present = 0x1
};
静态常量结构 EMIF_REGS beagle_x15_emif1_DDR3_532mhz_EMIF_regs ={
SDRAM_CONFIG_INIT = 0x61851bb2、
SDRAM_CONFIG = 0x61851bb2、
SDRAM_CONFIG2 = 0x00000000、
.ref_ctrl = 0x000040F1、
.ref_ctrl_final = 0x00001035、
SDRAM_TIM1 = 0xcccf36b3、
SDRAM_TIT2 = 0x30bf7fda、
SDRAM_TIM3 = 0x407f8ba8、
READ_IDLE_Ctrl = 0x00050000、
zq_config = 0x5007190b、
temp_alert_config = 0x00000000、
.EMIF_DDR_phy_ctlr_1_init = 0x0024400b、
.EMIF_DDR_phy_ctlr_1 = 0x0e24400b、
.EMIF_DDR_ext_phy_Ctrl_1 = 0x10040100、
.EMIF_DDR_ext_phy_Ctrl_2 = 0x00910091、
.EMIF_DDR_ext_phy_Ctrl_3 = 0x00950095、
.EMIF_DDR_ext_phy_Ctrl_4 = 0x009b009b、
.EMIF_DDR_ext_phy_Ctrl_5 = 0x009e009e、
.EMIF_RD_EV_LVL_RMP_WIN = 0x00000000、
.EMIF_rd_wr_lvl_RMP_ctl = 0x8000000、
.EMIF_rd_wr_lvl_ctl = 0x00000000、
.EMIF_rd_wr_exec_thresh = 0x00000305
}
但我们只能找到1GB 地址空间起始地址0x80000000 end bfffffff、另一半无法访问。
出什么问题了?
是的,我们使用 DDR3 K4B8G1646D-MYK0,请检查并帮助我!e2e.ti.com/.../DS_5F00_K4B8G1646D_5F00_MY_5F00_M_5F00_Rev1_5F00_0_2D00_0.pdf
我将在 这里发布 DDR 硬件原理图、我认为它可以帮助我们有效地解决问题。
在本例中、我尝试在 GEL 文件中配置 DDR3、
SDRAM_CONFIG = 0x79851bb2U;
这意味着 ibank_pos=3、ebank_pos =0或1、rowsize = 16。
e2e.ti.com/.../0753.AM572x_5F00_ddr_5F00_config.gel
我使用 CCS 调试 DDR3器件、 实际上我可以访问 memery 地址起始地址0x8000000结束0xFFFFFFFF。
在 uboot 中,我还可以使用相同的配置检测2GB 内存空间。硬件设计可能是错误的,为什么我可以访问整个内存?