Hi,
I'm using the OMAP-L138 Zoom Development Kit from Logic PD to port one of our projects from the C6418 DSP to the C6748 DSP, using DSP/BIOS 5.41. I'm currently in the process of chasing some bugs in the system. At the moment I'm really struggling just to localize the bug(s) to a certain area to the code, since the same inputs from my side into the application, results in inconsistent failures. However, through various stepping excursions through the code, it appears that the failures are usually somehow related to dynamic memory allocation. I've seen this type of inconsistent behaviour when I used the PSP drivers in EDMA mode without correctly aligning my buffers, but I can't see how this is the same.
All our dynamic memory allocations are made from external mDDR RAM (except for EDMA, explained below) with a very large heap defined in my TCF script, so the problem is definitely not related to insufficient memory.
We are only using the EDMA for data transfer between the McASP and the AIC3106 codec, and the SIO buffers for this are allocated from internal RAM.
To my understanding, buffer alignment to the C6748 cache line is only required if EDMA is used and the memory in question is external memory. Is my understanding correct or am I missing something?
Also, are there any other memory considerations specific to the C6748 that I have to take into account in the way I manage memory?
Some pointer would be greatly appreciated!
Regards
Reinier