Setting Up COM Port and Terminal

Communicating with the Qualcomm® Robotics RB3 Platform

Be sure that the power supply is connected to the Qualcomm Robotics RB3 platform, and it is powered up and connected via USB Type C cable to the PC.

On a Windows host machine

  1. From Device Manager, identify the COM port that is associated with the main USB connection to the Qualcomm Robotics RB3.

  2. Using your terminal program, open a terminal to the specific COM port with these parameters:

    • a. Bits per second: 115200
    • b. Parity: 8N1
    • c. Flowcontrol: NO
  3. As the Qualcomm Robotics RB3 boots up, a series of messages scrolls past, ending with a login prompt. Enter username and password as follows:

    > User: root
    > Password: 123456
  4. You are now logged into Linux on the Qualcomm Robotics RB3. Enter this command:

The command returns the version number and details about the image that is running on the Qualcomm Robotics RB3.

On a Linux host machine

Detecting devices

To detect devices connected to the host machine through USB interface, enter this command:

$ dmesg

You should see the details and serial number of the product in dmesg logs displayed on the terminal. The following image lists ttyUSB0 for the Qualcomm Robotics RB3:

Installing Minicom

Use Minicom, a serial communication tool, while establishing the connection and resetting. Minicom is helpful in presenting bootup logs and the login screen of the Qualcomm Robotics RB3 development kit.

  1. Download and install Minicom through apt-get in Ubuntu.

    $ sudo apt-get install minicom
  2. Start minicom.

    $ sudo minicom –s
  3. From the [configuration] list, select Serial port setup.

  4. Confirm that Serial Device is set to /dev/ttyUSB0 and Bps/Par/Bits is set to 115200 8N1. Change the settings if needed.

  5. Select Save setup as dfl. Then select Exit (not Exit from minicom) to leave the configuration menu and enter the Minicom console.

Viewing debug logs

To view the debug logs for the bootup process in Minicom, follow these steps:

  1. Disconnect the power supply of the Qualcomm Robotics RB3.

  2. On the DIP switch, set SW2 to ON. That enables the USB 2.0 debug port.

  3. Set SW3 to ON. That enables the auto power up on the USB-C cable connection.

  4. Use a USB cable to connect the Qualcomm Robotics RB3 to the host machine. The debug port on the Qualcomm Robotics RB3 accepts a USB 2.0 Micro-B plug.

  5. Reconnect the power supply and power-on the Qualcomm Robotics RB3 to see a green power-up LED illuminate.

  6. Press and release the power button on the Qualcomm Robotics RB3 to see the yellow LED0 illuminate.

  7. In Minicom, you can see the Qualcomm Robotics RB3 booting up. The login credentials are as follows:

    sda845 login: root
    Password: 123456

Changing access

Access control security is provided through Security-Enhanced Linux (SELinux), which is turned on by default. SELinux does not support login as the root user. To overcome this, close SELinux as follows:

  1. Use a USB cable to connect the host machine to the USB Type C port on the Qualcomm Robotics RB3.

  2. Enter the following commands:

    $ adb shell
    # setenforce 0

Changing the password

It is strongly recommended that you change the password on the Qualcomm Robotics RB3. Use the following command:

$ sudo passwd

Qualcomm Robotics RB3 is a product of Qualcomm Technologies, Inc. and/or its subsidiaries.