Setting Up COM Port and Terminal
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
From Device Manager, identify the COM port that is associated with the main USB connection to the Qualcomm Robotics RB3.
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
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
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
To detect devices connected to the host machine through USB interface, enter this command:
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:
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.
Download and install Minicom through apt-get in Ubuntu.
$ sudo apt-get install minicom
$ sudo minicom –s
From the [configuration] list, select Serial port setup.
Confirm that Serial Device is set to /dev/ttyUSB0 and Bps/Par/Bits is set to 115200 8N1. Change the settings if needed.
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:
Disconnect the power supply of the Qualcomm Robotics RB3.
On the DIP switch, set SW2 to ON. That enables the USB 2.0 debug port.
Set SW3 to ON. That enables the auto power up on the USB-C cable connection.
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.
Reconnect the power supply and power-on the Qualcomm Robotics RB3 to see a green power-up LED illuminate.
Press and release the power button on the Qualcomm Robotics RB3 to see the yellow LED0 illuminate.
In Minicom, you can see the Qualcomm Robotics RB3 booting up. The login credentials are as follows:sda845 login: rootPassword: 123456
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:
Use a USB cable to connect the host machine to the USB Type C port on the Qualcomm Robotics RB3.
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.