hugoender
Posts: 31
Joined: Tue May 28, 2013 1:37 pm

Networking Not Working When PoweringUp with GPIO Connected

Thu May 30, 2013 11:37 pm

I have a device connected to the GPIO head pins 5 and 6 that by default is LOW (so pin 5 is grounded and pin 6 is RPi's ground and connected to the ground of the device). When I power on the RPi with this device connected, all the lights on the RPi turn on as normal (ethernet lights, power light, etc.) but I cannot connect to it via SSH.

When I connect the RPi via HDMI cable to a TV to see what is going on upon bootup I get nothing. No signal.

In order to connect to it I need to remove the GPIO connection, power on the RPi and then place the GPIO connector. What does the RPi do upon startup that causes this behavior? Has anyone else experienced something similar?

MaxK1
Posts: 1043
Joined: Sun Aug 26, 2012 11:34 pm

Re: Networking Not Working When PoweringUp with GPIO Connect

Fri May 31, 2013 12:01 am

Bad choice of pin - Grounding Pin 5 causes the PI to boot into safe mode..
You are in a maze of twisty little passages, all alike.
When General Failure and Major Disaster get together, Private Parts usually suffers.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 13009
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Networking Not Working When PoweringUp with GPIO Connect

Fri May 31, 2013 12:06 am

yes, the GPIO header configuration is chosen so that there is a GND pin next to one of the few GPIO pins that has a built in pulp, and which is normally used in a way that makes it improbable that the signal is pulled low upon boot. In this way simply putting a jumper on the correct pins forces the PI to boot in safe mode. unluckily you have chosen just that GPIO pin for your setup.

hugoender
Posts: 31
Joined: Tue May 28, 2013 1:37 pm

Re: Networking Not Working When PoweringUp with GPIO Connect

Fri May 31, 2013 2:08 am

How is it that you guys know this? Where is this information? Can I use pin 8 then?

MaxK1
Posts: 1043
Joined: Sun Aug 26, 2012 11:34 pm

Re: Networking Not Working When PoweringUp with GPIO Connect

Fri May 31, 2013 3:56 am

NOooooooo! That's either Enable_Alternate_Reality or Dispense_One_Gumball.....

http://elinux.org/RPI_safe_mode
You are in a maze of twisty little passages, all alike.
When General Failure and Major Disaster get together, Private Parts usually suffers.

User avatar
rpdom
Posts: 17029
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Networking Not Working When PoweringUp with GPIO Connect

Fri May 31, 2013 5:14 am

hugoender wrote:How is it that you guys know this? Where is this information? Can I use pin 8 then?
Better to use pin 11 (to pin 9) as that isn't used for anything else by default. Pin 7 is connected to the UART and will be used for the (optional) serial console, if one is connected.

RPiJunior
Posts: 21
Joined: Tue May 07, 2013 6:12 pm

Re: Networking Not Working When PoweringUp with GPIO Connect

Fri May 31, 2013 11:13 am

MaxK1 wrote:NOooooooo! That's either Enable_Alternate_Reality or Dispense_One_Gumball.....

http://elinux.org/RPI_safe_mode
Noooooooooo! It isn't! It's Activate_Self_Destruct! Try it :twisted: I dare you...

Code: Select all

int main() {
    try
        throw "off table";
    } catch (void e) {
        printf("Phew...");
    }
}
WARNING: I destroy! :twisted:

Return to “Troubleshooting”