Forum Discussion
Altera_Forum
Honored Contributor
16 years agoDMA Transfer Issue
Hi, I have build a system which has NIOS II, DDR SDRAM controller, On-Chip RAM, UART,DMA Controller. My program memory is DDR SDRAM. I have connected DMA controller between DDR SDRAM and On-Chi...
Altera_Forum
Honored Contributor
16 years agoHi
I am surprised to see that in my program this line of code works IOWR(DDR_Write_Address,0,data); and this one does not give me the correct result IOWR(DDR_SDRAM_BASE,DDR_Write_Address,data); this remains same for both iprintf("Written %08x to address %08x \n", data, DDR_Write_Address); DDR_Write_Address += 4; data += 1; in first line of code DDR_Write_Address = base address which works :) in second line of code DDR_Write_Address = offset address which does not give me result i want :mad: :mad: any input ....idea???