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 9 years, 9 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

  • 12v battery, 18v magic May 23, 2025
  • JBL charge 4 dead motherboard? May 23, 2025
  • Back to the old BASIC days May 23, 2025
  • Reclaiming missing motherboard header May 23, 2025
  • Need help in repairing a dead motherboard May 23, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 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