SDK Manager - Could not detect target hardware

Hi Dakow/s_ajisaka,

Please try flash BSP directly and check if device can flash or not.

  1. Put the device to recovery mode
  2. Go to BSP folder (that you download target HW image folder)
    $ cd /home/xxxx/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra
  3. Flash image:
    $ sudo ./flash jetson-tx2 mmcblk0p1

Hi carolyuu,

Thanks for your help !
Here is the result:

dev@dev-robot-2:~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra$ lsusb 
Bus 002 Device 031: ID 1a2c:b31f China Resource Semico Co., Ltd 
Bus 002 Device 030: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 002 Device 029: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 0955:7c18 NVidia Corp. 
Bus 001 Device 002: ID 0bda:0181 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dev@dev-robot-2:~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra$ dmesg | tail -5
[170282.030643] usb 1-6: new high-speed USB device number 5 using ehci-pci
[170282.188087] usb 1-6: New USB device found, idVendor=0955, idProduct=7c18
[170282.188090] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[170282.188092] usb 1-6: Product: APX
[170282.188095] usb 1-6: Manufacturer: NVIDIA Corp.
dev@dev-robot-2:~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra$ sudo ./flash.sh jetson-tx2 mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 (release), REVISION: 1.0, GCID: 14531094, BOARD: t186ref, EABI: aarch64, 
# DATE: Wed Mar 13 07:41:08 UTC 2019
###############################################################################
Error: probing the target board failed.
       Make sure the target board is connected through 
       USB port and is in recovery mode.

I had the same issue today when flashing Jetpack 4.2 onto Jetson TX 2 through SDK Manager 0.9.11.3405 running on host PC with Ubuntu 18.04.2 LTS.

This post helped me solve my problem: https://devtalk.nvidia.com/default/topic/1048872/error-when-install-jetson-software-with-sdk-manager/?offset=1

In short, install python 2 (sudo apt-get install python) and restart SDK Manager(probably the host PC as well).

Hope this can help you.

P.S.
If you want to flash more than one boards:

  1. Make sure to restart the SDKmanager before flashing a new one;
  2. After Systemconfiguration, the board will reastart automatically, do not change anything on the newly flashed Jetson System(especially system settings, which may crash and, as a result, SDK flashing may fail) before finishing flashing SDK to the board by host PC.

Dakow,

Perhaps you can try the following command to flash L4T. It won’t work any better, but will emit some more debug information that might let us tell better where the problem is.

sudo bash -x ./flash.sh jetson-tx2 mmcblk0p1

Hi mingqing007!
Thanks for your answer, but it don’t seem to be the same problem, because my Tx2 do not even give the result for the “Target Board Information”…

Hi StephenWarren,

Thanks for your message!
Here is the result: http://data.aidactif.fr/note/1117/raw/
(The forum is blocking the logs (because of certain characters?), so I hosted them.)

Are you sure that the Jetson device was in recovery mode when you ran that command? Every time you run flash.sh you must force the device back into recovery mode by holding the “REC” button either while powering on Jetson from off, or while resetting Jetson by pressing the “RST” button. It is quite possible that Jetson was correctly in recovery mode, it’s just that you’re seeing the same issue that prevents SDK Manager and flash.sh from working.

Can you also try this, also in the Linux_for_Tegra directory, with Jetson freshly placed into recovery mode again:
sudo ./bootloader/tegrarcm_v2 --uid

If that doesn’t print anything that looks like a useful error message, then perhaps try this too, after again placing Jetson into recovery mode afresh:
sudo strace ./bootloader/tegrarcm_v2 --uid

Thanks.

I get the same problem too. I could flash the device when I upgraded from lower Jetpack version to 4.2 version. But since then, I cannot reflash anymore.
I can confirm that my device is in recovery mode properly (I check with lsusb and the TX2-connected display doesn’t show Linux boot).
This is my log for sudo strace./bootloader/tegrarcm_v2 --uid

sudo strace ./bootloader/tegrarcm_v2 --uid 
execve("./bootloader/tegrarcm_v2", ["./bootloader/tegrarcm_v2", "--uid"], 0x7ffe10fd4128 /* 26 vars */) = 0
strace: [ Process PID=15619 runs in 32 bit mode. ]
uname({sysname="Linux", nodename="tranquockhue-ThinkPad-Yoga-14", ...}) = 0
brk(NULL)                               = 0x8384000
brk(0x8384cb0)                          = 0x8384cb0
set_thread_area({entry_number=-1, base_addr=0x8384830, limit=0x0fffff, seg_32bit=1, contents=0, read_exec_only=0, limit_in_pages=1, seg_not_present=0, useable=1}) = 0 (entry_number=12)
set_tid_address(0x8384878)              = 15619
set_robust_list(0x8384880, 12)          = 0
futex(0xffc08018, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x805afc0, sa_mask=[], sa_flags=SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x805aee0, sa_mask=[], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
ugetrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sysname="Linux", nodename="tranquockhue-ThinkPad-Yoga-14", ...}) = 0
brk(0x83a5cb0)                          = 0x83a5cb0
brk(0x83a6000)                          = 0x83a6000
stat64("/dev/bus/usb", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
fcntl64(3, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
getdents(3, /* 4 entries */, 4096)      = 64
open("/dev/bus/usb/002", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 3 entries */, 4096)      = 48
open("/dev/bus/usb/002/001", O_RDWR)    = 5
read(5, "\22\1\0\3\t\0\3\tk\35\3\0\25\4\3\2\1\1\t\2\37\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 49
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/001", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=140, ...}) = 0
getdents(4, /* 7 entries */, 4096)      = 112
open("/dev/bus/usb/001/024", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0@U\t\30|\0\0\1\2\0\1\t\2 \0\1\1\0\300\20\t\4\0\0\2"..., 1024) = 50
close(4)                                = 0
close(3)                                = 0
ioctl(5, USBDEVFS_CLAIMINTERFACE, 0x8385690) = 0
close(5)                                = 0
stat64("/dev/bus/usb", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
getdents(3, /* 4 entries */, 4096)      = 64
open("/dev/bus/usb/002", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 3 entries */, 4096)      = 48
open("/dev/bus/usb/002/001", O_RDWR)    = 5
read(5, "\22\1\0\3\t\0\3\tk\35\3\0\25\4\3\2\1\1\t\2\37\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 49
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/001", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=140, ...}) = 0
getdents(4, /* 7 entries */, 4096)      = 112
open("/dev/bus/usb/001/024", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0@U\t\30|\0\0\1\2\0\1\t\2 \0\1\1\0\300\20\t\4\0\0\2"..., 1024) = 50
close(4)                                = 0
close(3)                                = 0
ioctl(5, USBDEVFS_CLAIMINTERFACE, 0x8385690) = 0
ioctl(5, USBDEVFS_BULK, 0xffc07f40)     = -1 ETIMEDOUT (Connection timed out)
close(5)                                = 0
write(1, "Failed to read UID\n", 19Failed to read UID
)    = 19
exit_group(8)                           = ?
+++ exited with 8 +++

@mingquing,
Thank you so much, you have solved my problem!

After installing Python 2.7 on the host, I was able to flash the Xavier board without a hitch.

Nvidia, please update the documentation accordingly, it seems that this is a crucial piece on info for the 4.2 install. Thanks!

Hi StephenWarren,

Yes, I’m sure to be under recovery mode, I check it everytime with a lsusb.
Here is the result. It seems that the card is not recognized as a usb bus despite being visible with the lsusb command…

dev@dev-robot-2:~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra$ lsusb
Bus 002 Device 049: ID 1a2c:b31f China Resource Semico Co., Ltd 
Bus 002 Device 048: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 002 Device 047: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 009: ID 0955:7c18 NVidia Corp. 
Bus 001 Device 002: ID 0bda:0181 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dev@dev-robot-2:~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra$ sudo ./bootloader/tegrarcm_v2 --uid
[sudo] password for dev: 
Failed to read UID
dev@dev-robot-2:~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra$ sudo strace ./bootloader/tegrarcm_v2 --uid
execve("./bootloader/tegrarcm_v2", ["./bootloader/tegrarcm_v2", "--uid"], [/* 27 vars */]) = 0
strace: [ Process PID=6411 runs in 32 bit mode. ]
uname({sysname="Linux", nodename="dev-robot-2", ...}) = 0
brk(NULL)                               = 0x98e9000
brk(0x98e9cb0)                          = 0x98e9cb0
set_thread_area({entry_number:-1, base_addr:0x98e9830, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:12)
set_tid_address(0x98e9878)              = 6411
set_robust_list(0x98e9880, 12)          = 0
futex(0xfff132a8, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigaction(SIGRTMIN, {0x805afc0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x805aee0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
ugetrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sysname="Linux", nodename="dev-robot-2", ...}) = 0
brk(0x990acb0)                          = 0x990acb0
brk(0x990b000)                          = 0x990b000
stat64("/dev/bus/usb", {st_mode=S_IFDIR|0755, st_size=200, ...}) = 0
open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=200, ...}) = 0
fcntl64(3, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
getdents(3, /* 1 entries */, 4096)      = 160
open("/dev/bus/usb/008", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/008/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/007", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/007/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/006", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/006/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/005", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/005/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/004", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/004/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/003", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/003/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/002", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 96
open("/dev/bus/usb/002/049", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0 ,\32\37\263\0\1\1\2\0\1\t\2t\0\4\1\0\2402\t\4\0\0\1"..., 1024) = 134
close(5)                                = 0
open("/dev/bus/usb/002/048", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0\10m\4Z\300\0c\1\2\0\1\t\2\"\0\1\1\0\2402\t\4\0\0\1"..., 1024) = 52
close(5)                                = 0
open("/dev/bus/usb/002/047", O_RDWR)    = 5
read(5, "\22\1\0\2\t\0\1@@\32\1\1\21\1\0\1\0\1\t\2\31\0\1\1\0\3402\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
open("/dev/bus/usb/002/001", O_RDWR)    = 5
read(5, "\22\1\0\2\t\0\0@k\35\2\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/001", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=100, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 80
open("/dev/bus/usb/001/009", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0@U\t\30|\0\0\1\2\0\1\t\2 \0\1\1\0\300\20\t\4\0\0\2"..., 1024) = 50
close(4)                                = 0
close(3)                                = 0
ioctl(5, USBDEVFS_CLAIMINTERFACE, 0x98ea690) = 0
close(5)                                = 0
stat64("/dev/bus/usb", {st_mode=S_IFDIR|0755, st_size=200, ...}) = 0
open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=200, ...}) = 0
getdents(3, /* 1 entries */, 4096)      = 160
open("/dev/bus/usb/008", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/008/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/007", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/007/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/006", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/006/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/005", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/005/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/004", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/004/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/003", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/003/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/002", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 96
open("/dev/bus/usb/002/049", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0 ,\32\37\263\0\1\1\2\0\1\t\2t\0\4\1\0\2402\t\4\0\0\1"..., 1024) = 134
close(5)                                = 0
open("/dev/bus/usb/002/048", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0\10m\4Z\300\0c\1\2\0\1\t\2\"\0\1\1\0\2402\t\4\0\0\1"..., 1024) = 52
close(5)                                = 0
open("/dev/bus/usb/002/047", O_RDWR)    = 5
read(5, "\22\1\0\2\t\0\1@@\32\1\1\21\1\0\1\0\1\t\2\31\0\1\1\0\3402\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
open("/dev/bus/usb/002/001", O_RDWR)    = 5
read(5, "\22\1\0\2\t\0\0@k\35\2\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/001", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=100, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 80
open("/dev/bus/usb/001/009", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0@U\t\30|\0\0\1\2\0\1\t\2 \0\1\1\0\300\20\t\4\0\0\2"..., 1024) = 50
close(4)                                = 0
close(3)                                = 0
ioctl(5, USBDEVFS_CLAIMINTERFACE, 0x98ea690) = 0
ioctl(5, USBDEVFS_BULK, 0xfff131d0)     = -1 ETIMEDOUT (Connection timed out)
close(5)                                = 0
write(1, "Failed to read UID\n", 19Failed to read UID
)    = 19
exit_group(8)                           = ?
+++ exited with 8 +++

Edit: I’ve tested with rebooting my computer and using others USB ports, same result.

Hi Dakow,

Can you try @business14 #19 comments?
Install python 2.7 on host. Thanks!

Hi,

I have already Python on my host :

dev@dev-robot-2:~$ aptitude show python2.7
Package: python2.7                       
State: installed
Automatically installed: no
Multi-Arch: allowed
Version: 2.7.12-1ubuntu0~16.04.4
Priority: optional
Section: python
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Uncompressed Size: 358 k
Depends: python2.7-minimal (= 2.7.12-1ubuntu0~16.04.4), libpython2.7-stdlib (= 2.7.12-1ubuntu0~16.04.4), mime-support
Suggests: python2.7-doc, binutils
Conflicts: python-profiler (<= 2.7.1-2), python-profiler:i386 (<= 2.7.1-2), python2.7:i386
Breaks: python-virtualenv (< 1.7.1.2-2~), vim-athena (< 2:7.3.547-4), vim-athena:i386 (< 2:7.3.547-4), vim-gnome (< 2:7.3.547-4), vim-gnome:i386 (< 2:7.3.547-4), vim-gtk (< 2:7.3.547-4), vim-gtk:i386 (< 2:7.3.547-4), vim-nox (<
        2:7.3.547-4), vim-nox:i386 (< 2:7.3.547-4), python-virtualenv:i386 (< 1.7.1.2-2~), python-virtualenv:arm64 (< 1.7.1.2-2~)
Replaces: python-profiler (<= 2.7.1-2), python-profiler:i386 (<= 2.7.1-2), python2.7-minimal (< 2.7.3-7~), python2.7-minimal:i386 (< 2.7.3-7~)
Provides: python2.7:any (= 2.7.12-1ubuntu0~16.04.4)
Description: Interactive high-level object-oriented language (version 2.7)
 Python is a high-level, interactive, object-oriented language. Its 2.7 version includes an extensive class library with lots of goodies for network programming, system administration, sounds and graphics.


dev@dev-robot-2:~$ python -V
Python 2.7.12

I can confirm that my device is in recovery mode properly (I check with lsusb and the
TX2-connected display doesn’t show Linux boot).

lsusb isn’t enough to check whether the Jetson system is correctly in recovery mode, although it is a pre-requisite for lsusb to show the Jetson device.

The reason is that when Tegra enters recovery mode, the first communication with the host is for Tegra to send some specific piece of data, without even waiting for the host to request it. Our tegrarcm tool expects waits this data to be sent when it first connects to Tegra. If Tegra doesn’t sent the data, tegrarcm times out. Once Tegra has sent the data the first time, it never sends it again, and there’s no way for the host to request it again. The only way for Tegra to send it again is to reset (or power off/on) Tegra. Thus, tegrarcm will always fail unless you reset Tegra (and entered recovery mode again) between invocations.

(Will take a look at your log file in detail in a minute…)

Looking at the log file in comment 20, it does seem like the very first read from the Tegra USB device timed out. The most likely cause is that something had previously communicated with Tegra between when it first entered recovery mode and when tegrarcm_v2 was run. Please try resetting or power cycling Tegra and re-entering recovery mode, then see if tegrarcm_v2 works as expected or not. If resetting Tegra and re-entering recovery mode doesn’t help, then something else is going on which I don’t understand.

hi, Dakow/carolyuu
sorry for late reply,

Looks you boot into recovery mode success!
At this time to flash image via sdkmanager, you got “SDK Manager - Could not detect target hardware” error message on SDK manager?
Please print screen and attache the logs, we can check issue first. Thanks!

In my case, there is no “SDK Manager - Could not detect target hardware” dialog
SDKM_logs_JetPack_4.2_Linux_for_Jetson_TX2_03292019_1448.zip (376 KB)

Hi s_ajisaka,

Are you completed initial setup process and select username/password for the Jetson system?
(Please plug-in HDMI cable to completed initial setup process)
After Jetson system boots to Linux desktop, try to install SDK components again.

Hi StephenWarren,

So now with resetting multiple times I get the UUID :

dev@dev-robot-2:~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra$ sudo ./bootloader/tegrarcm_v2 --uid
BR_CID: 0x81801001645102811c00000017fb0280

But, with resetting again and launching the flash command, I have a “never ending loop” during the command tegrarcm_v2 --isapplet and tegradevflash_v2 --iscpubl.
http://data.aidactif.fr/note/1118/raw/

Searching for this error, I found the usuals answers: don’t use a vm, check the host disk space, use another usb port, use ubuntu 16.04. None of them worked.

Thanks for your help!

Dakow,

I am not sure what’s happening in your case. Your log is identical to mine (except for timestamps and paths) right up to the invocation of “tegrarcm_v2 --isapplet”. For some reason, that is failing to communicate with Jetson even though the previous communication to download the board ID EEPROM worked perfectly.

Things to try:

  • Disconnect absolutely all HW from Jetson; leave nothing but the power cable and USB flashing cable installed.
  • Make sure you only press the recovery button when entering recovery mode (i.e. when resetting or power cycling Jetson); don’t leave it pressed after that.
  • Download a fresh copy of the the L4T SW from Jetson Download Center | NVIDIA Developer, re-extract it, and try flashing from that. Just maybe your current copy got corrupted on disk somehow?

If those don’t help, I don’t currently know what’s going on.

Hi Dakow,

Have you tried our suggestion at previous comments?
Any result can be shared?

Thanks

Hi kayccc,

I’ve tried and it didn’t work. So, I’ve filled a RMA with my supplier.

Hi everyone,

I have a similar problem.
Got a college project and somehow one of the TX1 we have crashed while installing some packages (pytorch). Now the TX1 wont boot, gets stuck while displaying the boot message logs with some “FAILED” indicators.
Im trying to flash it with the SDK Manager but I get the message:
“Could not detech Nvidia Jetson device connected to USB”
Tried the lsusb cmd in my host ubuntu pc but the “0955:7721” Nvidia Corp. doesnt show up.
Any help please? I suspect the cable I’m using isnt the correct one