我手上有一块自制的dm8168板子,现在内存初始化过不了,加载gel文件会报错,具体log在附件里。
我按照DM816x_C6A816x_AM389x_EMIF4_Register_Settings配置了timing寄存器,具体参数如下(采用8片MT41J128M8JP-125:G内存颗粒)
除了配置这几个参数,还需要修改什么参数吗?
我想降频试一下,比如降到400MHz,是不是把寄存器配置excel里的DDR Frequency 从800M修改成400M,其他的时序参数同ddr3-1600的设置?
调试一直卡在gel内存配置这很久了,请各位大侠不吝赐教,谢谢!
错误信息
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). (Emulation package 5.0.872.0)
doall() cannot be evaluated.
target access failed at *((unsigned int *) (0x4C000000+0x10))=(unsigned int) (0x10000000|SDREF) [DM816x.gel:229]
at EMIF4P_Init(0x0CCCE524, 0x30308023, 0x009F82CF, (0x10000C30&0xfffffff), 0x62A41032, 0x0000030B) [DM816x.gel:1303]
at NetraDDRPLL_400() [DM816x.gel:1004] at DDR3_400MHZ_doall() [DM816x.gel:1204]
at doall()
Chris Meng:
你好,
出错是访问某个寄存器有错误。我认为还没到DDR配置的问题,是JTAG连接不稳定问题。请测量一下JTAG的相关信号,看是否正常。也可把JTAG clock降低一下试试。