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,528件の閲覧回数

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
従業員
609件の閲覧回数

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
ビギナー
609件の閲覧回数

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

 

 

返信