Hi. I am using a C6657 DSP and have set up the platform file to use 512KB of L2Cache. The memory map now shows:
name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
L2SRAM 00800000 00080000 0007fc00 00000400 RW X
L1DSRAM 00f00000 00004000 00004000 00000000 RW
MSMCSRAM 0c000000 00100000 00000000 00100000 RW X
DDR3 80000000 08000000 0012e2f2 07ed1d0e RW X
VIRT 88000000 04000000 03c7226c 0038dd94 RW X
which is correct. I modified the .cfg file to include these lines:
var ti_sysbios_family_c66_Cache = xdc.useModule('ti.sysbios.family.c66.Cache');
ti_sysbios_family_c66_Cache.initSize.l2Size = ti_sysbios_family_c66_Cache.L2Size_512K;
When I run my program, it dies immediately.
If I do not use any L2 cache, my program runs great. What can be limiting me from using L2 cache?
Thanks,
Kim