Why beaglebone black restarts after a shutdown ??

1,375 views
Skip to first unread message

meerutmicr...@gmail.com

unread,
Mar 13, 2014, 10:57:17 AM3/13/14
to beagl...@googlegroups.com
Hi,

I have noticed that the beaglebone black starts up after a shutdown.

I have a C++ program running in the bbb, the bbb is backed by an external +5V battery pack. When the C++ program issues the following command to start the shutdown procedure of the bbb.

system("shutdown -h now");
exit(0);

This does shutdown the bbb completely sometimes, most times the bbb starts up again, the power led turns off but then after a second or two lights up again and then bbb starts up all over again (the output voltage from the power bank does not switch OFF, it remains ON for some time).

In my previous bbb systems I have not faced this problem.

It is my belief that the output voltage from the power bank has a sudden dip, this causes the bbb to detect a new power cycle.

I am not sure though if I am correct...

Could anyone enlighten me on this problem ???

I am sorry if the above problem sounds vague...

thanks
a

Gerald Coley

unread,
Mar 13, 2014, 11:03:42 AM3/13/14
to beagl...@googlegroups.com
Yes it does sound vague. I would hook a scope to the power and see what it does in the reset scenario. What is your current capacity of your power source?

If the power pin is held down too long, it will result in a power cycle and not a shutdown.

Gerald


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

meerutmicr...@gmail.com

unread,
Mar 13, 2014, 2:31:51 PM3/13/14
to beagl...@googlegroups.com
The power bank is rated for 5 V, 1 amp.

I am going to check with a scope tomorrow..

thanks
a

John Syn

unread,
Mar 13, 2014, 8:42:53 PM3/13/14
to beagl...@googlegroups.com

From: <meerutmicr...@gmail.com>
Reply-To: <beagl...@googlegroups.com>
Date: Thursday, March 13, 2014 at 7:57 AM
To: <beagl...@googlegroups.com>
Subject: [beagleboard] Why beaglebone black restarts after a shutdown ??

Hi,

I have noticed that the beaglebone black starts up after a shutdown.

I have a C++ program running in the bbb, the bbb is backed by an external +5V battery pack. When the C++ program issues the following command to start the shutdown procedure of the bbb.

system("shutdown -h now");
exit(0);
Try “halt” instead. 

Regards,
John

This does shutdown the bbb completely sometimes, most times the bbb starts up again, the power led turns off but then after a second or two lights up again and then bbb starts up all over again (the output voltage from the power bank does not switch OFF, it remains ON for some time).

In my previous bbb systems I have not faced this problem.

It is my belief that the output voltage from the power bank has a sudden dip, this causes the bbb to detect a new power cycle.

I am not sure though if I am correct...

Could anyone enlighten me on this problem ???

I am sorry if the above problem sounds vague...

thanks
a

arunbarn...@gmail.com

unread,
Mar 14, 2014, 12:55:28 PM3/14/14
to beagl...@googlegroups.com, meerutmicr...@gmail.com
thanks I will try that out.

gmo...@gmail.com

unread,
May 3, 2014, 9:11:04 PM5/3/14
to beagl...@googlegroups.com, meerutmicr...@gmail.com, arunbarn...@gmail.com
I tried that, and it still automatically restarted. Any ideas? 

John Syn

unread,
May 5, 2014, 12:55:03 PM5/5/14
to beagl...@googlegroups.com

From: <gmo...@gmail.com>
Reply-To: <beagl...@googlegroups.com>
Date: Saturday, May 3, 2014 at 6:11 PM
To: <beagl...@googlegroups.com>
Cc: <meerutmicr...@gmail.com>, <arunbarn...@gmail.com>
Subject: [beagleboard] Re: Why beaglebone black restarts after a shutdown ??

I tried that, and it still automatically restarted. Any ideas? 
I’m running Debian with V3.8.13-bone41 and my BBB shuts down and powers off when I enter “halt”

To power up again, I click on the power button.

Regards,
John

matthieu....@gmail.com

unread,
Nov 11, 2014, 4:40:49 PM11/11/14
to beagl...@googlegroups.com, meerutmicr...@gmail.com
Hi all,

I have the exact same problem with BBB when the board is powered with a 5V 2A source, but no problem is the board is usb powered.
I was wondering if the problem had been solved problem ?

Regards,

Maxim Podbereznyy

unread,
Nov 12, 2014, 10:18:03 AM11/12/14
to beagleboard
> when the board is powered with a 5V 2A source
I confirm this! Never tried to use USB power

Kernel 3.8.13-bone67

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

fazilp...@gmail.com

unread,
Sep 8, 2015, 4:46:10 PM9/8/15
to BeagleBoard, meerutmicr...@gmail.com
Hi,

Did anybody find the cause for the restart?
My BBB has the same problem, my adapter is 5V 2A and there is definitely no restart issue with USB power.
I'm running Debian 3.8.13-bone70.

Thanks.

fazilp...@gmail.com

unread,
Sep 8, 2015, 4:46:13 PM9/8/15
to BeagleBoard, meerutmicr...@gmail.com
Hi,

Did anybody find the cause for the restart?
My BBB has the same problem, my adapter is 5V 2A and there is definitely no restart issue with USB power.
I'm running Debian 3.8.13-bone70.

Thanks.

On Thursday, March 13, 2014 at 8:27:17 PM UTC+5:30, meerutmicr...@gmail.com wrote:

Harvey White

unread,
Sep 8, 2015, 5:21:59 PM9/8/15
to beagl...@googlegroups.com
On Tue, 8 Sep 2015 13:43:24 -0700 (PDT), you wrote:

>Hi,
>
>Did anybody find the cause for the restart?
>My BBB has the same problem, my adapter is 5V 2A and there is definitely no
>restart issue with USB power.
>I'm running Debian 3.8.13-bone70.

From what I remember, and I can be quite wrong, it goes something like
this:

USB power is monitored.

With external 5V supply, the processor is fed, but the USB power input
is still monitored. If it is read as being "absent" then the
processor reboots due to a perceived power failure. The power monitor
chip apparently decides that the USB (as in main power) has failed,
shuts the processor down, detects that 5 volts is there, boots the
processor back up.

Some people made a shorting plug that simply shorts USB power to
ground (in which case it was never "up" and is not checked).

You could "ground" it through a 100 ohm resistor in a dummy plug, or
perhaps a 1K resistor from USB VCC to ground. 100 ohms would draw 50
ma when installed on the board and then connected to VCC (10% drain),
and 1K ohms would draw 5 ma (1% power), and might work just as well.

Just what I seem to remember from the discussions.

Harvey
Reply all
Reply to author
Forward
0 new messages