Qualcomm Robotics RB5/RB6 - Using Serial Console

From RidgeRun Developer Connection
Jump to: navigation, search



Index




Contents


UART (Universal Asynchronous Receiver/Transmitter) is a circuit in charge of transmitting and receiving information in serial form. The communication is done exclusively between two devices which typically handle data in parallel form, so the UART does the conversion from one to the other.

This section will help you into accessing the board with UART[1]:

Error creating thumbnail: Unable to save thumbnail to destination
Figure 1: DIP Switch 0 - Switch Naming


1. Make sure the board is powered off and disconnected. Turn on the SW2 on the DIP Switch 0 to enable the USB debug and turn on SW3 to enable auto power up, the rest of the switches can be in any position you prefer. See Figure 1 to locate the switches.

Error creating thumbnail: Unable to save thumbnail to destination
Figure 2: MicroUSB debug port


3. Connect the microUSB cable to the USB debug port, see Figure 2 for its location on the board, and the other end to a USB port on your host PC.
4. Connect the power supply to the power connector on the board and the other end to the power outlet. The board will boot up in around 5 seconds. Once it finishes the boot process, a device file with the name ttyUSB0 in the /dev directory.
5. Open a serial console tool in your host PC. In this case, Minicom will be used, the parameters for the serial communication to access the board are the following:

  • Baud rate: 115200
  • Data bits: 8
  • Stop bits: 1
  • Parity: None
  • Flow control: None


Open a terminal in your host PC and type:

minicom -D /dev/ttyUSB0 -8 -b 115200


Error creating thumbnail: Unable to save thumbnail to destination
Figure 3: Minicom console access


6. You will be prompted to insert the credentials to access the board, see Figure 3. The default credentials for Thundercomm official images are:

  • User: root
  • Password: oelinux123

For linaro images the credentials are:

  • User: root
  • Password:


Once you enter the credentials you are inside the board.

References

  1. Enable Serial Port. Qualcomm. Retrieved January 25, 2023, from [1]


Index