I have a Myriad 2 development board with MA2450. I'm trying to use the CMX DMA interface for data transfers from DRAM to CMX and back using the Baremetal paradigm (not RTEMS) from the LEON core.
I have tried both the new(DrvCdma.h) and old(DrvCmxDma.h) CMX DMA drivers. I can initialize DMA, create a transaction and start that transaction. However, my code gets stuck in the "DrvCmxDmaWaitTransaction" call.
I can run the examples from MDK that use CMX DMA with RTEMS paradigm without any trouble. I've compared my code to other examples to make sure i'm not missing anything (like enabling clocks etc.) and made changes accordingly, but no success.
Attached is a sample code that i use to test the CMX DMA engine.
I would really appreciate any help on this. Thanks!
Hi @SBaks5 ,
Thanks for reaching out. We are currently looking at your request and are hoping to have a response from the appropriate team. May I ask which development board are you using? I will get back to you as soon as I have something to share, thank you for being patient.