NVIDIA Jetson Orin Nano - Serial Console
NVIDIA Jetson Orin Nano RidgeRun documentation is currently under development. |
Using UART Serial communication
You can access the Orin Nano using a TTL USB to UART converter. You just have to connect the TX, RX and ground of your TTL adapter to the respective pins available in the board. Those pins are labeled as RX and TX in the back side of the board, as shown in the next figure in the section 11 of connectors. From right to left the pins 3 and 4 are RX and TX respectively.
Once you have connected the TTL to your board, continue with the section Using minicom.
Using minicom
To use minicom for accessing the debug port, make sure you have installed minicom on your PC:
apt install minicom
and then open minicom on your PC with the corresponding parameters:
sudo minicom -D /dev/ttyUSB0 -8 -b 115200
If you have trouble accessing the /dev/ttyUSB0
device, it may be related to the ownership of the serial port device. It is usually owned by root, but available to the dialout
group:
$ ls -al /dev/ttyUSB0* crw-rw---- 1 root dialout 188, 0 Aug 10 15:17 /dev/ttyUSB0
You can either add your user to the dialout
group:
sudo addgrp $USER dialout
You may need to log-out and log back in for the group change to be applied.
When you have the setup ready and you have connected to the corresponding serial port, you'll be able to watch the full output of the startup process from the early stages, including the bootloader debug:
[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 ...
USB-C
To use the USB type C port to access serial control connect the cable to the port 8 shown in the following image
Connecting this port to a PC running Ubuntu using a USB-C cable will register one serial port in the PC. They will be assigned the device /dev/ttyACM0, assuming no other /dev/ttyACMn existed before the connection. This will only work if the board is connected to the power supply but will work even if it is not powered up.
To connect to the debug port on the Developer Kit, any serial console interface can be used.
Using minicom
You can use minicom for accessing just like you use in the UART Serial access. See the UART Serial step to see how to use the minicom.