Forum Discussion
Altera_Forum
Honored Contributor
15 years agoDirect Memory Access (DMA)
hello, i am having a problem with using dma. my dma seems like never finish the transaction because it cannot call the done function and keep on looping in the while(!rx_done). I dont know why. can a...
Altera_Forum
Honored Contributor
15 years agoIn SOPC, I have SDRAM is for read from and onchip_write is write data out. Connect to DMA. In Nios program, there are src and dst. src to SDRAM_BASE and dst is connected to ONCHIP_WRITE.
Try this again. It should work. I also include the result from my output. rename main.doc to main.c You can see in SOPC, SDRAM base address memory is 0x1000000 and Onchip memory is 0x2020000. Sean