FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5922 Discussions

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

SShep
Beginner
1,178 Views

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
YuanLi_S_Intel
Employee
259 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
SShep
Beginner
259 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
Reply