Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

configuring cache in linker cmd file

$
0
0

Hi,

In an application based on a StarterWare example, I have

MEMORY {
CACHE_L2  : origin = 0x11810000, len = 0x30000
CACHE_L1P : origin = 0x11e00000, len = 0x8000
CACHE_L1D : origin = 0x11f00000, len = 0x8000
L2RAM     : origin = 0x11800000, len = 0x10000
}

in the linker.cmd file. Does this give the linker and processor enough information that I want to use CACHE_xx as cache? Do I have to configure some registers? I understand that only certain configurations are allowed, for example in L2, you could have 128K as RAM and 128k as cache. But the linker.cmd makes me think I can split L2 in any way I want.

Thanks


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>