I have implemented UDMA transfer application which does DMA copy from DDR to DDR in TDA4X.
Currently I am trying to perform ND copy and 2D copy to do a simple mem-copy transfer.
I have taken the reference of app_udma_test.c present in vision_apps/uttils/udma/ file for 2D and ND transfer. when I try to give the size of buffer below 260KB then the UDMA transfer is getting successful, but when the size is above 260KB
For example : for copying buffer of 512*1024 using UDMA, I am facing MEMORY FAULT (Core Dumped) error. I have tried the same with 2D and ND transfers but the result is same.
QUESTIONS :
1) Is there any limitation of size in UDMA transfer?
2) Is there any available document, which gives the explanation about DMA transfer, size limitations etc.
3) If there is a limitation of size then what you would suggest to do a memcpy of buffers with large size ( greater that size limitation )
Can you please guide regarding the same.
Thank You.
Vipul Kulkarni.