Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Boot although power is present #30

Open
alexiordan opened this issue Sep 27, 2018 · 16 comments
Open

No Boot although power is present #30

alexiordan opened this issue Sep 27, 2018 · 16 comments

Comments

@alexiordan
Copy link

UPS PIco HV3.0B with Raspberry PI 3 Model B

Sometimes when powering on, Raspberry remains off.

Here is my scenario:

  1. Power on
  2. Battery gets loaded.
  3. Power off
  4. Raspberry has enough power to shutdown clean
  5. Power on

[Steps 2 to 4 are repeated until battery is depleted]

  1. Power on

Now here sometimes it doesn't boot anymore.
On UPS PIco: UPS and BAT are lightened
On Raspberry: Red led is lightened.

I wait for 20-45 seconds, and then:

UPS PIco: ( 3 LEDS near GPIO OR OR CHG )are all lightened for a second , then UPS and BAT are lightened
Raspberry PI: Red light is always on, while ACT blinks in set of 7 blinks

If I Power off, wait 5 seconds, an power on again,, it works.

Any ideas?
If SD Card was the issue I would have seen a boot error at least once I guess...

@PiModules
Copy link
Collaborator

PiModules commented Sep 27, 2018 via email

@alexiordan
Copy link
Author

  1. I don't know. I use Windows 10 IoT and I only send the periodic message to keep UPS aware of raspberry being alive.

  2. I will do that and come back.

@PiModules
Copy link
Collaborator

PiModules commented Sep 27, 2018 via email

@alexiordan
Copy link
Author

I will do that.
However the issue happens very early, before OS boots-up. Where do you see I could have done something wrong?

@PiModules
Copy link
Collaborator

PiModules commented Sep 27, 2018 via email

@alexiordan
Copy link
Author

@PiModules
Copy link
Collaborator

PiModules commented Sep 27, 2018 via email

@alexiordan
Copy link
Author

Do you say that the pulse train is meant to be replied even before OS got loaded?

@daghemo
Copy link

daghemo commented Sep 28, 2018

Similar problem here. Maybe. Just happened for the very first time.

When I remove the external power from my battery backed PIco UPS, it usually restarts my RPi as long as the PIco is powered again, with no need to press any button. Also, please note that FSSD is in use, so as long as the external power is removed from the PIco for something more than 2 minutes the RPi shuts down, safely.

This time the PIco has been left with no external power for a couple of days.

Al long as I've powered again, the RPi didn't boot! The PIco was blinking, but it was not supplying any power to the RPi: LEDs off on the RPi. I had to press the button to boot the RPi. This is usually not feasible in my user scenario, since the board is installed in remote locations with no human access.

Running firmware e1, as reported by pico_status.py.

@alexiordan
Copy link
Author

@daghemo ,

  1. What OS are you running on Raspberry PI?
  2. What button have you pressed to reset it?

More info on my issue:
In production it happened to tried even 2 or 3 times to power on without success. But there I have no display or other means to tell what actually happened. I cannot reproduce this in my lab.

In my lab test I found out followings:

With Windows 10 IoT:

  • With the PIco batteries empty, if I unplug while Windows is loading, on next power on attempt will not boot.
  • I tried this wis newer versions of the OS and is happening.
  • I have tried without UPS PIco and behaves the same.

With Raspbian (both from Raspberry site and from the address pointed here: #30 (comment))

  • the issue did not reproduce.

So my current conclusions are as follows:

  1. For the scenario out in production, where I have seen even 2 or 3 attempts to power on without succes. I cannot reproduce in lab. I don't know what happened. I cannot blame anyone yet.
  2. For the scenario that could be reproduced in lab I might think is an OS problem that don't put the device in right state when powered off - see my other thread here: [Windows 10 IoT Core] Raspberry PI 3 Model B - OS Shutdown does not put device into right state ms-iot/rpi-iotcore#36

@PiModules ,

  • Do you have any insight info on no. 2 above?
  • If I insist on running Windows IoT I think I should have some kind of a watchdog to reset it.
    I've seen in the docs here: https://drive.google.com/file/d/1cw5P-pCIHqcO06Eh7AnSGkZfgKyI4l9G
    this functionality: UPS PIco HV3.0 HAT Still Alive (STA) Functionality
    It states there that: The default value after
    restart/start of the UPS PIco HV3.0 HAT is 0xff (disabled).

Can it be enabled so to be running on startup (and if Raspberry doesn't do anything to attempt a restart)?

@PiModules
Copy link
Collaborator

PiModules commented Sep 28, 2018 via email

@daghemo
Copy link

daghemo commented Sep 28, 2018

@alexiordan, I do not think that the running OS has any importance in my case. That's because no OS was running since the RPi was powered. That is, in my case the power LED on the RPi is off!
I'll try to reproduce the problem and open another issue.

@alexiordan
Copy link
Author

@daghemo , If it is no secret, I would still appreciate your answer.

This is because Windows guys said thay ran into some problems with Raspberry PI:

We do not completely shutdown the Raspberry Pi device as each of you reported. We had trouble accessing the power rail firmware and settled on putting the device in a sleep state.

from here: https://social.msdn.microsoft.com/Forums/en-US/deec2cc3-e36d-40b0-9105-cc6737402666/raspberry-pi-wake-up-from-shutdown-state?forum=WindowsIoT

This is why I was asking about OS.

@daghemo
Copy link

daghemo commented Sep 28, 2018

@alexiordan, it's not a secret: I'm using Resin.io with a Rasbian Docker image.

@PiModules
Copy link
Collaborator

PiModules commented Sep 28, 2018 via email

@alexiordan
Copy link
Author

@PiModules I will try to reply to all those question in about 5 hours.

How can I determine the firmware version of the PIco?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants