Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- No I am writing to the DMA_0_BASE register number 2 the write address, I have used 0x00300000 - relative a dress in the SDRAM. Am i right? --- Quote End --- No, the address on an Avalon master is always absolute, do you need to put 0x08300000 there. Be careful too if you want to write to the beginning of the SDRAM, as usually you have the reset and exception vectors there. Any modification of this area will make the CPU crash immediately. Try to use a malloc() function instead and use the address returned with the DMA. It is a lot safer. To debug this kind of problems I always recommend to use signaltap on the different Avalon interfaces. It lets you see what the IPs are doing and if you are using them correctly.