07-11-2018 09:53 AM
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.
07-19-2018 11:35 AM
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.