EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / Raspberry PI GPIO pin execution error

Raspberry PI GPIO pin execution error

|

Microcontroller › Raspberry Pi › Raspberry PI GPIO pin execution error

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 8 months ago by Prabakaran P M.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • August 18, 2015 at 1:31 pm #3861
    Rohit
    Participant

    I was doing a basic LED on off operation on raspberry pi using GPIO pins

    i reffered to the following article on EG,

    http://www.engineersgarage.com/embedded/raspberry-pi/how-to-blink-led-using-raspberry-pi

    compilation is successful

    but whenever i execute the binary file by using the command : ./led2 

    (led2 is the filename)

    following error is displayed on the terminal

    bcm2835_init: Unable to open /dev/mem: Permission denied

    Please Help me further.
    August 19, 2015 at 11:59 am #13185
    Prabakaran P M
    Participant

    Hi Rohit

    This Problem is due to the permission error. Check these key points

    Make sure that u placed the /home/pi folder.

    You can directly download the zip file to the /home/pi folder using "wget" followed by the link to download the zip file and follow by the commands in the tutorial.

    You can try "sudo./blink"

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Voltage comparator circuit verification May 10, 2026
  • What is this??? May 10, 2026
  • Why aren’t the power windows in my 2006 Volkswagen Polo 2006 working despite repairing the control unit circuit board? May 10, 2026
  • infiniBand Layer 1 specifications testing question May 8, 2026
  • block RF May 8, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise