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

Retry failed pages after verify #53

Open
ygoe opened this issue Apr 26, 2020 · 0 comments
Open

Retry failed pages after verify #53

ygoe opened this issue Apr 26, 2020 · 0 comments

Comments

@ygoe
Copy link

ygoe commented Apr 26, 2020

I've recently updated my pyupdi copy and see that the tx echo check was removed. This was the major source of failures for me in the past.

Now it still happens from time to time that the read verification reports incorrect bytes. Often just one or two, sometimes a lot more. I've hacked the code in a way that it just tries reading it all a second time if something was incorrect. And then, it often works without any errors, or sometimes with another number of wrong bytes at other positions.

So the read verification doesn't seem to be very reliable either. I'm thinking about changing the code so that it re-reads the failed pages once again, and also re-writes these pages if the error persists. The idea is to make the flash process reliable with minimal NVM write wear.

Is this something you'd be interested in? Could you give me some hints about how to do that? I've never written anything in Python before so I'll have to figure out the syntax and language basics on the way. (I already started this for my first pull request here today.)

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

1 participant