UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
3,074 Views
Registered: ‎09-30-2009

opb ipif - based IP with DMA SG

HI all,

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.

 

Thanks!

 

Max

Tags (2)
0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
3,055 Views
Registered: ‎08-01-2007

Re: opb ipif - based IP with DMA SG

compiler will do it automatically.

 

So, what kinda dma error you have?

0 Kudos
Adventurer
Adventurer
3,034 Views
Registered: ‎09-30-2009

Re: opb ipif - based IP with DMA SG

Hi Joshua,

 

 

Now, it doesn't matter what kind of dma error I got,
because I successfully run opb ipif with dmasg support. 
But I still worry about declaration of big data arrays. 
Please could you guide me how to make section for data in linkerscript 
and then point data buffers to it in C programm.

 

 

Thanks!

 

Max

0 Kudos