Patent ID: 7447980

Claim:
A method of performing error detection in data transmission packets, said method comprising: writing data into a plurality of datagrams in a storage memory medium; performing a first cyclic redundancy check (CRC) on the written data; performing a first forward error correction (FEC) Reed-Solomon (RS) decoding process row-by-row on said datagrams using a dual mode decoder operable in both an erasure mode and an error mode; marking erasures in said datagram corresponding to written data comprising errors; performing a second CRC on said written data; removing said erasures from said datagrams; and performing a second FEC RS decoding process row-by-row on said datagrams using said dual mode decoder, wherein in the removing of said erasures from said datagrams, a total number of said erasures in a particular row of said datagram exceeding 64 errata bytes is reduced to less than 64 errata bytes, and wherein a physical (PHY) RS decode fail signal is used for the marking of said erasures in said datagram.