FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6467 討論

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

SShep
初學者
1,526 檢視

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 積分
2 回應
YuanLi_S_Intel
607 檢視

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

SShep
初學者
607 檢視

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

 

 

回覆