Hi, I've ported the edmaTest.c application from am335x_sysbios_ind_sdk_1.1.0.8/sdk/starterware/examples/evmAM335x/edma to my user-space application in QT Creator (I'm using Linux 3.14-26 from TI SDK). It builds good, but hangs on while running. The cause is the reset the ARM interrupt controller in the file interrupt.c:
HWREG(SOC_AINTC_REGS + INTC_SYSCONFIG) = INTC_SYSCONFIG_SOFTRESET;
Of course, without this line the program hangs on the waiting for the Completion ISR in edmaTest.c:
while(EDMAAPP_IRQ_STATUS_XFER_INPROG == IrqRaised) {}
And without this line there are no data in the destination buffer (I'm trying to do memory-to-memory transaction). If someone knows how to fix this problem, please, tell me about it.