Other Parts Discussed in Thread: SYSBIOS
Hi,
I am building an application on c6424 evm with ccsv4 and dsp/bios 6. I have added the following code in my program to enable L2 cache of size 64k.
UInt32* CacheRegs = (UInt32*)0x01840000 ;
(*CacheRegs) = (*CacheRegs)| 2;
When I view the L2CFG register using register view, it is showing value as 0x0001010. But the memory display shows 0x01840000 contains 2. From the spru871j (megamodule) document, the address of L2CFG is given as 0x01840000.
In the .cfg file, I have given to disable cache for address 0x80000000 - 0x8FFFFFFFF
var ti_sysbios_family_c64p_Cache = xdc.useModule('ti.sysbios.family.c64p.Cache'); ti_sysbios_family_c64p_Cache.MAR128_159 = 254;
Should I do anything additional to enable L2cache?