Hi Serguei,
Thanks for your reply.
I have another few questions:
1. Now I am able to inject a double-bit error in noncached SDRAM and it triggers a synchronous interrupt. Do you why is it synchronous interrupt instead of System Error?
2. If a single-bit error happens in L1/L2 cache, would single-bit error counter ERR_SBE[SBEC] increment? Or ERR_SBE[SBEC] only increments if a single-bit error occurs in DRAM?
3. I also found a wierd thing that even if ERR_INT_EN[MBEE] is disabled, double-bit error can still trigger an interrupt (ERR_DISABLE[MBED] is 0 and DDR_SDRAM_CFG[ECC_EN] is 1). Do I miss some configuration? Or this register is not needed for enabling ECC interrupts?
4. If I want to handle the ECC interrupt via GIC, what is the configuration that should be done?
5. How to configure ECC on OCRAM and L1/L2 cache? And how to inject ECC errors in OCRAM and Cache?
Best,
He