I have connected a FTDI TTL-232R-3V3 USB to UART Cable with +3.3V TTL Level UART Signals cable to an Orin Nano, using only the TX and RX lines. Minicom and PuTTY (both with no flow control) running on Ubuntu 22.04LTS nicely show the entire boot sequence, ending with a login prompt - BUT I can’t login; typing has no effect using either appt. Is this the expected behavior?
Minicom configuration:
Welcome to minicom 2.8
OPTI+-----------------------------------------------------------------------+
Port| A - Serial Device : /dev/ttyUSB0 |
| B - Lockfile Location : /var/lock |
Pres| C - Callin Program : |
| D - Callout Program : |
| E - Bps/Par/Bits : 115200 8N1 |
| F - Hardware Flow Control : No |
| G - Software Flow Control : No |
| H - RS485 Enable : No |
| I - RS485 Rts On Send : No |
| J - RS485 Rts After Send : No |
| K - RS485 Rx During Tx : No |
| L - RS485 Terminate Bus : No |
| M - RS485 Delay Rts Before: 0 |
| N - RS485 Delay Rts After : 0 |
| |
| Change which setting? |
+-----------------------------------------------------------------------+
Are you using the devkit or custom board for Orin NX?
What’s your Jetpack version in use?
Devkit. Jetpack 6, rev 2.
No, I don’t mean “[…] that the RX works but TX not work?”
That’s an inference, not an observable. The observable is that I see the entire boot sequence, but when I type nothing appears. That could be because TX is not working, because Minicom (and PuTTY) is not working, because the Orin’s software is not working, or a number of other reasons… including cabling.
I take it that it is not expected behavior for the debug serial port to be output only. :-)
So… can I force an output from the Orin side, by writing to a port in /dev?
Have you tried to connect TypeC port and using /dev/ttyACM* from your host to log-in?
rob@Coeus:~$ ls -l /dev/ttyACM*
crw-rw---- 1 root dialout 166, 0 Aug 13 14:56 /dev/ttyACM0
I tried that just now, using /dev/ttyACM0. It does not work; altho’ programming the Orin via the USBC port using the SDK manager did work - and the SDK manager currently does detect the Orin as connected. SSH and xtigervncviewer via WiFi work fine.
Thanks for the reply.
I can connect via ssh and xtigervncviewer (I am using the tigervnc framework rather than vino because of the known scaling bug in vino) to remotely access via both wlan0 WiFi ( at 192.168.0.153) and l4tbr0 USBC (at 192.168.55.1).
Connecting in general is not the issue I queried about; rather, is the specific ability to use the serial debug port to login. Have you actually exercised that latter - or is it output only???
rob@Coeus:~/Downloads$ ssh -l rob 192.168.0.153
rob@192.168.0.153's password:
Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 5.15.136-tegra aarch64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
Expanded Security Maintenance for Applications is not enabled.
10 updates can be applied immediately.
2 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable
26 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm
Last login: Thu Aug 15 09:45:33 2024 from 192.168.55.100
rob@rob-orinnano:~$ ifconfig | grep 192
inet 192.168.55.1 netmask 255.255.255.0 broadcast 192.168.55.255
inet 192.168.0.153 netmask 255.255.255.0 broadcast 192.168.0.255
rob@rob-orinnano:~$ exit
logout
Connection to 192.168.0.153 closed.
rob@Coeus:~/Downloads$ ssh -l rob 192.168.55.1
rob@192.168.55.1's password:
Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 5.15.136-tegra aarch64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
Expanded Security Maintenance for Applications is not enabled.
10 updates can be applied immediately.
2 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable
26 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm
Last login: Thu Aug 15 10:26:44 2024 from 192.168.0.248
rob@rob-orinnano:~$
On your host PC from which you are attempting login, is it any different if you run your serial terminal with sudo/root? Sometimes a regular user has to be added to group dialout. If you find it works as root, then it is easy enough to append group dialout to your user.
Are you using the devkit or custom board for Orin NX?
Sure, serial console should work if you connect the serial console calbe.
We won’t see this issue on our setup, serial console would work as expected for input/output.
Have you tried the serial console cable other than FTDI one?