cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Denis
Visitor
Visitor
165 Views
Registered: ‎07-29-2020

Data transfer from PL to PS to linux file

Hello.

I'm trying to send one bit from PL to PS. I want to be able to read it in launched linux session. Topic seems really huge, I dont know where to start.

I guess I need to write a linux driver that would read data from the address that is predefined by myself in vivado. Am I right? If so, how to define addresses in Vivado? What are the limitations? Is it essential to use "linux/dmaengine.h" (Met in one example of code)?

Pinned block design of my project below (useful part I guess)

I would be grateful for any information.

 

Tags (3)
BD.png
0 Kudos
1 Reply
dgisselq
Scholar
Scholar
162 Views
Registered: ‎05-21-2015

@Denis ,

I haven't (yet) used the Linux driver approach.  Instead, I've been more likely to map /dev/mem and then read from the PL address space directly.  Be careful not to use Xilinx's Create and Package New IP design for your AXI or AXI-lite interface.  It's known to have issues.  This one should work better.  Other than that, you should be good.

Dan

0 Kudos