Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling of ECC error #34

Open
novykkostia opened this issue Nov 21, 2022 · 1 comment
Open

Handling of ECC error #34

novykkostia opened this issue Nov 21, 2022 · 1 comment

Comments

@novykkostia
Copy link

Good day @dlbeer,

While working with your dhara ftl for nand flash it was noticed that there is no ecc error handling, the dhara functions just return this error without any further action. Is it necessary to implement ECC error handling yourself? I saw a similar issue #24

@dlbeer
Copy link
Owner

dlbeer commented Nov 21, 2022

Yes, it is necessary to do this yourself. Many ECC chips will handle it for you in hardware. If you need a software implementation, there's example code provided for BCH and Hamming codes.

Whichever way you do it, remember to read enough data during a partial read to get a complete ECC block -- partial reads require ECC too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants