1

Occasionally my headless Raspberry Pi becomes unresponsive.
I have configured the watchdog, but it doesn't always kick in.
So I have added a reset button which does a hard reset by connecting the GLOBAL_EN to GND.
Another solution would be to just cut off the power.
Is there a difference between those two solutions with respect to SD corruption?

user333869
  • 123
  • 4

2 Answers2

0

It will make no difference.

Cutting power will actually take a short time for capacitors to discharge vs instantaneous PMIC reset.

I would install a button and activate the shutdown overlay to see if this works.

See https://raspberrypi.stackexchange.com/a/42945/8697

Milliways
  • 62,573
  • 32
  • 113
  • 225
0

Connecting GLOBAL_EN to GND is not a safe shutdown. Removing power from the RPi while it's running is also not a safe shutdown. A safe shutdown is one in which any pending writes to the SD card are completed before stopping the processor.

The simplest solution to your problem may be the "one-button ON-OFF" switch. It's described in this answer. If that doesn't do it for you, follow up here in the comments & I'll come up with something else.

Seamus
  • 23,558
  • 5
  • 42
  • 83