Forum Discussion
Altera_Forum
Honored Contributor
14 years agodma questions
Hey! I'm runing some test using the DMA controller. I started with the simplest one, trying to copy some datas from an onchip memory to another. I'm using this code.
static volatile int rx_don...
Altera_Forum
Honored Contributor
14 years agoyou need to flush the cache on the source data before you initiate the DMA transfer, and invalidate the cache on the destination data after the transfer.
Or you can read/write your data using unached memory accesses (see the alt_remap_uncached() ) function. Or you can disable the data cache all together and check for any changes.