USB disconnecting - Jetson Nano seems to power off the USB ports

Me and my team are developing an autonomous UAV, and we chose the Jetson Nano 4GB Developer Kit (coupled with the Waveshare UPS Power Module as the power supply) to perform computer vision tasks, such as Visual Inertial Odometry and Object Detection with CNN’s.

Everything works fine, however, sometimes the the jetson’s USB ports seems to power off: the cameras disconnect and the usb wifi module turns off.

Innitially, we believed it was an issue with simultaneously using Two Cameras + Serial connection to the Flight Controller (embedded system) + Wifi Hub + running our visual odometry software + object detection all at the same time. We start the Camera USB2.0 Firefly MV FMVU-03MTC, run visual odometry, connect the second Camera (either an Intel Realsense R200 or ELP USB 2.0 Camera) and right after starting the object detection Neural Network, the jetson’s USB hub powers down and everything disconnects.

However, we have seen this happen (the usb ports disconnecting) just by starting the USB2.0 Firefly MV FMVU-03MTC Camera and the visual inertial odometry software.

We believe it could be a bandwith issue, and not an issue related to processing, since we already tried to stress the CPU to 100% but it didn’t seem to affect the ocurrence of the problem.

Also, it’s important to note that the problem is much more frequent when using the barrel jack 5V 4A instead of the UPS Power Module. We have consistently seen this problem ocurr with the jetson powered on using the barrel jack, but it almost doesn’t happen when powered with the UPS Power Module. When powered by the UPS Power Module, we have been able to consistently run lab tests (without flying) without this problem ocurring, but it hapenned once when flying.

We tried to set usbfs_memory_mb to 1024,2048, usbcore.autosuspend=-1, usb_port_owner_info=2 according to this issue: Jetson Nano USB 3.0 Bandwidth Issue - #8 by pgwipeout. But it didn’t seem to help

Here is the system log through dmesg:
usb 1-2.1: usbfs: process 10165 (nodelet) did not claim interface 0 before use
usb usb1-port2: disabled by hub (EMI?) re-enabling…

I noticed some people had some problems with point grey cameras before, any tips on how to proceed?

Good Afternoon,

This looks like the issues I had when more power was drawn than the carrier board could provide. I found this was the case when both the CPU and GPU were pegged at full power, the board could brown out. Have you tried limiting the CPU / GPU frequency and checking if it still happens? Have you tried using an externally powered USB hub to drive the cameras?

Also, is this the only lines you see in the kernel log when the issue occurs?

Here is the system log through dmesg:
usb 1-2.1: usbfs: process 10165 (nodelet) did not claim interface 0 before use
usb usb1-port2: disabled by hub (EMI?) re-enabling…

Very Respectfully,
Peter Geis

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.