P4080 DDR: can pass D_INIT produre, but can not be read

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

P4080 DDR: can pass D_INIT produre, but can not be read

454 次查看
carlpeng
Contributor II

Could you please help to give some suggestions?

During DDR initialization, I set D_INIT and loop to polling this bit, it will be cleared. Does it mean that the DDR can be initialized by itself. But at this time, I only can access a little address space of DDR, I guess it is accessing cache, not really access DDR, since when I try to read a larger for example 4M address space of DDR, it will fail.

标签 (1)
0 项奖励
1 回复

200 次查看
Bulat
NXP Employee
NXP Employee

Yes, if D_INIT bit is set the DDR controller initializes the entire memory after MEM_EN=1. Any read of the "fresh" memory should return value written to the DDR_DATA_INIT register. If value is different or ECC errors happen, then something is wrong with either DDR SW or HW setup. The last can inculde problems with electrical parameters (like VDD or VTT or VREF voltages, etc) or PCB layout.

Regards,

Bulat

0 项奖励