EVO ORIN DEBUG Usage#

DEBUG  Usage#

DEBUG  Pin Assignment#

DB9 Port Pin Definition:

Pin

Signal

2

RX

3

TX

5

GND

Function and Device Node#

Function

Device Node

UART_(DEBUG)

ttyUART_232_DEBUG

Usage#

  • Use connector 1, connect to DB9 RS232 of device.

  • Use connector 2, connect to PC.

Use Ubuntu as development PC#

Install Putty

sudo apt-get install putty -y

Obtaining the UART device node on the PC side.

#After connecting the USB to serial module to the PC side, execute the command, and the output result is the UART device node.
 ls /dev | grep -E 'ttyUSB[0-9]+' | sort -V | tail -n 1
 
#Open putty
sudo putty

After opening Putty, configure the parameters in “Session”. Enter the device node in “Serial line” and set the speed to 115200 in “Speed”. Choose “Serial” in “Connection type”.

After clicking “Open”, the terminal will pop up, then press the Enter key.

After pressing the Enter key, the following content will be displayed, which means that you have entered the device terminal and can print logs, etc.

Q&A#

If there is a problem using the /dev/ttyUSB3 device, it may be caused by serial port permissions. You can confirm permissions with the following command.

$ ls -al /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Oct 31 15:56 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 Oct 31 15:56 /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 2 Oct 31 15:56 /dev/ttyUSB2
crw-rw---- 1 root dialout 188, 3 Oct 31 15:57 /dev/ttyUSB3

And use the following command to add the current user to the dialout group

sudo addgrp $USER dialout
#Logout and log in again are required to ensure group changes take effect.

If you see the following bootloader information, it means that the Debug serial port connection is successful.

[0000.086] I> MB1 (prd-version: 1.0.0.0-t194-41334769-a3872862)
[0000.091] I> Boot-mode: L0 coldboot
[0000.094] I> chip revision : A02 
[0000.097] I> Bootrom patch version : 7 (correctly patched)
[0000.102] I> ATE fuse revision : 0x200
[0000.106] I> Ram repair fuse : 0x0
[0000.109] I> Ram Code : 0x0
[0000.111] I> rst_source : 0x0
[0000.114] I> rst_level : 0x0
[0000.118] I> Boot-device: eMMC
...