Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

gpio led problem on cyclone III Dev Board.......

Altera_Forum
Honored Contributor II
1,150 Views

Hello all........ 

 

i have spent many time and loosing a lot of hair fighting with cyclone III dev board and now i can't go ahead without help...... :( 

 

i did a hardware using the OpenCore 10/100 Ethernet mac and the OpenCore gpio to control 4 leds..... 

 

the kernel compiling with no problem ...... 

 

uclinux boot ... ... Ok 

 

the devices are registred ok...... but i can't control leds with the command 

 

echo 1 > /sys/class/leds/led0/brightness 

 

i put one led to trigger with heartbeat and it blinks ok 

 

when i do ls in led0 dir , appear the parameters brightness trigger etc but i can't change this parameters... 

I guess I do not have privileges to set this ....... 

 

 

i am post print screen of my project and the kernel boot 

 

 

please sorry for my poor english 

 

 

help me !!!!!!!! 

 

thanks very much..... 

 

Franz Wagner
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
255 Views

one more thing....... 

I put the reference design "an374" to operate in c3 dev board and my intention is to add this cpu with linux on the an374 to control the parameters by the web server , which today I do with buttons and LCD ...... 

 

but blinks the led is the first step for it :) 

 

tks so much
0 Kudos
Altera_Forum
Honored Contributor II
255 Views

Hi, 

 

I don't think that it solves your problem but i saw that in sopc builder there is a warning about missing verilog file for gpio. 

 

Urmel
0 Kudos
Reply