Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8621

General • Re: Trapping cache-misses on rp2350

$
0
0
Only little problem I see: When a line is pinned, the cache no longer seems to track the dirty state (unlike for unpinned lines which can change from clear to dirty - pinned is just pinned). MAybe there's some way around it to create a shadow state to track this. Anyway I will start experimenting with the bus errors and basic pinning and report back :)
I think you have to do it manually anyway, and the Flash is not writable by normal ways.
NOTE
The pin maintenance operation only marks the line as pinned; it does not perform any copying of data. When pinning
lines that exist in external memory devices, you must first pin the line, then copy the downstream data into the
pinned line by reading from the uncached XIP window.

Statistics: Posted by gmx — Mon Oct 13, 2025 8:29 pm



Viewing all articles
Browse latest Browse all 8621

Trending Articles