Forum Discussion
Altera_Forum
Honored Contributor
12 years agomSGDMA DDR3 errors in data saved after X bytes
I have Qsys system consisting of NIOS (+ associated peripherals), mSGDMA dispatcher, mSGDMA write master and custom block with avalon stream output. Dispatcher settings: Streaming to Mem...
Altera_Forum
Honored Contributor
12 years agoThe cpu write to the dma controller registers need to bypass the data cache.
You need to make sure that any data you want the dma controller to read has been flushed from the data cache (to ensure the dma reads the correct data). You need to invalidate the data cache for the dma target buffer before the dma starts (to ensure the cpu doesn't write back dirty cache lines).