I am developing with an OMAP-L138 and have been operating under the assumption that the 128K of on-chip memory available to the DSP at 0x80000000 is fast memory that is not cached through L2.
I have now demonstrated to myself that my assumption about the caching is incorrect: this memory is cached through L2 so I have to be careful to invalidate it when filling it with EDMA.
I want to know if my other assumption is wrong:
- is this on-chip memory faster than normal DDR?
- Is it as fast as the portion of L2 I don't use as cache?
- If so, doesn't the L2 caching cause some inefficiencies (if the memory is as fast as L2, doesn't caching through L2 essentially make it half as fast as it otherwise could be, as we are transferring from the fast on-chip memory to the equally fast L2 memory?)
- Using my SYS/BIOS 6.3.33 config file, is there a way to turn off L2 caching for this section of memory?
- Would that be a dumb idea (since it would probably turn off L1 caching as well, correct?)
- Optimally, is there a way to turn off L2 caching while keeping L1 caching for this memory? (I'd be shocked if there was.)
Thanks,
Jay