摘要
FLASH/EEPROM是一种广泛用于汽车、家用电器的存储器,但存储的数据会因震荡、噪声、遇磁等发生错误。为了提供错误监测/校验功能,须对其存储的数据进行编码。海明码是一种错误校验码。扩展海明码是在海明码的基础上,新增一个监控位15,成为具有5个监控位的扩展海明码。它能对32位的数据进行编码,并对编码过的数据进行监测和校验,可以检查出2位错,并对仅有1位错的情况进行纠正。该算法可以对FLASH/EEPROM中存放的数据进行编码/校验/纠错,取得要求的效果。
FLASH/EEPROM is a kind of read-only memory that is widely used in automobile and domestic appliance. But error may occur because of noise, shake, or magnetizing. The data stored should be encoded in order to provide the error checking and correcting function. Hamming code is a kind of error-correcting code. While the extended-Hamming code based on the Hamming code has 5 check bits by adding an additional 15th check bit. It can encode the 32-bit data, and also can decode the encoded data with the ability of 2-bit error checking and 1-bit error correcting. This algorithm can encode, check, and correct the data in FLASH/EEPROM successfully.
出处
《兵工自动化》
2003年第3期52-54,共3页
Ordnance Industry Automation
基金
外资项目基金资助