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 agoi see no mistake in sopc.
your ddr memory must be at 02000000 and i do not see any memory at 00100000 you programm uses values from system.h DDR_SDRAM_BASE is this value 00000000 or is it 02000000 ? if you modify your application a bit case 'B': // DDR write operation DDR_write_ADDRESS = to_hex(&packet[1]); data = to_hex(&packet[9]); for(i=1;i<=32;i++) { IOWR(DDR_write_ADDRESS,0,data); iprintf("Written %08x to address %08x \n", data, DDR_write_ADDRESS); DDR_write_ADDRESS += 1; data += 1; } break; now could enter any real adress without system.h now try again 02100000