Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

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

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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