cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Participant
Participant
518 Views
Registered: ‎06-15-2016

Access DDR through PL and Linux

Hi all,

 

How could I read or write a specific address of the DDR in the linux project?  I used PL part to write some data to DDR then I need to read those data from Linux part.

 

I use Zedboard. The vivado verision is 2018.2, petalinux version is 2018.2. 

 

Thanks.

0 Kudos
Reply
1 Reply
Observer
Observer
455 Views
Registered: ‎12-08-2014

Petalinux includes the example applications "peek" and "poke" that demonstrate reading and writing to memory. Basically you're opening /dev/mem and having your way with it. Note that linux will not allow you to read/write to any location of your choosing from userland--you need a kernel driver to get full access.

0 Kudos
Reply