Ethernet/USB disconnect when doing stress test

StereoPi hardware discussion
Post Reply
MORagab
Posts: 1
Joined: Wed Sep 09, 2020 9:43 am

Ethernet/USB disconnect when doing stress test

Post by MORagab »

i have bought a new stereopi and sing it for an application.

i do stress test to the stereopi in outdoor environment where i put inside a casing and under the sun
the stereopi is powered up by connecting a 12V to a buck converter and step down the voltage to 5V.
the current draw during running pi camera code is 0.39~0.46A

at certain time ( usually between 1 pm to 4pm GMT+8) the pi hit a temperature of 73.5~75 C and suddenly the Ethernet/USB disconnect.

example of dmesg output :
[Wed Sep 9 15:54:40 2020] ERROR::dwc_otg_hcd_urb_enqueue:501: Not connected

[Wed Sep 9 15:54:40 2020] ERROR::dwc_otg_hcd_urb_enqueue:501: Not connected

[Wed Sep 9 15:54:40 2020] ERROR::dwc_otg_hcd_urb_enqueue:501: Not connected

[Wed Sep 9 15:54:40 2020] ERROR::dwc_otg_hcd_urb_enqueue:501: Not connected

[Wed Sep 9 15:54:40 2020] ERROR::dwc_otg_hcd_urb_enqueue:501: Not connected

[Wed Sep 9 15:54:40 2020] ERROR::dwc_otg_hcd_urb_enqueue:501: Not connected

[Wed Sep 9 15:54:40 2020] ERROR::dwc_otg_hcd_urb_enqueue:501: Not connected

[Wed Sep 9 15:54:40 2020] ERROR::dwc_otg_hcd_urb_enqueue:501: Not connected

[Wed Sep 9 15:54:40 2020] ERROR::dwc_otg_hcd_urb_enqueue:501: Not connected

[Wed Sep 9 15:54:40 2020] usb 1-1: USB disconnect, device number 17
[Wed Sep 9 15:54:40 2020] usb 1-1.1: USB disconnect, device number 18
[Wed Sep 9 15:54:40 2020] smsc95xx 1-1.1:1.0 eth0: unregister 'smsc95xx' usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet
[Wed Sep 9 15:54:40 2020] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[Wed Sep 9 15:54:55 2020] Indeed it is in host mode hprt0 = 00021501
[Wed Sep 9 15:54:55 2020] usb 1-1: new high-speed USB device number 19 using dwc_otg
[Wed Sep 9 15:54:55 2020] Indeed it is in host mode hprt0 = 00001101
[Wed Sep 9 15:54:55 2020] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[Wed Sep 9 15:54:55 2020] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Wed Sep 9 15:54:55 2020] hub 1-1:1.0: USB hub found
[Wed Sep 9 15:54:55 2020] hub 1-1:1.0: 5 ports detected
[Wed Sep 9 15:54:56 2020] usb 1-1.1: new high-speed USB device number 20 using dwc_otg
[Wed Sep 9 15:54:56 2020] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[Wed Sep 9 15:54:56 2020] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Wed Sep 9 15:54:56 2020] smsc95xx v1.0.6
[Wed Sep 9 15:54:56 2020] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:37:bf:28
[Wed Sep 9 15:54:56 2020] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[Wed Sep 9 15:54:58 2020] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[Wed Sep 9 15:54:58 2020] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
temperature at around this time :
09/09/2020 15:52:43 CPU usage 35.3% Memory Total 874MB Used 178MB Free 645MB Temp 74.1'C
09/09/2020 15:53:40 CPU usage 38.5% Memory Total 874MB Used 161MB Free 663MB Temp 73.6'C
09/09/2020 15:54:09 CPU usage 36.9% Memory Total 874MB Used 159MB Free 664MB Temp 74.1'C
09/09/2020 15:54:10 CPU usage 39.7% Memory Total 874MB Used 165MB Free 659MB Temp 74.1'C
09/09/2020 15:54:11 CPU usage 38.4% Memory Total 874MB Used 159MB Free 664MB Temp 74.7'C
09/09/2020 15:54:12 CPU usage 38.0% Memory Total 874MB Used 166MB Free 657MB Temp 74.7'C
09/09/2020 15:54:13 CPU usage 32.4% Memory Total 874MB Used 163MB Free 660MB Temp 74.7'C
09/09/2020 15:54:14 CPU usage 27.1% Memory Total 874MB Used 161MB Free 662MB Temp 74.7'C
09/09/2020 15:54:15 CPU usage 35.8% Memory Total 874MB Used 167MB Free 656MB Temp 74.7'C
09/09/2020 15:54:40 CPU usage 27.7% Memory Total 874MB Used 161MB Free 662MB Temp 74.1'C
09/09/2020 15:56:33 CPU usage 27.5% Memory Total 874MB Used 203MB Free 620MB Temp 74.1'C
after that cannot ssh at all or receive the messages from the pi
the current draw at this point is 0.32

attached files is today testing , this test had been done multiple days and same error comes out
stpi.zip
(93.31 KiB) Downloaded 185 times
dmesgPi.txt is the dmesgs for the whole test and tmpePi.txt is temperature recording

User avatar
Realizator
Site Admin
Posts: 900
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: Ethernet/USB disconnect when doing stress test

Post by Realizator »

Hello MORagab,
Wow, your result is very interesting! In our stress-tests StereoPi was able to alive up to 83 celsius (where the CM3+ throttling usually begins).
Could you please share your enclosure design? I'm curious, what causing this thermal problem in your case.

What' going on under the hood:

1. StereoPi has a USB switch logic, which works when you connect it using a micro USB connector. In this case, onboard USB hub (LAN9513, which hosts both USB and Ethernet), is disconnected, and CM3's USB is commutated directly to the micro USB connector. Looks like in your case this logic starts working when it shouldn't.

2. While our early stress tests, we found one component, which was the most temperature-sensitive. It is diode Schottky, or VD4 in our schematic, power part. This diode sits right in a critical place. If it is overheated, the USB hub is disconnected, and you are losing USBs and Ethernet.

3. If you will take a look at the very first StereoPi edition photo in our Wiki, you will find this VD4 is not soldered. I'm attaching this photo with the highlighted mount place. After our tests, we chose another version of this diode (more robust) but looks like in your special case it cause this problem.

How to solve this issue:

You can unsolder this component. After that everything will work as intended, except advanced micro USB features (like eMMC upload, USB gadget mode, etc.) If you are not using hidden micro USB features, this will not affect your device functions.

MORagab, if your StereoPi die while soldering, we'll send you a replacement. You are the first person who faced this issue, and we are curious to dig this out and help you!
Attachments
VD4 mounting place
VD4 mounting place
R17-stereopi-top.jpg (109.99 KiB) Viewed 4719 times
Eugene a.k.a. Realizator

Post Reply