Jump to content
  • 0

Accessing of DDR RAM in Zybo for data storage


Anil Kumar S

Question

Hi,

IN the present 512MB x32 DDR3 RAM , hoe much DDR RAM i can use for data storage in SDK , as given in lscript.ld file.

Up to wat range the size of DDr can be set.

How to access that memory in C (SDK) .

if this is bot possible ten ow can i access Block RAm in SDK for PS usage not interm of PL.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Hey Anil,

By default, the program is loaded into DDR but that should leave most of the DDR open for whatever storage you need.  The true amount is detailed in the lscript.ld file as you said.

I haven't ever used the DDR from a bare metal design but after some research I found that you can just use Xil_out32() and Xil_In32() commands.  

To access block ram in SDK, just add an AXI BRAM controller and access it using  Xil_out32() and Xil_In32().

Best of luck!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...