Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Need help to decode the bch code

Status
Not open for further replies.

zoomkrupesh

Newbie level 4
Joined
Feb 3, 2009
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,329
Hi All,

I am working on BCH code.I am using it to correct 4 bit of error of nand flash memory.
I have already implemented Hamming code to correct single bit errors.Below I have shown the steps for hamming implementation
(1)I applied hamming algorithm on 512bytes.
(2)During write operation in nand flash memory,I calculated a parity of 24 bits per 512 bytes.After completion of the writing of whole page in memory I stored calculated parity in spare area of nand flash memory.
(3)During read operation again I calculated the parity and I compare it with the previously stored bits.
(4)If both are equals then there is no error.
(5)If both are not equals then I calculated bit and byte address of error.

In BCH implementation I used the same procedure during writing operation in memory.
During decoding of BCH decoder I again count the parity
and I compare it with previously stored parity.If both are not equals then I am calculating the syndrome.
Now my question is that How to calculate the syndrome.In books I found that I need both data and previously calculated parity bits to calculate the syndrome.Is it the right way or should I calculate the syndrome using only previously stored parity bits

So please guide me I stuck here.

Thanks in advance

Krupesh
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top