UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor wne
Visitor
427 Views
Registered: ‎05-03-2018

GPIO from Linux User Space

G´day!

 

I´m trying to control some GPIOs from Petalinux User Space by using /dev/mem-Mapping. I found this tutorial which gives a good C-Code example: http://www.wiki.xilinx.com/Linux+User+Mode+Pseudo+Driver.

Now I´m wondering how to program the PL to get the Linux-modified registers written to the hardware IO´s... Is there a Vivado Example or a documentation anywhere?

 

Kind regards, wne

 

0 Kudos
1 Reply
Moderator
Moderator
397 Views
Registered: ‎09-12-2007

Re: GPIO from Linux User Space

What exactly are you asking here :-)

 

Does this help, there is example code here:

http://www.wiki.xilinx.com/How+to+debug+Linux+Application+in+SDK+2017.4

0 Kudos