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

Add interleaved verify mode #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rowanG077
Copy link
Contributor

No description provided.

@rowanG077 rowanG077 force-pushed the interleave-write-verify branch from 6a0274b to 4610438 Compare August 19, 2023 04:32
if (!disable_verify && interleaved_verify) {
flash_start_read(rw_offset + addr);
flash_continue_read(buffer_flash, rc);
flash_wait();
Copy link
Contributor Author

@rowanG077 rowanG077 Aug 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gregdavill From what I understand from SPI flash this wait here shouldn't be necessary. But without it the second page fails to write/read correctly.

@rowanG077 rowanG077 force-pushed the interleave-write-verify branch from 4610438 to 61997bd Compare November 6, 2023 16:04
@rowanG077 rowanG077 force-pushed the interleave-write-verify branch from 61997bd to 8218991 Compare November 6, 2023 16:07
@rowanG077
Copy link
Contributor Author

rowanG077 commented Nov 6, 2023

I now verifies in larger chunks. This makes it about 3x faster then before. It's competitive with normal verification mode.

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

Successfully merging this pull request may close these issues.

1 participant