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.

SDMA causes system to crash when copying data > 4K bytes

Other Parts Discussed in Thread: DM3730

I am trying to make SDMA to work on Linux 3.0/DM3730.

I have tried the simplest memory copy (Element size = BYTE, non-burst, non-packed, single frame).  It works when the size of the data is 1K Bytes, but if I try to copy larger size, say 4K bytes, then system dies.

Can anybody help me?

Thanks!

1106.slaDmaSample.cpp

  • Tamo,

    Are you allocating the requirement memory from CMEM?

    Also It might be because of scattered physical pages in the memory, even though the virtual addresses are contiguous. Check the physical address of the address (src + 4k) and compare with the physical address of  src. Do the same comparison for destination address also.

  • Renjith Thomas said:

    Also It might be because of scattered physical pages in the memory, even though the virtual addresses are contiguous. Check the physical address of the address (src + 4k) and compare with the physical address of  src. Do the same comparison for destination address also.

    I wasn't allocating from CMEM.  This makes perfect sense!  
    Thanks for the quick response!