User avatar
jbeale
Posts: 3379
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

software shutdown and LED blinking

Fri Aug 10, 2018 5:41 pm

When I do a software-directed shutdown of my Raspberry Pi, the activity LED blinks at a fixed rate for a while, then stops.
Is it safe to remove power when it is doing this final blink pattern, or is it in fact still writing to the SD card during that time?

Reason I ask is that I am using a RPi-powered infrasonic sensor instrument ("Raspberry Boom") and I removed power during the final blink pattern, then discovered the device would not reboot upon reconnecting power. I had to tediously reflash the SD card, which did fix the issue. I suspect there is something about this particular device's hardware, the add-on board ("hat"?) that mounts on the RPi GPIO which may have some influence on that problem, but I might be wrong. I have removed power in this way from many other stand-alone Pi boards on many occasions, and do not recall having this problem before.

Ernst
Posts: 1110
Joined: Sat Feb 04, 2017 9:39 am
Location: Germany

Re: software shutdown and LED blinking

Fri Aug 10, 2018 5:55 pm

The road to insanity is paved with static ip addresses

User avatar
jbeale
Posts: 3379
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: software shutdown and LED blinking

Fri Aug 10, 2018 6:05 pm

"As soon as the ten winks are done you can safely pull the power."

Ok. It sounds like I should wait for it to be completely done blinking then.
Apparently I've just been lucky all those times before that I didn't wait, and did not have SD card damage?

Return to “Troubleshooting”