10-28-2014 07:47 AM
Is there a mechanism to access (turn on/off) LEDs on Zynq ZC706 board from Linux? Accessing registers via mmap of /dev/mem would be fine. I am hoping that the LEDs are connected to the PS and no changes to PL are required/necessary.
Is that correct? I looked and searched a few user guide but didn't see anything on how to control LEDs from PS without building an FPGA image. Any tips/pointers greatly appreciated.
10-28-2014 08:08 AM
Please check if below discussion helps
Also this AR
10-28-2014 09:22 AM
AFAIK, all LEDs on the zc706 are connected to PL pins. So, at a bare minimum, you need a bitstream that routes those pins to the PS GPIO on the EMIO interface.
Once there you should use the gpio-led driver to control the LEDs.
10-28-2014 09:43 AM
Thanks sorenb. I was hoping that I don't hav eto build a bitstream for driving LEDs on ZC706 but will look into building one now. Thanks for the pointer to the Wiki page which is very useful.