multiple bit error and ECC function?

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

multiple bit error and ECC function?

1,546 Views
JeorgeB
Contributor III

Hi, 

1 in s32k14x, ECC operates in Flash and SRAM memories and can detect single bit and dual bit error.

what happens if multiple bit error occurred in SRAM & Flash memories?

are they reported as dual bit error?

 

2. is there any module like ERM for flash memory for showing the error address in flash memory?

 

Thanks.

0 Kudos
2 Replies

1,542 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

 

we provide this application note which provides a lot of useful details related to this topic:

https://www.nxp.com/docs/en/application-note/AN12522.pdf

 

The error is reported only when you access affected flash phrase – that means during data access or instruction fetch. So, you can get one error at a time. Next errors will be reported during next accesses.

 

Notice that Flash reports only double bit error. Single bit errors are automatically corrected and there’s no option to report it. Double bit error in flash triggers Bus Fault exception during data access or instruction fetch, so the failing flash address can be found in BFAR core register.

 

Regards,

Lukas

 

0 Kudos

1,536 Views
JeorgeB
Contributor III

Thanks luca,

 

haw is error flag when multiple error occurred? (assume 4 bit) is that like double bit error?

B. assume we run DMA and it source address be a pointer to flash memory location (under 0x20000000), and destination address is an SRAM-U location. now we adjust DMA registers in a way that source address increments each time and source is fixed. can we use this method for finding error on flash ?

if Yes, is that good approach to test SRAM U & L, for finding errors before accessing the corrupt locations in runtime application?

0 Kudos