Dear DaVinci Group,
There was a big surprise for me today. MEM_alloc writes something behind the memory it allocates. If the memSize is not modulo cacheLineSize and the memory is filled through an EDMA from a Videoport for example MEM_allocs information can be overwritten when the last cache line is updated. This can lead to really strange behaviour.
I opened a thread in the DSP BIOS forum here. I normally just follow this forum, so I thought to post a link here.
I think its good to know that you have to care about the memory after the block MEM_alloc gives you.
bye,
Thomas