multiple bit error and ECC function?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

multiple bit error and ECC function?

2,050件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

2,046件の閲覧回数
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 件の賞賛
返信

2,040件の閲覧回数
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 件の賞賛
返信