Jun 29, 2021
02:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 29, 2021
02:40 AM
Hi all
I'm trying to figure out how the Cache Ram and Tag cache Ram is intended to work. (Program Cache TAG RAM, Data Cache TAG Ram, Data Cache ram etc). There is some reference?
These RAM section are automatically used by the uC or need to be explicitily "invoked" into the code/linker?
Br
Francesco
I'm trying to figure out how the Cache Ram and Tag cache Ram is intended to work. (Program Cache TAG RAM, Data Cache TAG Ram, Data Cache ram etc). There is some reference?
These RAM section are automatically used by the uC or need to be explicitily "invoked" into the code/linker?
Br
Francesco
- Tags:
- IFX
3 Replies
Jul 01, 2021
02:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 01, 2021
02:33 AM
Cache Ram and cache Tag Ram are used automatically when the cache is switched on (default) and an access to any cached address occurs. There is nothing to define in linker script file for this memory. Please note that Cache Ram and Cache Tag Ram are not directly accessible by any CPU or debugger.
Jul 01, 2021
11:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 01, 2021
11:43 PM
Thanks Mod for your reply. Where I can get some more information on when is better to use this features (cache/not cached) and when is better to avoid to use it?
You wrote it is not diretly accessibly by the any CPU so who will use these ram section? S
You wrote it is not diretly accessibly by the any CPU so who will use these ram section? S
Jul 05, 2021
03:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 05, 2021
03:30 AM
You should always use the cache (increase execution speed). Therefore the cache is enabled per default. Using cache should be avoided for variable which are used by different CPUs or with DMA. Such variables should be places in non cached area.
Not directly accessible by the CPU means that the CPU can't be access this memory via any address. If the cache is enabled then the CPU use this Rams but can't read directly the content via any address.
Not directly accessible by the CPU means that the CPU can't be access this memory via any address. If the cache is enabled then the CPU use this Rams but can't read directly the content via any address.
This widget could not be displayed.