ECC检验
这个和处理器的ddr控制器相关吧,不知道小编用的哪款处理器?——【补充】如果小编读写前没有初始化ddr,但处理器的ECC_EN功能配置为有效;必然会出现ECC中断。
以下摘自freescale P3041的Design Consideration
ECC_EN ECC enable
Note that when HID1[RFXE] = 1, uncorrectable read errors (that is, multi-bit errors) cause the
assertion of core_fault_in, which causes the core to generate a machine check interrupt unless
HID1[RFXE] is disabled (by clearing HID1[RFXE] = 0). If RFXE is zero and an uncorrectable read
error occurs, ERR_DISABLE[MBED] must be cleared and ERR_INT_EN[MBEE] and ECC_EN
must be set to ensure an interrupt is generated.
0 No ECC errors are reported. No ECC interrupts are generated. (ECC is disabled).
1 ECC is enabled.
英文不太好,没太看明白楼上给的信息是什么意思?但是不管什么处理器是不是在使能ECC功能,切应用控制器前都要对mem进行初始化啊,这个有点说不通啊
对ddr单拍先写后读应该不会出错啊,读出的值应该是上一拍写入的值啊
单拍有问题,burst没问题
