Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
925 Views

DE1, GPIO user space definitions for onboard Linux (NOT the monitor program)

Hi All, trying to write a very simple program to access GPIO pins from C source; Monitor Program works great (NIOS II cpu), but want to run on the DE1 Board itself. Need a listing of GPIO-related addresses for test

0 Kudos
2 Replies
Highlighted
Employee
6 Views

Hi SShep,

 

You may allocate the API in DE1 CD-ROM which can be obtained from link below:

https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=165&No=83&PartNo=4

 

Thank You.

 

Regards,

YL

0 Kudos
Highlighted
Beginner
6 Views

Hi YL,

thank you very much! I stumbled onto a partial answer (the booted Linux OS does not have direct access to the GPIO hardware (40-pin) like the user leds do). Instead, the 40pin is directly connected to FPGA

 

https://studylib.net/doc/18409693/soc-fpga-design-guide---moodle

 

Thanks again,

steve

 

 

0 Kudos