Whether to open this code is to open ECC?I turned on this code to inject errors using EIM, but the MCM module does not report errors as,How to turn on ECC for s32k118
Hi,
from where I get these sample codes?
these code are used to initialize the RAM with 32-bit writes.
please refer to S32K-RM Chapter 32.5
32.5 Initialization / application information
It is essential that each memory address be written to a known value before it is read.
This includes reads generated from the read/modify/write operation which occurs when a
write transfer of less than 32 bits or unaligned write is requested (see Less than 32-bit
writes). Without writing an address to a known value first, a read from this address will
most likely generate an ECC multiple error.
for your question:
you can take a look at the belowing two routines in the picture,
BR!
Jim,