How to use system debugging/control serial port to send data out?

How to use system debugging/control serial port to send data out?

How to control the serial port that is available before the system starts and use it to send data?

Hi Amelie,

Are you using the devkit or custom board for AGX Xavier?
What’s your Jetpack version in use?

If you are using the devkit, please refer to the following instruction to use serial console.
NVIDIA Jetson Xavier - Serial Console (ridgerun.com)

Hi KevinFFF

I use JetPack 5.1.2 and devkit.

I’m trying to figure out two things here.

  1. Can I use a USB to Dupont cable to connect the serial port to the serial transceiver port of stm32? Make debugging output to stm32.
  2. How do I control the control port so that I can send the data I want to send to stm32?

Do you want to debug your AGX Xavier from host PC?
Or you want to debug the STM32 from AGX Xavier?

Or you want to create the UART communication between AGX Xavier and stm32 MCU?

You could just use stty command to configure UART, echo/cat command to send/receive the UART data.

I want to create the UART communication between AGX Xavier and stm32 MCU.

agx xavier has a usb micro-b interface, but it has ttyUSB0 ttyUSB1 ttyUSB2 ttyUSB3, how can I separate only the RX TX of ttyUSB3 with a Dupont line?

I don’t know much about hardware.

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

For your use case, you could create UART communication between AGX Xavier through the UART1 on 40-Pin expansion header.
image

Please share the full dmesg for further check.