Skip to content

Workaround PSRAM cache invalid'n by reading flash #2551

New issue

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

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

Already on GitHub? # to your account

Merged
merged 7 commits into from
Oct 23, 2024

Conversation

earlephilhower
Copy link
Owner

Fixes #2537

While waiting for a working direct cache flush routine, try and force the cache to evict all PSRAM values by reading a bunch of flash addresses (which share the XIP cache). This hurts performance when PSRAM is not used, but is required for correctness until we have a working XIP flush.

Fixes #2537

While waiting for a working direct cache flush routine, try and force the
cache to evict all PSRAM values by reading a bunch of flash addresses (which
share the XIP cache).  This hurts performance when PSRAM is not used, but
is required for correctness until we have a working XIP flush.
@earlephilhower earlephilhower changed the title Workaround PSRAM cache invalid'm by reading flash Workaround PSRAM cache invalid'n by reading flash Oct 23, 2024
@earlephilhower earlephilhower merged commit 599c226 into master Oct 23, 2024
26 checks passed
@earlephilhower earlephilhower deleted the psramcacheflush branch October 23, 2024 23:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flash operations break PSRAM interface
1 participant