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

[cortex-m7] Enable I/D-Cache via lbuild #1255

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

salkinium
Copy link
Member

@salkinium salkinium commented Jan 17, 2025

Only enable the D-Cache after the memory operations, so that all data is committed to the memory when required (for example for the VTOR in RAM!!!)

Related to #1236.

@salkinium salkinium added this to the 2025q1 milestone Jan 17, 2025
@salkinium salkinium force-pushed the fix/dcache branch 4 times, most recently from 12a27d4 to 539a0bf Compare January 21, 2025 15:26
@salkinium salkinium marked this pull request as ready for review January 21, 2025 15:53
@salkinium
Copy link
Member Author

@jgmess-dlr Could you check if this change still works for your use case? I discovered stability issues when uploading using a JLINK. I think the main issue is that VTOR is set to RAM by default on Cortex-M4, but the VTOR may not actually have been copied to RAM and instead is still in DCache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant