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

Access bits not shown for sectors > 32 on 4k cards #17

Open
magu opened this issue Feb 28, 2024 · 0 comments
Open

Access bits not shown for sectors > 32 on 4k cards #17

magu opened this issue Feb 28, 2024 · 0 comments

Comments

@magu
Copy link

magu commented Feb 28, 2024

The access bits for the 16 block sectors in the latter part of a 4k card are not shown properly but ERR is printed instead. According to the data sheet these are defined in the same way as in the 4 block sectors, but in clusters of 5 blocks each.

image

Thus it should be fairly trivial to calculate and save the access bits to block 0-4 instead of only 0, 5-9 instead of only 1, and lastly 10-14 instead of only 2 when sector is > 31.

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