Board Automation using TOPO

I’m trying to test out board automation TOPO commands using the the following guide, but I keep getting a “No debugger found!” error even though I can see the NX USB using lsusb.

https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/AT/BoardAutomation.html

Jetson_Linux_R36.3.0/Linux_for_Tegra$ lsusb
...
Bus 003 Device 007: ID 0955:7020 NVIDIA Corp. L4T (Linux for Tegra) running on Tegra
...

Jetson_Linux_R36.3.0/Linux_for_Tegra$ sudo udevadm info -q all -n /dev/ttyACM0 | grep -E "(ID_MODEL|ID_VENDOR)"
E: ID_VENDOR_ID=0955
E: ID_MODEL_ID=7020
E: ID_VENDOR_FROM_DATABASE=NVIDIA Corp.
E: ID_MODEL_FROM_DATABASE=L4T (Linux for Tegra) running on Tegra
E: ID_VENDOR=NVIDIA
E: ID_VENDOR_ENC=NVIDIA
E: ID_MODEL=Linux_for_Tegra
E: ID_MODEL_ENC=Linux\x20for\x20Tegra


Jetson_Linux_R36.3.0/Linux_for_Tegra$ ./tools/board_automation/boardctl -t topo reset
Traceback (most recent call last):
  File "./tools/board_automation/boardctl", line 51, in <module>
    pmxxx = nv_topo(options.target, options.serial, options.index)
  File "/home/ciodev/se_gpu/Jetson_Linux_R36.3.0/Linux_for_Tegra/tools/board_automation/nvtopo.py", line 192, in __init__
    raise Exception("No debugger found! If the target is connected and is detected by host (in lsusb as device 0955:7045) then try using sudo or setup udev rule.")
Exception: No debugger found! If the target is connected and is detected by host (in lsusb as device 0955:7045) then try using sudo or setup udev rule.

I also get the same error if I provide the option “-s /dev/ttyACM0” to the ‘boardctl’ command.

How can I get 'boardctl ’ to find and control my NX board?

Hi,
Please run the commands with sudo. If the issue still persists, please check if UART log is present, to ensure the UART interface is good.

No change in behavior using ‘sudo’.

Jetson_Linux_R36.3.0/Linux_for_Tegra$ sudo ./tools/board_automation/boardctl -t topo reset
Traceback (most recent call last):
  File "./tools/board_automation/boardctl", line 51, in <module>
    pmxxx = nv_topo(options.target, options.serial, options.index)
  File "/home/ciodev/se_gpu/Jetson_Linux_R36.3.0/Linux_for_Tegra/tools/board_automation/nvtopo.py", line 192, in __init__
    raise Exception("No debugger found! If the target is connected and is detected by host (in lsusb as device 0955:7045) then try using sudo or setup udev rule.")
Exception: No debugger found! If the target is connected and is detected by host (in lsusb as device 0955:7045) then try using sudo or setup udev rule.

Where do I look for the UART log? I don’t see any new logs in “Linux_for_Tegra” or “Linux_for_Tegra/tools/board_automation” when I run the “boardctl” command.

Hi,
If you use Orin NX module + Orin Nano carrier board, please refer to the webpage:

https://jetsonhacks.com/2019/04/19/jetson-nano-serial-console/

Thank you. I already have the debug serial port connected to a terminal on my PC, as well as the USB-C recovery port, which can be seen in the ‘lsusb’ command output I provided in my original post.

Running the ‘boardctl’ command I see the same “No debugger found!” error, and no output the serial debug console.

Based on the error message, it sounds like ‘boardctl’ is failing to find the Jetson Orin device. Does ‘boardctl’ only look for a USB device with ID 0955:7045?

Exception: No debugger found! If the target is connected and is detected by host (in lsusb as device 0955:7045) then try using sudo or setup udev rule.

I’m using an NX board, so my USB ID is 0955:7020.