From: lilesh on
Hi all,
I'm trying to write a simple code using edma on dm6446 board. But my
application gets stuck at DAT_WAIT when i try to step over DAT_OPEN.
I've given the code here.
Can someone please tell me where is the problem ?

thanx
lilesh


int main()
{
int x;
CSL_init();

CACHE_enableCaching(CACHE_EMIFA_CE00);

//Configure L2 for 32K Cache mode
CACHE_setL2Mode(CACHE_32KCACHE);

CACHE_wbInvL2(&a, 4, CACHE_WAIT);
CACHE_wbInvL2(&b, 4, CACHE_WAIT);

EDMA_config(hEdma, &cfgEdma);
EDMA_enableChannel(hEdma);

DAT_open(DAT_CHA0, DAT_PRI_HIGH, 0);
DAT_copy(a,b,BUFF_SZ);
DAT_close();

}


From: Brad Griffis on
What library are you using for all those function calls? That looks
like CSL code from a 64x device like the 6416 or DM642. If that's the
case then it will not work with DM6446.

The recommended library for doing QDMA transactions like DAT_copy on the
DM6446 would be the ACPY library (actually, it's "ACPY2" or "ACPY3" but
I don't remember the number off hand).

Brad