Jetson Orin Nano Developer board and installed a 256G SSD on it. I already used JetPack 6.0 on a X86 host machine to flash these boards. All boards booted up with Ubuntu 22.04.
I tried to test UART1 (/dev/ttyTHS0) on the board. A 3-wire UART wires (TX, RX and Ground) to USB cable was being used. ‘TX’ wire was connected to pin 8, ‘RX’ wire connected to pin 10 and ‘GND’ wire connected to pin 9 in Expansion Header (J12). The USB port was connected to my PC. The baudrate was 115200. ‘Putty’ application was being used to read the data.
I modified the permission for /dev/ttyTHS0 so I could write data to it. From a terminal, I issued ‘echo " This is a test" > /dev/ttyTHS0’ command. But, I did not see anything on the Putty screen. I tried a couple of different baud rates but still nothing. I even switched the TX and RX wire but still did not see anything.
I did the same test on ‘Debug UART’ (/dev/ttyTCU0). It worked as expected. I saw all the outputs on the ‘Putty’ screen.
Any idea why could I not see anything on Putty when testing UART1?
[ 3.654203] serial-tegra 3100000.serial: RX in PIO mode
[ 3.654209] serial-tegra 3100000.serial: TX in PIO mode
[ 3.654267] 3100000.serial: ttyTHS0 at MMIO 0x3100000 (irq = 112, base_baud = 0) is a TEGRA_UART
From your log, it seems UART1 has been probed as expected.
Could you short TXD/RXD on 40-pins expansion header and run the following command to verify if UART loopback works as expectd?
$ sudo su
# stty -F /dev/ttyTHS0 115200 raw -echo
# cat /dev/ttyTHS0 &
# echo "test" > /dev/ttyTHS0