Menu

#144 GPIO apf27_dev Error: Device or resource busy

Armadeus-5.3
closed
nobody
None
5
2014-04-15
2014-04-15
Nasr
No

Hello,

I'm trying to command GPIO pins with the last release 5.3 on apf27_dev . the problem is that I can't control the GPIO pin PF14. this GPIO is always blinking by default when the apf27 is running.I think that there is a process which is using this pin so I can't control it.
if I try to command the PF14 pin I get this message :Error: Device or resource busy

Discussion

  • Fabien M

    Fabien M - 2014-04-15

    Yes it's normal, because resource is busy. It is used by the led driver :
    http://www.armadeus.com/wiki/index.php?title=LED

    If you want to use the GPIO PF14 as a gpio you have to desactivate the
    led driver at kernel compilation.

    Regards,

     
  • Nasr

    Nasr - 2014-04-15

    Thank you, it's working now!

     
  • Julien B aka Artemys

    • status: open --> closed
     
  • Fabien M

    Fabien M - 2014-04-15

    Hi Nasr,

    Hello,

    I'm trying to command GPIO pins with the last release 5.3 on apf27_dev . the problem is that I can't control the GPIO pin PF14. this GPIO is always blinking by default when the apf27 is running.I think that there is a process which is using this pin so I can't control it.
    if I try to command the PF14 pin I get this message :Error: Device or resource busy

    Yes it's normal, because resource is busy. It is used by the led driver :
    http://www.armadeus.com/wiki/index.php?title=LED

    If you want to use the GPIO PF14 as a gpio you have to desactivate the
    led driver at kernel compilation.

    Regards,

    Fabien Marteau
    FPGA expert & Hardware Engineer
    Tel: +33 (0)9 72 29 41 44
    Fax: +33 (0)9 72 28 79 26
    ARMadeus Systems - A new vision of the embedded world
    http://www.armadeus.com

    For any confidential message, please encrypt your mail with my
    public key :
    http://www.martoni.fr/documents/Fabien%20Marteau%20fabien.marteau@armadeus.com%20%280x1A1DA7D8%29%20pub.asc

     

Log in to post a comment.