Filter results by

USB – Device Mode

The ARTIK 1020 module directly supports one USB 3.0 port that is switchable between host controller and device modes. Refer to the USB – Host article for information on switching between modes.

The discussions in this section assume that the ARTIK 1020 USB logic has been programmed to device mode.

The ARTIK 530 and 710 modules directly support one USB 2.0 OTG port, which switches between device and host modes following OTG protocols.

The ARTIK 520 module and board provide a single USB 2.0 port, which supports device mode use only.

The USB Debug ports, externally implemented on each ARTIK board (not on the modules), are used exclusively for console interface and are not discussed here.

Testing Device Mode

Install adb Utility

You will need to install the android-tools-adb tool on your Linux® host PC if you want to use adb to test the USB device mode of ARTIK.
sudo apt-get install android-tools-adb

You can also install adb on your Windows® PC. Details are provided in the Image Update article.

Execute adb Transfer

Use the appropriate cables for the receptacle types listed below to connect each board to your host PC.

ARTIK 520: USB mini-B receptacle

ARTIK 530 and 710: USB micro-AB receptacle

ARTIK 1020: USB type A receptacle; switch port to device mode as noted above

  1. Using the terminal emulator to your ARTIK board, run the adbd daemon:
    systemctl start adbd.service

    To enable the service permanently, instead use:
    systemctl enable adbd.service

  2. From your host PC, send a file using the adb push command.
    adb push TEST_FILE /root

Last updated on: