Project

General

Profile

Using Android Debug Bridge (adb) for Remote Access and File Transfers

Android Debug Bridge (adb) is the default recommend way to transfer files to the MitySOM-QC6490.

Development Board Configuration

Ensure that Switch S7 is set properly.
  • Switch 1 should be set to enable the 1V8 USBC from the DC supply
  • Switch 2 should not be set to disable the 1V8 USBC from the SOM supply

Prerequisites

To use adb with the QC SOM, first ensure you have adb installed on the host PC. This can be achieved via:
  • Your host PC's package repository, if applicable.
    • For example, on Ubuntu (tested on 18.04 and 24.04) you can run sudo apt install adb android-sdk-platform-tools-common
  • Android's downloads page (not tested)
  • Additionally, on Linux platforms, determine whether you need to create additional udev rules.

Setup

  • Plug in a USB cable (either USB-A to USB-C or USB-C to USB-C) between the host PC and dev kit's USB-C port (J6). Note: Ensure the SOM is NOT booted prior to plugging in the USB.
  • Boot the SOM and then, from the host PC, run adb devices. This should start adb and detect any available devices automatically.
    • Example of successful connection:
      $ adb devices
      * daemon not running; starting now at tcp:5037
      * daemon started successfully
      List of devices attached
      f4b115d2    device
      
  • Note that all transfers and access are requested from the host PC
    • To send data the host PC to the MitySOM-QC6490 try the following:
      adb push <source> <destination>
      
      • Note: source is the path on the host PC of the file to be transferred to the MitySOM-QC6490.
      • Note: destination is the path on the MitySOM-QC6490 where the file is to be written.
    • To send data the MitySOM-QC6490 to the host PC to try the following:
      adb pull <source> <destination>
      
      • Note: source is the path on the MitySOM-QC6490 of the file to be transferred to the host PC.
      • Note: destination is the path on the host PC where the file is to be written.
    • To achieve remote console access to the MitySOM-QC6490 try the following:
      adb shell
      
  • Note: Once the SOM is booted, do not disconnect the USB-C connection. If you do, you may need to power off the SOM and repeat this procedure to reconnect.

Debug

If you have any issues with connecting adb, try the following:
  • Disconnect the USB-C, power cycle the SOM, reconnect the USB, and boot the SOM again.
  • Try different ports on the host PC and/or try different USB cables.

References

https://developer.android.com/tools/adb

Go to top
Add picture from clipboard (Maximum size: 1 GB)