semih_sky
Posts: 51
Joined: Tue May 08, 2018 12:26 pm
Location: Turkey

Can just one pin die?

Sat Oct 10, 2020 9:46 pm

Board pin #24 (wiringpi #10) is not working. Other pins are working. I use wiringpi commands in CLI. I set out mode of all pins. I set pins one by one to 1 and measure that pin's voltage, I get 3,3V from all pins except #24.

In "gpio readall" output pin status is shown normal as I set ( after "gpio write 10 1" command it is high) but there is no voltage on this pin like others.

Is this pin dead or something else I don't know?

User avatar
HermannSW
Posts: 5245
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

Re: Can just one pin die?

Sat Oct 10, 2020 9:59 pm

If you cannot measure 3.3V on GPIO24 after setting high, then GPIO pin is likely dead (if nothing else is connected to that pin). I did kill GPIO18 and GPIO17 on the Pi3A+ of my raspcatbot by overvoltage -- was lucky that I lost only these two pins.
https://hermann-sw.github.io/planar_graph_playground
https://stamm-wilbrandt.de/en#raspcatbt
https://github.com/Hermann-SW/memrun
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

semih_sky
Posts: 51
Joined: Tue May 08, 2018 12:26 pm
Location: Turkey

Re: Can just one pin die?

Sat Oct 10, 2020 10:29 pm

I see, I lost a pin then :)

Thanks Hermann.

pcmanbob
Posts: 12935
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Can just one pin die?

Sun Oct 11, 2020 7:26 pm

Do you have SPI enabled ?

as board pin 24 is SPI Chip Select 0, that may be affecting your attempt to set the gpio pin.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

semih_sky
Posts: 51
Joined: Tue May 08, 2018 12:26 pm
Location: Turkey

Re: Can just one pin die?

Mon Oct 12, 2020 5:54 pm

No SPI is not enabled, I've checked, I disabled it again from raspi-config and pin #24 still is not running.

:( a dead pin

User avatar
jbeale
Posts: 3902
Joined: Tue Nov 22, 2011 11:51 pm

Re: Can just one pin die?

Mon Oct 12, 2020 8:08 pm

From someone who has done failure analysis on ICs, yes you can have failures on a single output. For example a large enough ESD hit, or brief overvoltage can cause an open or a short for just that one pin, with the rest of the chip still functional. I'm not sure I've ever seen this happen on a R-Pi and I've used about 50 of them in projects, but I'm confident it is possible under the right conditions.

It's easier to destroy larger parts of the chip, or entire devices. I do have one Pi that works OK except for the ethernet port does not work. I think that was due to being outside on a long cable, and having a nearby lightning strike.

User avatar
HermannSW
Posts: 5245
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

Re: Can just one pin die?

Tue Oct 13, 2020 10:21 pm

jbeale wrote:
Mon Oct 12, 2020 8:08 pm
From someone who has done failure analysis on ICs, yes you can have failures on a single output. For example a large enough ESD hit, or brief overvoltage can cause an open or a short for just that one pin, with the rest of the chip still functional. I'm not sure I've ever seen this happen on a R-Pi and I've used about 50 of them in projects, but I'm confident it is possible under the right conditions.
I have experienced loosing two pins of Pi3A+, detailed description with damage analysis here:
viewtopic.php?f=37&t=267999#p1628966
That is why I said it is possible, because I experienced it.

I experienced dead Pi as well :-(
Last week I did capture multiple exposures with my highspeed flash and HQ camera:
viewtopic.php?f=43&t=284108&p=1738021#p1738021
5000lm highspeed flash is powered with 38V/1.5A DC and I never had problems with that before.
Unfortunately the 38V accidentially touched GPIO and my 4GB Pi4B was dead then completely.
I had to work with 2GB Pi4B then -- and today I ordered a 8GB Pi4B to replace the dead 4GB Pi4B.

Is it possible that the SD card of 4GB Pi4B was killed during that event as well?
I inserted it with adapter into laptop today and only see this in dmesg output:

Code: Select all

[19904.158727] sd 0:0:0:0: [sda] Unit Not Ready
[19904.158731] sd 0:0:0:0: [sda] Sense Key : Data Protect [current] 
[19904.158733] sd 0:0:0:0: [sda] Add. Sense: Cannot read medium - unknown format
[19904.160978] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[19904.160981] sd 0:0:0:0: [sda] Sense Key : Data Protect [current] 
[19904.160984] sd 0:0:0:0: [sda] Add. Sense: Medium not formatted
[19904.164327] sd 0:0:0:0: [sda] Unit Not Ready
[19904.164329] sd 0:0:0:0: [sda] Sense Key : Data Protect [current] 
[19904.164331] sd 0:0:0:0: [sda] Add. Sense: Cannot read medium - unknown format
[19904.166690] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[19904.166693] sd 0:0:0:0: [sda] Sense Key : Data Protect [current] 
[19904.166696] sd 0:0:0:0: [sda] Add. Sense: Medium not formatted
So question is, can the overvoltage that killed Pi4B also have killed the SD card?
Or is there a chance to revive the SD card?
(I read that there is no low level formatting for SD cards like there was for floppy disks in last century)
Last edited by HermannSW on Tue Oct 13, 2020 10:29 pm, edited 1 time in total.
https://hermann-sw.github.io/planar_graph_playground
https://stamm-wilbrandt.de/en#raspcatbt
https://github.com/Hermann-SW/memrun
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

User avatar
davidcoton
Posts: 6766
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: Can just one pin die?

Tue Oct 13, 2020 10:28 pm

HermannSW wrote:
Tue Oct 13, 2020 10:21 pm
So question is, can the overvoltage that killed Pi4B also have killed the SD card?
38V on the Pi's GPIO can kill the SOC, the voltage regulators, the other on-board components, the SDCard, and any attached HDMI, USB or GPIO peripherals. Not necessarily in that order. (There is some protection for USB and HDMI because the TVS diode on the 5V supply will sacrifice itself to save what it can, but 38V is fairly extreme and who knows what paths those sneaky electrons will find with that sort of kick up the posterior.)
Location: 345th cell on the right of the 210th row of L2 cache

User avatar
HermannSW
Posts: 5245
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

Re: Can just one pin die?

Wed Oct 14, 2020 12:26 am

davidcoton wrote:
Tue Oct 13, 2020 10:28 pm
HermannSW wrote:
Tue Oct 13, 2020 10:21 pm
So question is, can the overvoltage that killed Pi4B also have killed the SD card?
38V on the Pi's GPIO can kill the SOC, the voltage regulators, the other on-board components, the SDCard, and any attached HDMI, USB or GPIO peripherals. Not necessarily in that order. (There is some protection for USB and HDMI because the TVS diode on the 5V supply will sacrifice itself to save what it can, but 38V is fairly extreme and who knows what paths those sneaky electrons will find with that sort of kick up the posterior.)
Thanks, I was lucky then that connected to that Pi4B HQ camera works fine as if nothing happened ...
https://hermann-sw.github.io/planar_graph_playground
https://stamm-wilbrandt.de/en#raspcatbt
https://github.com/Hermann-SW/memrun
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

Return to “Advanced users”