Hello,
I want to use some of L1D as SRAM to store some data in C6474 .. as well as using 16KBytes of it as Cache .. in the program start i set it as the following :
CACHE_setL1dSize((CACHE_L1Size)CACHE_L1_16KCACHE);
In the CMD file i tell the compiler to put my data into L1D :
.cData : > L1DSRAM
The memory of my system looks like :
MEMORY{
L1DSRAM : o = 0x00F04000, l = 0x00003FFF
L1PSRAM : o = 0x00E04000, l = 0x00003FFF
L2SRAM : o = 0x10800000, l = 0x00100000
DDR : o = 0x80000000, l = 0x08000000
}
When i execute the program, my variable starts at the address 0x00F04000, but contrains other data than it should contain .. the only possible reason is that Cache is using that same region .. how to know which 16 KBytes of L1D the Cache is using ?
Thanks