How the Single-bit correctable and non correctable ecc errors can be generated in FLASH on MPC5777C?

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

How the Single-bit correctable and non correctable ecc errors can be generated in FLASH on MPC5777C?

767 Views
charukamboj
Contributor II

For the correctable single-bit FLASH error will the controller auto update the FLASH location with correct data?

Labels (1)
0 Kudos
2 Replies

605 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Single-bit errors are automatically corrected during read thus such error does not cause any program flow interruption. However this error stays physically present in flash memory, flash controller does not automatically re-flash memory, this does not happen.

 

Single bit error may be injected in flash memory the same way I have described here, section 6.2:

http://www.nxp.com/files/microcontrollers/doc/app_note/AN5200.pdf

 

Only it is needed to choose different pattern causing single bit error, for instance following:

  1. Write the original data A = 0xFFFFFFFF00000000 to a flash memory location.
  2. Over program data A to data B = 0xFFFFFFFF00000001 to the same flash memory location.
0 Kudos

605 Views
charukamboj
Contributor II

For MPC5777C:- The flash data gets corrupted whenever I program it twice. It always generate non - correctable error then.

Is there any specific way how data should be programmed to the same flash memory location?

0 Kudos