Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Regular Contributor
maxman
Posts: 81
Registered: ‎09-30-2009
0

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

Xilinx Employee
joshual
Posts: 188
Registered: ‎08-01-2007
0

Re: opb ipif - based IP with DMA SG

compiler will do it automatically.

 

So, what kinda dma error you have?

Regular Contributor
maxman
Posts: 81
Registered: ‎09-30-2009
0

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