This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

problem: not able to run edma3_lld examples using ccs

Other Parts Discussed in Thread: DM3730

Hello EDMA Experts,
I am trying to run QDMA edma3_lld example (part of edma3lld_01_11_00_03) on beagleboard-XM (DM3730) Rev C.

For this I am using CCS5.1.0.09000_linux.
emda3_lld version is edma3lld_01_11_00_03.


I am able to compile the code.

But when I try to run it on board through ccs, code gets stuck inside following code waiting for transfer to get complete inside qdma_test.c .

---------------------------------------------------------------------------
/* Wait for the Completion ISR. */
while (irqRaised1 == 0)
{
/** Wait for the Completion ISR.
* You can insert your code here to do something
* meaningful.
*/
}
-------------------------------------------------------------------------


Can there be problem with my Gel files?
I am using Gel files located at

http://processors.wiki.ti.com/images/2/27/OMAP3530-25_GELs_CCSv4.zip


I am using tcf file for evm3530 located at
edma3lld_01_11_00_03/examples/edma3_driver/evm3530
Can anyone please tell me what I am missing?

I am attaching project sources for this.

Regards,
Mike
dma-test.zip
  • Mike,

    The snippet of code you mentioned seems to be a forever loop waiting for a flag to be set, therefore it is possible that your processor is running this routine most of the time. You can try to set a breakpoint in an interrupt request and see if it eventually stops there at a certain point in time.

    That said, we at the CCS forum are not the most suitable people to talk about the example code itself, therefore your question is better suited for the Device forums as you will get better ideas from the experts there. I will move this thread.

    Hope this helps,

    Rafael

  • I tried to set breakpoint in callback function which I believe is ISR for this. But it never reaches there.

    I am using evm3530 tcf file for DM3730 as I am using beagleboard XM. (referred  from /edma3lld_01_11_00_03/examples/edma3_driver/evm3530/ccs3/main.tcf)

    I think there needs to be some change in .tcf file. 

    But I am not sure what to change as I am not much familiar with this.

    Can you please check this and let me know what is going wrong?

    Regards,

    Mike