Serial Debug Console - Jetson Orin Nano, Xavier NX and Nano

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2024
  • The Serial Debug Console is a great debugging aid for connecting your NVIDIA Jetson Nano and NX Style Developer Kit to another computer. The method of connection is the same for the Jetson Nano B01, Jetson Nano 2GB and the Jetson Xavier NX, and Jetson Orin Nano Developer Kits. Please Like, Share and Subscribe!
    0:14 Introduction
    0:33 TTL to USB converter cable
    1:33 Connect cable to Jetson Nano B01 (New version)
    3:28 Connect cable to Jetson Nano A02 (Older version)
    5:24 Accessing the Jetson from another computer - walk thru
    Full article on JetsonHacks: wp.me/p7ZgI9-1aw
    This is an update to an earlier video. This video includes instruction on accessing the Jetson Nano B01 Development Kit Serial Debug Console.
    Adafruit USB to TTL Serial Cable - Debug / Console Cable [954] amzn.to/2Xn4tyP
    Jetson Nano: amzn.to/2E15tkW
    Website: jetsonhacks.com
    Github: github.com/jet...
    Twitter: / jetsonhacks
    #JetsonXavierNX #JetsonNano #JetsonNano2GB
    These are affiliate links. amazon.com/sho... The shop has these items available even if you are outside the United States. As an Amazon Associate I earn from qualifying purchases. There's no extra charge to you, and the channel gets a small commission. Thanks!

ความคิดเห็น • 78

  •  4 ปีที่แล้ว +3

    Content is getting better year after year. Love the highlights and the flow of the instructions. Awesome job Jim!

    • @JetsonHacks
      @JetsonHacks  4 ปีที่แล้ว

      I appreciate that! Been investing in taking some time to better learn the tools, and added a couple of pieces of gear that hopefully make the sound better. Thanks for watching!

  • @jrtapley
    @jrtapley 4 ปีที่แล้ว +2

    Great content. Safety first... always keep the fire extinguisher on hand.

    • @JetsonHacks
      @JetsonHacks  4 ปีที่แล้ว +1

      Mr. Fire Extinguisher always says that when holding picking up his pay check. Thanks for watching!

  • @paulmcwhorter
    @paulmcwhorter 4 ปีที่แล้ว +3

    Another great video. Hey, just curious, it looks like you were blurring part of the back of you board. Just wondered how there could be anything sensitive there you would want to blur. Inquiring minds want to know

    • @JetsonHacks
      @JetsonHacks  4 ปีที่แล้ว +3

      Thank you for the kind words. As I recall, and it's been a while since I look at this, there are 4 pieces of information there. The first is the part number, the second is the serial number of the card. The third is a QR code, which encodes to the 'Getting started' with Jetson Nano web page. If I remember correctly, the other code is the mac address of the device. I don't think any of it is super secret, or probably even worth hiding, but it makes people curious! Thanks for watching.

    • @leonmusk1040
      @leonmusk1040 3 ปีที่แล้ว

      I don't suppose there's any chance you or "Jim/Paul" have done anything on setup of x11 files I have a feeling one of you did but can't remember which one :)

  • @yloibx
    @yloibx 6 หลายเดือนก่อน

    Thanks for the detailed video. Can I ask a question? I'm flashing Jetson Orin nvme with initrd bsp and rootfs files via setup shell scripts. After flash is done. How can I set username, password, hostname with headless to use it in ssh? I don't use serial communication. I just use recovery mode and host device.

    • @JetsonHacks
      @JetsonHacks  6 หลายเดือนก่อน

      You can watch this video and see if it helps: th-cam.com/video/Ch1NKfER0oM/w-d-xo.htmlsi=3I6QaJ4awKnNg8vx

  • @admiretechnologies1218
    @admiretechnologies1218 4 ปีที่แล้ว

    Really appreciate the Jetson Nano content, Jim!
    I have a question hoping you could help me with. I have a USB to ttl cable from Adafruit.
    I want to use it for communication in the other direction.
    I want to use it to communicate from the Jetson to an Arduino Mega on the Arduino's Rx and Tx pins.
    The reason I don't just use a regular USB cable is that I am going trough a slip ring.
    Am I correct that this communication should work without any level shifters for 3V to 5V system since it is going to the Jetson's USB port and not GPIOs?
    I could even use the 5V line to power the Arduino?
    I hesitate to just try as I do not want to fry the Jetson.

    • @JetsonHacks
      @JetsonHacks  4 ปีที่แล้ว

      Thank you for the kind words. I believe that the wiring is 3.3V for the TTL signals, I don't know enough about the Arduino to say whether it will understand that voltage. You can try to power the Arduino, but remember that the Jetson may not be able to provide enough power to the USB port, depending on how you are powering the Jetson. Thanks for watching!

  • @eranfeit
    @eranfeit 3 ปีที่แล้ว

    Hi. Thanks for great video. Any suggestion how to do it similar with Arduino ( using wires ) ?

  • @kingsleychigozieeneh3482
    @kingsleychigozieeneh3482 2 ปีที่แล้ว

    admin i tried connecting my rasberry pi 3b to my jetson nano A20, using this video and the web instruction, the last part where u turned on the jetson nano and the ubuntu was loading my didnt. please how can i connect my rasperry pi to my jetson nano effectively?

    • @JetsonHacks
      @JetsonHacks  2 ปีที่แล้ว

      Did you prepare a SD card for the Jetson?

  • @dwayneattard5265
    @dwayneattard5265 ปีที่แล้ว

    I have an FDTI usb to TTL wire. does it work with the jetsson nano?

    • @JetsonHacks
      @JetsonHacks  ปีที่แล้ว

      It should. Have you tried it? Thanks for watching!

  • @Noran-c1b
    @Noran-c1b 7 หลายเดือนก่อน

    thank you for your effort.
    can i do this with windows plat form ? and How?

    • @JetsonHacks
      @JetsonHacks  7 หลายเดือนก่อน +1

      Yes. You can use PuTTY for the terminal emulator. You will need to determine which USB port the Jetson is on through the device manager. If you need more help, please ask on the official NVIDIA Jetson forums where a large group of developers and NVIDIA engineers share their experience. Good luck on your project!

  • @maheshch1829
    @maheshch1829 8 หลายเดือนก่อน

    Do i need ttl to usb or usb to ttl converter? Or any of them works?

    • @JetsonHacks
      @JetsonHacks  8 หลายเดือนก่อน

      I don't know what the difference is between the two. I know this one works: amzn.to/3SdWGTu

    • @maheshch1829
      @maheshch1829 8 หลายเดือนก่อน

      @@JetsonHacks I followed your instructions and I can login into jetson through serial console but I can't login normally with GUI, it's stuck at booting process. Could please help me with solution for this issue?

    • @JetsonHacks
      @JetsonHacks  8 หลายเดือนก่อน

      @@maheshch1829 The serial console output will tell you why it is not booting into the GUI.

    • @maheshch1829
      @maheshch1829 8 หลายเดือนก่อน +1

      Hi thanks for your prompt reply. The issue was fixed.

    • @JetsonHacks
      @JetsonHacks  8 หลายเดือนก่อน

      @@maheshch1829 I'm glad you were able to get it to work!

  • @lashlarue59
    @lashlarue59 4 ปีที่แล้ว

    Can anyone tell me, what are the advantages for using the Nano or the AGX Xavier type devices verses just using a Linux PC with a Nvidia RTX GPU card for ML/AI development?

    • @zacharygoldsmith7218
      @zacharygoldsmith7218 3 ปีที่แล้ว

      ARM architecture, for iOT development is the main reason.

  • @geekionizado
    @geekionizado 3 ปีที่แล้ว

    On mine I got
    Ubuntu 18.04.5 LTS jetson ttyTHS1
    jetson login:
    and nothing more. Typing password and pressing enter does nothing. I think I should see kernel messages

    • @JetsonHacks
      @JetsonHacks  3 ปีที่แล้ว

      You should have your terminal emulator running on your host computer before booting the Jetson in order to see the boot logs.

    • @geekionizado
      @geekionizado 3 ปีที่แล้ว +1

      @@JetsonHacks found the problem. I plugged it on the wrong UART ports. It should not be the ones from the GPIO but the ones for UART debugging of the kernel

    • @JetsonHacks
      @JetsonHacks  3 ปีที่แล้ว

      @@geekionizado I'm glad you got it to work.

  • @tburnettiii
    @tburnettiii 4 ปีที่แล้ว

    I have an older model that I can't get to boot, when I hook up the TTY cable it prints out ~200 grey squares. That it, no glorious boot sequence. Nice video, BTW.

    • @JetsonHacks
      @JetsonHacks  4 ปีที่แล้ว

      Hard to tell from your description, but it sounds like the baud rate and so on are not correct.

    • @tburnettiii
      @tburnettiii 4 ปีที่แล้ว

      @@JetsonHacks 11520 8n1 hardware off/software on, get the same results under minicom and putty. Don't worry about it, I'll buy a new one.

    • @tburnettiii
      @tburnettiii 4 ปีที่แล้ว

      Sorry meant 115200

    • @geekionizado
      @geekionizado 3 ปีที่แล้ว

      @@tburnettiii verify if ground is connected

  • @NOOR-sw3wl
    @NOOR-sw3wl 3 ปีที่แล้ว

    Hello I have problems in boot
    Can one help me

  • @DrShaikAhmad
    @DrShaikAhmad 4 ปีที่แล้ว +1

    minicom throwing an error
    minicom: cannot open /dev/modem: No such file or directory

    • @JetsonHacks
      @JetsonHacks  4 ปีที่แล้ว

      I do not know what this means. Why do you think your serial port is on /dev/modem?

    • @DrShaikAhmad
      @DrShaikAhmad 4 ปีที่แล้ว

      @@JetsonHacks I managed to resolve that error using this "sudo minicom -s". Now I am able configure and save the changes. But when I connect the jetson nano power adapter I can't see any logs in the minicom terminal. The screen stays blank completely.

    • @JetsonHacks
      @JetsonHacks  4 ปีที่แล้ว

      @@DrShaikAhmad You don't say how you are powering the Jetson.

    • @DrShaikAhmad
      @DrShaikAhmad 4 ปีที่แล้ว

      @@JetsonHacks I am powering the Jetson nano with Barrel Adapter just like how you showed in the Video.
      1. Ran dmesg --follow on one terminal
      2. Connected the TTL USB to the laptop (Linux 20.04 LTS). And saw the detection log in the terminal.
      3. Ran sudo minicom -s on the other terminal and configured the minicom
      4. Closed and reopened the terminal, ran the sudo minicom
      5. Connected the barrel adapter to the Jetson nano and turned on the power.
      But I couldn't able to see any logs in the minicom terminal.

    • @JetsonHacks
      @JetsonHacks  4 ปีที่แล้ว

      @@DrShaikAhmad Did the green light on the Jetson indicate it was getting power? What are you expecting 'minimum -s' to do? What /dev address is the TTL adapter connected to?

  • @ORIGASOUP
    @ORIGASOUP 4 ปีที่แล้ว +1

    first

    • @JetsonHacks
      @JetsonHacks  4 ปีที่แล้ว +1

      Another star for the book! Thanks for watching!

  • @JetsonHacks
    @JetsonHacks  3 ปีที่แล้ว +1

    The USB to TTL serial converter connection is the same for the Jetsons that are in the newer Jetson Nano (B01) form factor. This currently includes the Jetson Nano, Jetson Nano 2GB, Jetson Xavier NX, and Jetson Orin Nano. As usual, make sure to check the connector labeling located on the underside of the board.

  • @kyd9019
    @kyd9019 4 ปีที่แล้ว

    Hi, I have a random question. I saw your TH-cam video several years ago regarding using Sparkfun Razor IMU with 9DOF on Jetson TK1. I wonder that this IMU is still working on Jetson Nano. I'm struggling installing package on Jetson Nano. If you have any other suggestion, please give me some advise.

    • @JetsonHacks
      @JetsonHacks  4 ปีที่แล้ว

      I do not know what "struggling installing package" means.

    • @kyd9019
      @kyd9019 4 ปีที่แล้ว

      @@JetsonHacks I'm running ROS Melodic on Jetson Nano and I can't find the Razor IMU package on Gibhub.

  • @KangJangkrik
    @KangJangkrik 3 ปีที่แล้ว

    Question: Can I use Arduino instead of that TTL cable? thanks!

    • @JetsonHacks
      @JetsonHacks  3 ปีที่แล้ว

      Probably. You should try it out! Good luck on your project.

  • @kyp7699
    @kyp7699 3 ปีที่แล้ว

    Hi? Thanks for the good video.
    I have a question. I have two jetson boards and they are trying to communicate with each other by UART.
    When I tested with the tx rx pin of the J41 header, the communication went well.
    However, when I tested it with the tx rx pin of the J50 header, there was no communication.
    Why can't these communicate?
    I connected them using jumper wires.
    I didn't use TTL to usb.

    • @JetsonHacks
      @JetsonHacks  3 ปีที่แล้ว

      Hard to tell what the issue is from your description. The J50 UART explicitly is the serial console, and a console running the getty service. What address are you using to communicate with the J50, and how did you disable the serial console and getty service?

    • @kyp7699
      @kyp7699 3 ปีที่แล้ว

      @@JetsonHacks I used ttyS0 port

    • @JetsonHacks
      @JetsonHacks  3 ปีที่แล้ว

      @@kyp7699 It is difficult to tell from your description what the issue may be. It could be a permissions issue, you didn't say how you disabled the serial console or terminal services, wired the two together and so on. Please ask this question on the official NVIDIA Jetson Nano forum, where a large group of developers and NVIDIA engineers share their experience. Good luck on your project!

  • @SKY53.
    @SKY53. 4 ปีที่แล้ว

    Thank you very much!

    • @JetsonHacks
      @JetsonHacks  4 ปีที่แล้ว

      You're welcome! Thanks for watching!

  • @najibmurshed
    @najibmurshed 3 หลายเดือนก่อน

    I am not getting any Serial Log even though I followed all the steps. Is there any way I can check if my Jetson Nano is communicating?

    • @JetsonHacks
      @JetsonHacks  3 หลายเดือนก่อน

      You will need to make sure that your cable is wired correctly, and that you have a proper driver for the TTL to USB chip. Which cable are you using to connect them? What is your host machine?

    • @najibmurshed
      @najibmurshed 3 หลายเดือนก่อน

      @@JetsonHacks I used this cable: DTECH 3ft 3.3V USB to TTL Serial Adapter Debug Cable TX RX Signal 4 Pin Female Socket PL2303 Prolific Chip. I am using Ubuntu 18.04.

    • @JetsonHacks
      @JetsonHacks  3 หลายเดือนก่อน

      @@najibmurshed Do you have a PL2303 driver for your host machine? If you're looking to check if the correct driver is installed for your PL2303 TTL to USB serial converter on Ubuntu 18.04, here's a step-by-step guide:
      Plug in Your Converter:
      First, plug your TTL to USB serial converter into your computer.
      Check Kernel Messages:
      Open a terminal and type the following command:
      $ dmesg | grep tty
      This will show you the kernel messages related to TTY devices. Look for lines mentioning the PL2303 converter, such as:
      [ 1234.567890] usb 1-1: pl2303 converter now attached to ttyUSB0
      Next, list the TTY devices to see if the converter is recognized:
      ls /dev/ttyUSB*
      You should see something like /dev/ttyUSB0 if your device is recognized.
      Identify the Driver Module:
      To identify the driver being used, type:
      $ lsusb
      Look for an entry similar to:
      Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
      Note the vendor ID and product ID (e.g., 067b:2303), then check the driver details with:
      $ lsusb -v -d 067b:2303 | grep -i driver
      Finally, verify that the pl2303 kernel module is loaded:
      $ lsmod | grep pl2303
      You should see output indicating that the pl2303 module is loaded.
      If the pl2303 module isn’t loaded, you can load it manually with:
      $ sudo modprobe pl2303
      And check again with
      $ lsmod | grep pl2303.
      Hope this helps

    • @najibmurshed
      @najibmurshed 3 หลายเดือนก่อน

      @@JetsonHacks As for the product ID I am getting 067b:23a3 and after I did $ lsusb -v -d 067b:23a3 | grep -i driver
      Couldn't open device, some information will be missing.
      However, If I did lsusb -v -d 067b:2303 | grep -i driver it doesn't show any error just that it is ready for the next command. When I do $ lsmod | grep pl2303:
      pl2303 28672 0
      usbserial 49152 1 pl2303

    • @najibmurshed
      @najibmurshed 3 หลายเดือนก่อน

      @@JetsonHacks Thanks for the detailed suggestion! I did try the steps and instead of product ID (067b:2303) I am getting (067b:23a3) and when I use that I get:
      $ lsusb -v -d 067b:23a3 | grep -i driver
      Couldn't open device, some information will be missing
      But if I used:
      lsusb -v -d 067b:2303 | grep -i driver (The terminal accepts it)
      Also:
      $ lsmod | grep pl2303
      I get --------------------------------------
      pl2303 28672 0
      usbserial 49152 1 pl2303

  • @URKCSVARUNS
    @URKCSVARUNS 8 หลายเดือนก่อน

    [21515.991026] usb 1-2: new full-speed USB device number 113 using xhci_hcd
    [21515.991267] usb 1-2: Device not responding to setup address.
    [21516.199314] usb 1-2: Device not responding to setup address.
    [21516.407075] usb 1-2: device not accepting address 113, error -71
    [21516.535102] usb 1-2: new full-speed USB device number 114 using xhci_hcd
    [21516.535309] usb 1-2: Device not responding to setup address.
    [21516.743414] usb 1-2: Device not responding to setup address.
    [21516.951227] usb 1-2: device not accepting address 114, error -71
    [21516.951362] usb usb1-port2: unable to enumerate USB device
    got an error like this in dmesg --follow

    • @JetsonHacks
      @JetsonHacks  8 หลายเดือนก่อน

      I'm not sure what your issue might be. Please ask the question in the official NVIDIA Jetson forums, where a large group of Jetson developers and NVIDIA engineers share their experience: forums.developer.nvidia.com/c/agx-autonomous-machines/jetson-embedded-systems/70