Forum Discussion
Altera_Forum
Honored Contributor
16 years agomemory-to-memory sgdma problem
Hello, I am testing the sgdma core by copy data from one on-chip-memory buffer to the other. However, I met a confusing problem that the actual_transfered_bytes is always zero. Can anybody he...
Altera_Forum
Honored Contributor
16 years agoThe length of your buffer is 40 (10 words of 4 bytes each). Like others have said make sure the data isn't held in the cache.
I can't remember if actual bytes transferred is supposed to update for MM->MM transaction types since there is no need to know it (you tell the DMA how much data to move). The actual bytes transferred field is meant for ST-->MM transactions with packet support enabled since you will not know how much data is arriving.