Skip to content

Revert set isr_cache_safe - #44

Merged
ewowi merged 1 commit into
hpwit:devfrom
ewowi:revert-isr-cache-safe
Oct 16, 2025
Merged

ewowi merged 1 commit into
hpwit:devfrom
ewowi:revert-isr-cache-safe

Conversation

@ewowi

@ewowi ewowi commented Oct 16, 2025

Copy link
Copy Markdown
Collaborator

Results in Cache disabled but cached memory region accessed

(+ correction in main.cp(p))

Results in Cache disabled but cached memory region accessed

(+ correction in main.cp(p))
@ewowi
ewowi merged commit c9c9d25 into hpwit:dev Oct 16, 2025
@ewowi
ewowi deleted the revert-isr-cache-safe branch October 16, 2025 11:16
@hpwit

hpwit commented Oct 16, 2025

Copy link
Copy Markdown
Owner

hello this merge will avoid the conflict with the cache but you'll get artifacts if the DMA_BUFFER is not large enough

@ewowi

ewowi commented Oct 16, 2025 •

Copy link
Copy Markdown
Collaborator Author

That is absolutely true, i set the dma buffer to 75, as we discussed with @zackees
But without it I get the cache region crash which is worse 😉.

Maybe we need to set this as a compiler directive (~NO_CACHE_SAFE) so when it crashes you can exclude it.

Zach, it runs fine for you with isr cache save on?

@hpwit

hpwit commented Oct 16, 2025

Copy link
Copy Markdown
Owner

You can let it like this for the moment I was never cable to point out how to avoid this but I would need to look deeper into it maybe using the cachewriteback instruction

@ewowi

ewowi commented Oct 16, 2025

Copy link
Copy Markdown
Collaborator Author

Yeah my solution is also a workaround, we need to get to the bottom of this one day

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.

2 participants