02-24-2011 07:49 AM
I work with ml403 demo board.
I want to built an opb ipif -based IP with dma sg support.
After creating appropriate peripherial (with Create or Import Periph wizard)
I generated libraries and BSP for my project.
In the folder drivers I get demonstration software for my IP.
Selftest function transfers data from SDRAM buffer to ipif FIFO and back from ipif FIFO to SDRAM.
The question is the following.
SDRAM srcBuffer and DstBuffer defined like
static Xuint SrcBuffer[size];
static Xuint DstBuffer[size];
So, should I in linkerscript create special section for this buffers or compiler do it automaticly?
Also, Xilinx provide cool application note xapp967.
There simple DMA transfer data from buffers on BRAM to ipif FIFO and back.
I tried to change pointers from BRAM based memory to SDRAM, but always get DMA error.
Why it happens so? Xapp967 is very close to what I need.
02-26-2011 03:42 AM