Developed in the 1970's, Fire Codes are basically a tricky way of providing the same results as row and column parity or CRC. They are very fast to decode and check, and can be used to correct errors as well.
Fire codes operate because of the careful selection of the CRCgenerating polynomial. (X^ 23 +1)( X^ 17 +X^3 +1) These special polynomials contain two primepolynomial factors, each of which helps locate a detected error. Knowing the location of a transmitted error modulo and the degree of each of these primepolynomial factors, you can apply the Chinese remainder theorem to locate the exact bit error. Although the math sounds complex, you can easily implement it with highspeed D flipflops and XOR gates. If a 32bit firecodeprotected block contains two errors separated by exactly 11 bits, the fire code fails to correct the errors.
Google: fire code error correction
See also:
Data *        * *   *     *   * bits  *       *  *   *    *   *   *      *   *   *   *   *    *     *    *   *  *   *     *    *     *   * *   *      *   *      *   X   *       *  *       *  * *  *        * *        * *  * * Parity = = = = = = = = P = = = = = = = = ! = = !
Each parity bit is the XOR of parity for the data byte with which it is
associated and parity for staggered bits from the eight previous bytes.
Essentially, it is a clever way to obtain the same results as are provided
by the use of row and column parity bits. (After the last byte of data, one
extra byte, with the extra parity bit, is needed to provide parity for all
the remaining diagonals.)
file: /Techref/method/error/firecodes.htm, 3KB, , updated: 2009/1/23 12:33, local time: 2024/10/5 12:27,
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://piclist.com/techref/method/error/firecodes.htm"> Fire codes</A> 
Did you find what you needed? 
PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found  Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. ongoing support is MOST appreciated! * Contributors: Richard Seriani, Sr. 
Welcome to piclist.com! 
.