Hi
I have a SD driver that works (single and multiblock transfers) with interrupts but now I am trying to get the same thing working with EDMA. However, the RTA bit in the PSTATE register remains active even after I receive a TCC from EDMA. And the transfer buffer is obviously not written to. I'm trying to follow the (incomplete and broken) examples in pdk_am335x_1_0_0:MMCSDDMA_v1.c where I use AB-type DMA transfers and I'm sure to set the DMA bit in the CMD register.
I don't understand why EDMA would think its finished reading when the MMCSD doesn't agree. The BLK register and PaRAM set looks correct to me before I send the command.
Any help or advise would be appreciated.