How to turn on ECC for s32k118

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to turn on ECC for s32k118

771 Views
xiaohuang
Contributor I

xiaohuang_0-1646622091016.pngWhether 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

 

0 Kudos
Reply
2 Replies

306 Views
ktmirshad767
Contributor I

Hi,

 from where I get these sample codes? 

0 Kudos
Reply

766 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@xiaohuang

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,

Senlent_0-1646627771474.png

BR!

     Jim,

 

0 Kudos
Reply