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.

EdmaTest application on am335x

Other Parts Discussed in Thread: SYSBIOS, SYSCONFIG

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.