I am a beginner of using DM6437 to implement some computer vision algorithms, and I am studying how to use DMA now.
I use the example "fastcopy" as a metrial to study DMA. However, after compiling the project using CCS (version 3.3.38.2), I have some troubles.
1. When I use fastcopytest.pjt in directory davincisim_bios to build the program, it was successed after I modified the "Include Search Path" and "Search Path" in "Build Option" dialog. Then, I try to run the program. However, when the program runs to function activateChannels(), line 201
status = DMAN3_createChannels(0, &dmaTab, 1);
the value of status is always DMAN3_EOUTOFTCCS.
I don't know how to solve the problem, so I try the fastcopytest.pjt in directory davincisim_nobios.
2. When the program runs to function activateChannels(), line 201
status = DMAN3_createChannels(0, &dmaTab, 1);
the value of status is always DMAN3_EOUTOFMEMORY.
I tried to search the forums by using DMAN3_EOUTOFTCCS, DMAN3_EOUTOFMEMORY, ACPY3, DMAN3, and DMA as keywords, but there are no solutions for my case.
Can anyone give me some advices to solve the problems?
The version of my framework components is 1.20.03, and xDAIS is version 5.21.
By the way, for now, I have several documents to study :
TMS320C64x DSP Two-Level Internal Memory Reference Guide (SPRU610C)
TMS320C6000 DSP Enhanced Direct Memory Access (EDMA) Controller Reference Guide (SPRU234C)
Framework Components Reference Manual
Using DMA with Framework Components for ‘C64x+ (SPRAAG1A)
Are there other DAM documents are suitable for a beginner to study? Or other examples for DMA usage? Or anything that might be helpful for me to know how to incorporate DMA into my project.
Many thanks
Jin-Yi Wu