Forum Discussion
Altera_Forum
Honored Contributor
15 years agoSGDMA descriptor questions
Hi, Before i ask the question, i would like to clarify my doubts regarding SGDMA. 1) A single descriptor needs 32 byte of memory to store its addresses, status, and control. right? (Since the...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- You will need to use two descriptors to move 65kB of memory, descriptors only have a 16-bit length field so that means you can only write up to 65535 bytes total. So it's not that the memory is write protected, the SGDMA just can't write that much data using a single descriptor. --- Quote End --- I was using a chains of descriptors, not just 1. I know 1 DMA transaction can move 65KB of data, so i used a chains of 4 DMA transaction to move 16384 bytes each time, so i can move 4*16384=65536 Bytes, but still some ranges of memory address in the destination RAM is not writable, as shown in the picture Michael