Probably yes. Anyway my boards had Vbus grounded and customers never complained
It is NOT grounded by default otherwise you would not be able to power the board from USB. I don't know how you can ground the Vbus line. I would take a soldering station (I have two) and put a simple short from the Vbus pin at a USB connector to the ground.
OR you can power the board from USB and ensure that no random reboots occur. The problem appear when Vbus line is floating
--
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/2yOpE3XYJ1Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
Or, are you just powering it via the USB connector and not using/engaging the USB subsystem in the BBB?
Looks like the answer is "no".
debian@beaglebone:~$ lsmod
Module Size Used by
snd_soc_evm 5854 0
omap_rng 5140 0
rng_core 8755 1 omap_rng
snd_soc_davinci_mcasp 18528 2
snd_soc_edma 1166 1 snd_soc_davinci_mcasp
snd_soc_hdmi_codec 2514 1
uio_pdrv_genirq 3657 0
uio 9930 1 uio_pdrv_genirq
As far as I remember how the Vbus issue was described in details, hope I'm not mistaken:Vbus connects to both CPU and PMIC. CPU has a charge-pump circuit to detect OTG devices (inject some power and track USB signals for incoming events) and it injects 5V periodically into Vbus line. Sometimes PMIC detects this 5V on the Vbus input as a good voltage and turns inner power switch to Vbus where in fact no 5V with sufficient current. Next power failure and immediate reboot occur
2015-07-20 3:08 GMT+03:00 john dough <softw...@live.com>:
Sent from my Windows Phone
--
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/2yOpE3XYJ1Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
--- GrahamWilliam/Wulfman: So far, running on USB Power module (no USB communications) the BBB is staying up. It has been 18 hours or so now. Running the same software that rebooted twice in 24 hours on +5V barrel connector input. I have seen the 'bad' configuration run as long as 36 hours between reboots, so the test needs to continue for at least two days.Thanks to Maxim for the explanation. If that is the problem, it looks like the problem existed in 2013, a software patch was applied, and the software patch was lost between kernel 3 and kernel 4.
--- GrahamWilliam/Wulfman: So far, running on USB Power module (no USB communications) the BBB is staying up. It has been 18 hours or so now. Running the same software that rebooted twice in 24 hours on +5V barrel connector input. I have seen the 'bad' configuration run as long as 36 hours between reboots, so the test needs to continue for at least two days.Thanks to Maxim for the explanation. If that is the problem, it looks like the problem existed in 2013, a software patch was applied, and the software patch was lost between kernel 3 and kernel 4.Glad to hear that so far everything seems good Graham. So far. However I have a sneaking suspicion it will continue to run until you decide to shut it off. Not 100% sure though, hence the need for someone like you to test. In hopes of narrowing down this problem.
On Mon, Jul 20, 2015 at 9:10 AM, evilwulfie <evilw...@gmail.com> wrote:
usb0_vbus on the processor is an analog input to a comparator.
page 80 of the processor ref manual says - USB0_VBUS (7) Supply voltage for USB VBUS comparator input
i do not see it saying supplies any voltage to the circuit anywhere in the PDF.
I can see the software causing the issue if there is some kind of noise in the line.
maybe instead of a hard ground which would cause headaches if one was to plug a usb power connector to the BBB
a pulldown of 10k on the line to keep it low.
One would need to test this idea out.
Gerald might have a comment ?
On 7/20/2015 12:41 AM, Maxim Podbereznyy wrote:
As far as I remember how the Vbus issue was described in details, hope I'm not mistaken:Vbus connects to both CPU and PMIC. CPU has a charge-pump circuit to detect OTG devices (inject some power and track USB signals for incoming events) and it injects 5V periodically into Vbus line. Sometimes PMIC detects this 5V on the Vbus input as a good voltage and turns inner power switch to Vbus where in fact no 5V with sufficient current. Next power failure and immediate reboot occur
2015-07-20 3:08 GMT+03:00 john dough <softw...@live.com>:
Sent from my Windows Phone
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/2yOpE3XYJ1Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
I can confirm that the pulsing detected by PMIC on USB_DC signal is the probing from USB-OTG.
After I disabled the USB-OTG in the kernel, the system has never rebooted. Btw I also re-loaded Angstrom image (3.8 kernel) and Andrew's Android image (with 3.8 kernel). I did not observe USB-OTG probing pulses on the VBus. I believe in the 3.8 kernel, the USB-OTG has not been implemented/enabled. That might be reason why it seems that 3.8 kernel doesn't have the random reboot behavior.
In case anyone wants to test it out, here is the change in the source code (NOTE: ignore the line and column numbers; just search for the struct "static struct omap_musb_board_data musb_board_data" ):
...
--- a/arch/arm/mach-omap2/board-am335xevm.c
+++ b/arch/arm/mach-omap2/board-am335xevm.c
...
@@ -3956,7 +4125,8 @@ static struct omap_musb_board_data musb_board_data = {
* mode[4:7] = USB1PORT's mode
* AM335X beta EVM has USB0 in OTG mode and USB1 in host mode.
*/
- .mode = (MUSB_HOST << 4) | MUSB_OTG,
+// .mode = (MUSB_HOST << 4) | MUSB_OTG,
+ .mode = (MUSB_HOST << 4) | MUSB_PERIPHERAL,
.power = 500,
.instances = 1,
};
--
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.
--
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.
By the way I with my collegues spent some time on investigating this issue and found in the tps65217 datasheet that all three power source Vac, Vusb and Vbat should not be enabled at the same time. Only two of them should. Because of the reason that BBB is a universal enthusiast's board all three power sources are left floating, which contradicts with tps65217 architecture. We figured out that if the most of users use only a barrel connector or USB then Vbat input should be grounded. I don't know if this solution fixes the random reboot issue but at least it complies with the TPS65217 architecture. Probably anybody should try to ground the Vbat input and see how the board behaves.
The linear charger periodically applies a 10-mA current source to the BAT pin to check for the presence of a battery. This will cause the BAT terminal to float up to > 3 V which may interfere with AC removal detection and the ability to switch from AC to USB input. For this reason, it is not recommended to use both AC and USB inputs when the battery is absent.
9.3.9.4 AC and USB Input Discharge
AC and USB inputs have 90-µA internal current sinks which are used to discharge the input pins to avoid false detection of an input source. The AC sink is enabled when USB is a valid supply and VAC is below the detection threshold. Likewise, the USB sink is enabled when AC is a valid supply and VUSB is below the detection limit. Both current sinks can be forced OFF by setting the [ACSINK, USBSINK] bits to 11b. Both bits are located in register 0x01 (PPATH).
NOTE [ACSINK, USBSINK] = 01b and 10b combinations are not recommended as these may lead to unexpected enabling and disabling of the current sinks. 9
You can disable in software Vac or Vusb, but not the battery source, that is why so much trouble
--
You can disable in software Vac or Vusb, but not the battery source, that is why so much trouble
What about adding a 1k resistor from the VBat+ input to ground, just for safety?
9.3.13 Battery Detection and Recharge
Whenever the battery voltage falls below VRCH, IBAT(DET) is pulled from the battery for a duration tDET to determine if the battery has been removed. If the voltage on the BAT pin remains above VLOWV, it indicates that the battery is still connected. If the charger is enabled (CH_EN = 1), a new battery charging cycle begins.
If the BAT pin voltage falls below VLOWV in the battery detection test, it indicates that the battery has been removed. The device then checks for battery insertion: it turns on the charging path and sources IPRECHG out of the BAT pin for duration tDET. If the voltage does not rise above VRCH, it indicates that a battery has been inserted, and a new charge cycle can begin. If, however, the voltage does rise above VRCH, it is possible that a fully charged battery has been inserted. To check for this, IBAT(DET) is pulled from the battery for tDET and if the voltage falls below VLOWV, no battery is present. The battery detection cycle continues until the device detects a battery or the charger is disabled.
When the battery is removed from the system the charger will also flag a BATTEMP error indicating that the TS input is not connected to a thermistor.
wget http://rcn-ee.homeip.net:81/farm/testing/linux-image-4.1.2-ti-r4.6_1cross_armhf.deb
sudo dpkg -i linux-image-4.1.2-ti-r4.6_1cross_armhf.deb
sudo reboot
diff --git a/patches/defconfig b/patches/defconfig
index 79ae693..7731b6a 100644
--- a/patches/defconfig
+++ b/patches/defconfig
@@ -4070,7 +4070,7 @@ CONFIG_USB_ANNOUNCE_NEW_
DEVICES=y
#
CONFIG_USB_DEFAULT_PERSIST=y
CONFIG_USB_DYNAMIC_MINORS=y
-CONFIG_USB_OTG=y
+# CONFIG_USB_OTG is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
# CONFIG_USB_OTG_FSM is not set
wget http://rcn-ee.homeip.net:81/farm/testing/linux-image-4.1.2-ti-r4.6_1cross_armhf.deb
sudo dpkg -i linux-image-4.1.2-ti-r4.6_
1cross_armhf.deb
sudo reboot
Yeah, that one rebooted..
Give this one a shot:
http://rcn-ee.homeip.net:81/farm/testing/v4.1.x/linux-image-4.1.4-ti-r8.1_1cross_armhf.deb
boards 1 & 2 listed here:
http://rcn-ee.homeip.net:81/farm/uptime/
Are running that right now.. 9 hours +...
It's based on Nuno's git bisect log, with just a revert of the one commit..
william@xanbustester:~$ uptime
13:20:26 up 15:28, 3 users, load average: 0.01, 0.02, 0.05
william@xanbustester:~$ uname -r
4.2.0-rc4-bone2
you can power a board by USB but from a special wall adapter with an integrated USB socket. As an option
probably you used a wall adapter with integrated monitoring chip which does not allow to overcurrent 500mA. You should use a dumb version of such device when it simply supplies as much power as it can :)
I believe the pmic needs to talk with something on the usb bus...
that's why dumb usb chargers don't always work for powering the bbb..
While that's a quick hardware hack, I'm having pretty good luck with
the revert..
revert: 4.1.4-ti-r8.1
http://rcn-ee.homeip.net:81/farm/uptime/test-bbb-1.log
reboot happy: 4.1.4-ti-r8
http://rcn-ee.homeip.net:81/farm/uptime/test-bbb-3.log
Yeah, 4.1.4-ti-r9 has both the nfs mii change and the musb revert. So
when have lots of spare time for upgrades, don't pick anything earlier
than that for nfs. ;)