Hi,
I am running SYS/BIOS 6.31.4.27 on a L138 C674x DSP and I am having some trouble enabling cache.
I use SYS/LINK to bootload the DSP from Linux, and are running some very simple benchmarks to try to figure out how much processing power I have. However, I can't seem to enable (or disable) the cache on the DSP. I am using the ti.sysbios.hal.Cache module, and calls to Cache_disable(Cache_Type_ALL) and Cache_enable(Cache_Type_ALL) does not make the program go faster or slower (I get around 10MFLOPS double precision).
I have made a custom RTSC platform where I have defined the DDR and 2 sections for the SYS/LINK shared memories (SR0 and SR1). I set the L1D and L1P cache to 32k and the L2 cache to 256k. All my code is set to run off the DDR.
I would have thought that it would be sufficient to call the Cache_enable() function to get it working, but apparently I'm missing something. I am quite new to CCS and RTSC, so there might be some fundamental things I am doing wrong.
Any ideas?
Best regards,
- Nikolaj Fogh