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.

Documentation on DM365MM module?

I am developing an application on the DM365 EVM using DVSDK 3.10.00.12.  I am planning on using EDMA to perform memory-to-memory data transfers in several places in my application and have been looking through the DVSDK for an EDMA interface.  I found the DM365MM module, which has a function called DM365MM_memcpy() which looks to do exactly what I want.  However, I don't see any documentation stating how to talk to the DM365MM module in my user level application or what additional initialization is needed before I can perform a memcpy.  Has anyone used this module before or found documentation on how to use it?

EDIT:  From further digging I see that edmak.ko may be the EDMA driver that I want to interface with in my userspace application.  However, I still haven't found an example of how to do a memory-to-memory copy with this driver.  Does anyone have a simple example of how to use this driver from userspace?

  • From further digging I now know that the EDMAK module in LinuxUtils is only for a user application to allocate an EDMA resource.  Once I have the resource, I don't see any explanation on how to actually use it to start off an EDMA transfer.  I'm sure it's not that difficult, but I just don't see anything that tells me how to use this resource.  Is there any simple example of doing a memory to memory transfer using the EDMAK resource?

  • Bryan,

    I don't think we have a document explaining DM365mm module, but you can refer DMAI framecopy implementation on how to use this kernel module. The DMAI framecopy module uses IOCTL's from DM365MM module to perform HW accelerated framecopy (i.e EDMA copy).

    Thanks

    Brijesh