Dear Sir,
I am a beginner to DSP. I am working with TMS320DM6437 DSP using CCSv5.3.0.
My objective is access to L2 cache memory and store data.
I referred a few TI pdf on configuring cache and tried these instructions in my sample code.
CACHE_L2Size oldSize;
CACHE_L2Mode oldMode;
CACHE_enableCaching(CACHE_EMIFB_CE00);
oldMode = CACHE_setL2Mode(CACHE_L2_NORMAL);
oldSize = CACHE_setL2Size(CACHE_128KCACHE);
But my data is getting saved in DDR2 memory ( seen in Memory Browser) :(
My cmd file is:
L2RAM: o = 0x00800000 l = 0x00020000 /* 128kB L2 RAM/Cache */
DDR2: o = 0x80000000 l = 0x04000000 /* 256MB External DDR2 */
.data > L2RAM
I am encountering questions like,
- Is this the correct way to configure L2 cache ? If not yes, then how ?
- How can I save my data in L2 cache ?
- If you help then I can also try working with L1P/L1D cache.
Can you guide me with the same !!!!!
Thanking you,
Regards,
S Sandeep