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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

2,212 次查看
charukamboj
Contributor II

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

标签 (1)
0 项奖励
回复
2 回复数

2,050 次查看
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 项奖励
回复

2,050 次查看
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 项奖励
回复