Cool stuff for Raspberry Pi, Arduino and all electronics hobby projects
Notifications
Clear all

[Solved / Archived] Zero2Go shutting down right after boot

6 Posts
2 Users
0 Likes
608 Views
(@christiangindorf)
Posts: 3
Active Member Customer
Topic starter
 

Hi , I have a strange behavior of my system using a Zero2Go rev2.
The System is based on the dietPi distribution (to run MuPiBox, a Kids Audio player)

I found that when the system boots up, it shuts down right after booting.
What I found is that when the daemon.sh toggles the SYSTEM_UP line it initiates a shutdown of the system. Like as pressing the button.
BUT I commented out the shutdown statement in daemon.sh

I also modified the Zero2Go to use different GPIO which works fine with a standard Raspi Linux, but not with my diet Pi distro.
So it looks like for some reason toggling SYSTEM_UP also affects the BUTTON / SWITCH line or is causing a shortcut or something that shuts down the Raps.
Maybe because the GPIO for BUTTON / SWITCH gets used by something else and gets toggled? 
I am running out of ideas.

If anybody has an idea, I would be happy for any hints or suggestions.

 

Thanks,

Christian

 

 
Posted : 02/06/2023 10:26 pm
(@admin)
Posts: 507
Member Admin
 

This most probably is due to GPIO conflicting.

Is there any connected hardware that may also use GPIO17 and/or GPIO-4?

Please show us your wiring, and also how you modified your Zero2GO. The "zero2go.log" file may also have some useful information.

 
Posted : 03/06/2023 10:19 am
(@christiangindorf)
Posts: 3
Active Member Customer
Topic starter
 

@admin 
Thanks! I cut the traces to GPIO 4 and GPIO 17 and added wires so I can connect the signals to any other pin.
Nothing else is connected to the Pi, except the zero2go.

But I am using dietPi distribution.
My guess is that the GPIO lines behave differently. Maybe something causes all lines to change when the SYSUP is toggled by zero2go?
But I do not have a scope to test that right now.

 

Christian 

 
Posted : 03/06/2023 9:37 pm
(@admin)
Posts: 507
Member Admin
 

I made quick search of "MuPiBox" and found this page. It seems MuPiBox suggest to use OnOff Shim, which uses GPIO-4 and GPIO-17 as well.

Although you don't use the OnOff Shim hardware, you may have installed the software suggested by MuPiBox, which may include the software for OnOff Shim. I think that most probably is the reason to cause IO conflicting.

 
Posted : 05/06/2023 12:27 pm
(@christiangindorf)
Posts: 3
Active Member Customer
Topic starter
 

@admin 

Yes, the OnOff Shim is used by that software (MuPiBox) but I wanted to replace it with the zero2go (because of more flexible input voltages).
But the same problem persists if I only use the underlying dietPi Linux distribution that is not using the OnOffShim.

I also changed the GIO 4 and GPIO 17 from the zero2go to other GPIO (soldering and changing daemon.sh)but it shows the same problem.
Somehow the GPIO for the Switch Signal gets toggled if I change the System Up Signal

Thanks,

Christian

 
Posted : 05/06/2023 8:32 pm
(@admin)
Posts: 507
Member Admin
 

Don't know if the MuPiBox software automatically installed the software for OnOff Shim. If it did, please make sure to uninstall the software for OnOff Shim. Otherwise I have no clue then.

 
Posted : 06/06/2023 1:30 pm
Join Waitlist We will inform you when the product arrives in stock. Please leave your valid email address below.