SDK Manager tell me “Please connect the correct device to continue ” How to solve it ?

when i insttall SDK Manager ,it tell me “Please connect the correct device to continue ”.How can i solve it?

my service is JETSON TK1. and i really choose JETSON TK1 in SDK Manager

my tk1 version is r21.5

JetPack/SDK Manager runs on the host PC with Ubuntu. During the flash part of any install the micro-B USB cable is used, and the Jetson must be in recovery mode. A VM will often cause this to fail. Is the TK1 in recovery mode with the supplied micro-B USB cable connected? Is the host PC a VM or actual Ubuntu install?

My host is VM, and my TK1 in recovery mode with the micro-B USB cable connected,but this cable is not the supplied one. When i use “lsusb”,it show me “NVIDIA Crop”.

I want to konw whether TK1 can use SDK Manager to flash? Because i can’t find TK1 from “Target Hardware” in SDK Manager.It only show me TX1. And i can use jetpack 3.0 to recovery TK1?

The VM will only initially find the TK1 over micro-USB. VMs will lose that connection during flash, whereas a native install will always keep track each time USB is reset. You would have to give the device ownership to the VM under all circumstances. There is nothing the flash software can do if the VM does not have access to the USB at all times.

Many (most?) micro-B USB cables sold on the market are for USB charging, and data quality is not capable of sustained data transfer at rated speeds (there is significant difference between a cheap charger cable and an actual data cable). Even if you did not use a VM any micro-B USB cable not specifically designed for data is suspect. 100% of all “charger” micro-B USB cables will have only a minimal possibility of success. You may wish to try other cables as well.

The listing of JetPack releases is here:
https://developer.nvidia.com/embedded/jetpack-archive

As you will see, the 32-bit TK1 releases are not covered by any of the current JetPack releases. The JetPack3.1 release is the final release (in JetPack form) for a TK1. JetPack3.0 will work.

Just FYI, JetPack is just a front end to the flash tool, a.k.a., the “driver package” (the driver is what understands the TK1 as a custom USB device when in recovery mode). Command line flash has some newer releases than what is available via JetPack3.1. The actual flashed operating system is known as “Linux for Tegra” (“L4T”), and is Ubuntu with drivers added to it. You can check the most recent driver package/L4T here:
https://developer.nvidia.com/embedded/linux-tegra-archive
…where L4T R21.8 is available via command line flash. Note that this is only a patch change, and not an actual major upgrade. For this reason the JetPack3.1 optional packages are compatible with any L4T release between R21.5 and R21.8 (after flash a newly flashed TK1 reboots, and then extra package can be added…USB is no longer required for this since ssh over ethernet is used for those extra optional packages, e.g., CUDA).

Note that recovery mode itself does not change the TK1. Recovery mode just turns the TK1 into a custom USB device, and after this the driver package can flash. JetPack up to 3.0 is quite acceptable, although 3.1 is a better choice for most people. Lack of USB connection, or failure of USB data, is beyond the control of JetPack.

Normally a native Linux install is recommended for flashing. If unable to do so, then you’ll need to investigate setting up the VM to maintain ownership of recovery mode Jetson. Once that is working, if there are any issues, then you will need to probably check out other micro-B USB cables which are more than “charger” cables.

I’m glad you tell me this.But when i try to download JetPack 3.0,the webpage will jump to Jetson Download Center.I can’t download JetPack 3.0 finally. IS it mean that NVIDIA give up providing JetPack 3.0 and other older versions?

The JetPack3.0 page is here, and you are correct that the URL is missing the content:
https://developer.nvidia.com/embedded/jetpack-3_0

Someone from NVIDIA will want to get the 3.0 content added back into the downloads.

Note that JetPack3.1 seems to be available through the JetPack version listing URL, and the link for download for that release does work. It is 3.0 which is missing.

Meanwhile, know that JetPack3.0 and JetPack3.1 flash L4T version R21.5. The “extras”, e.g., CUDA, are what JetPack installs differently between those two releases. You can get to the command line flash through the L4T R21.5 URL (or better yet, the R21.8 URL):
https://developer.nvidia.com/linux-tegra-r215

Look for the “driver package” and “sample file system”. Unpack the driver package as a regular user, e.g.:

tar xvfj Tegra124_Linux_R21.5.0_armhf.tbz2

(there is documentation there which also shows this)

This will create a “Linux_for_Tegra/” subdirectory, and within that an empty “Linux_for_Tegra/rootfs/” directory. You will want to go to the “rootfs/” and unpack the sample file system as root (with sudo):

cd /where/ever/it/is/Linux_for_Tegra/rootfs/
sudo tar xvfj /where/ever/it/is/Tegra_Linux_Sample-Root-Filesystem_R21.5.0_armhf.tbz2

Next add the NVIDIA-specific drivers using sudo:

cd /where/ever/it/is/Linux_for_Tegra
sudo ./apply_binaries.sh

You are now ready to flash, and you do not need to repeat those steps in preparation again if you flash again.

With the TK1 in recovery mode and the micro-B USB connected:

sudo ./flash.sh jetson-tk1 mmcblk0p1

The R21.8 package is the same procedure if you choose to use that, and is compatible with the R21.5 extras, e.g., When JetPack3.0 or 3.1 is used for adding packages (but skipping flash), then you will be ok with R21.8 using those packages. This will get the operating system ready.

I try to download other JetPacks,but all these missing.I can’t download them! Except SDK Manager.

I know this way to install R21.5 and i succeed.

What i really want is install CUDA 6.5 and Tegra4OpenCV by JetPack because i failed with apt-get.
Although i changed several sources.
It show me :
E: Unable to locate package cuda-toolkit-6-5
E: Unable to locate package libopencv4tegra
E: Unable to locate package libopencv4tegra-dev

How can i solve this and install CUDA 6.5 and Tegra4OpenCV?
Can TK1 install other version?(CUDA and Tegra4OpenCV)

I try JetPack 2.1 3.0 3.1.(download from other websites)
But it will show me error in “installing” page.
This is the error :
3.1

Error occurs during installation.
Return Code: 1
Error accessing /_installer/sudo_daemon: No such file or directory
1
starting sudo daemon
sudo /_installer/sudo_daemon -installer=2801 -d=/_installer/tmp
sudo: no tty present and no askpass program specified

/_installer/run_command -c=“pgrep -f nv_info_broker | xargs kill -9” -d=/_installer/tmp
/bin/bash: /_installer/run_command: No such file or directory
/bin/bash: /_installer/tmp/jetpackfifo_req: No such file or directory
2020/02/13 07:14:40 dialing:dial tcp 127.0.0.1:33335: getsockopt: connection refused

3.0

Error occurs during installation.
Return Code: 1
Error accessing /_installer/sudo_daemon: No such file or directory
1
starting sudo daemon
sudo /_installer/sudo_daemon -installer=2681 -d=/_installer/tmp
sudo: no tty present and no askpass program specified

/_installer/run_command -c=“pgrep -f nv_info_broker | xargs kill -9” -d=/_installer/tmp
/bin/bash: /_installer/run_command: No such file or directory
/bin/bash: /_installer/tmp/jetpackfifo_req: No such file or directory
2020/02/13 07:29:07 dialing:dial tcp 127.0.0.1:33335: getsockopt: connection refused

2.1

Error occurs during installation.
Return Code: 1
Error accessing /_installer/sudo_daemon: No such file or directory
1
starting sudo daemon
sudo /_installer/sudo_daemon -installer=2843 -d=/_installer/tmp
sudo: no tty present and no askpass program specified

/_installer/run_command -c=“pgrep -f nv_info_broker | xargs kill -9” -d=/_installer/tmp
/bin/bash: /_installer/run_command: No such file or directory
/bin/bash: /_installer/tmp/jetpackfifo_req: No such file or directory
2020/02/13 07:36:40 dialing:dial tcp 127.0.0.1:33335: getsockopt: connection refused

Can i still use JetPack to install or you can give me some advice to solve this error?
Thanks for your help!

I too cannot download JetPack3.0 since it redirects to the Jetson downloads, and this in turn has no listing for JetPack 3.0. NVIDIA has been notified about the missing URL for JetPack 3.0 download, and hopefully this will be added back in soon (keep trying, and bump the thread when needed).

CUDA is one of the packages you can add through SDK Manager/JetPack. There is no download through “apt” since this is very hardware specific (and it looks like you are correct to use JetPack 3.0 since this provides CUDA 6.5).

After JetPack3.0 is added back in to the Jetson downloads, things may be complicated since those earlier JetPacks used a host PC running either Ubuntu 14.04 or Ubuntu 16.04. If you have Ubuntu 18.04 it may not work with that release. We’ll have to find out after the URL is restored. Until JetPack 3.0 is available for download there probably isn’t much sense in trying to figure out the other errors, but there are some extra packages to be added to the host PC in some cases.

It say that tk1 can’t install CUDA6.5 at present?
It ok to install CUDA6.0?

What are your specific requirements? Different software will have dependencies on different CUDA releases. As long as you are ok with that particular release, then you can install that. Just make sure the TK1 is flashed with the same release of JetPack used for the CUDA install.

No,one thing i want to do is running CUDA and opencv3.4 .

I do not personally know if CUDA 6.0 is compatible with OpenCV 3.4…someone else would need to answer that.

Thank you very much!