Q1. OSA_dmaCopy2D() requires two physical addresses for source and destination...
The source in shared memory provided by Vcam_getFullVideoFrames() - no problem there.
The question is how to treat the malloc'ed destination buffer in my A8 application...
If I use CMEM_getPhys() to get the physical destination address - I get errors.
If, on the other hand, I just use the address that malloc returns as the physical address, there is no error message - but nothing seems to get copied...
Q2. My previous experience with DMA transfers on other platforms is that you invoke the copy operation and poll the status for completion; here the function returns immediately with a completion status and no instance of use of this function in the DM8217 framework polls for status. I'd appreciate an explanation...
Thnx,
Zev