Flashing Jetson TX2 with NVidia SDK manager error:

Hi.

I need to flash my Jetson TX2 and I encountered the next issue when following the tutorials with NVidia SDK Manager.

   14:07:00 INFO: VPI on Target: verifying checksum of /home/patrick    /Downloads/nvidia/sdkm_downloads/vpi-lib-1.0.12-cuda10-aarch64-l4t.deb
14:07:00 INFO: VPI on Target: verifying checksum of /home/patrick/Downloads/nvidia/sdkm_downloads/vpi-dev-1.0.12-cuda10-aarch64-l4t.deb
14:07:00 INFO: VPI on Target: verifying checksum of /home/patrick/Downloads/nvidia/sdkm_downloads/vpi-samples-1.0.12-cuda10-aarch64-l4t.deb
14:07:00 INFO: VPI on Target: verifying checksum of /home/patrick/Downloads/nvidia/sdkm_downloads/vpi-demos-1.0.12-cuda10-aarch64-l4t.deb
14:07:00 INFO: cuDNN on Target: start to download https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/libcudnn8_8.0.0.180-1+cuda10.2_arm64.deb to /home/patrick/Downloads/nvidia/sdkm_downloads/libcudnn8_8.0.0.180-1+cuda10.2_arm64.deb
14:07:00 DEBUG: command terminated with error
14:07:00 INFO: Only one NVIDIA device detected, as expected.
14:07:00 INFO: Start to check if in device recovery mode...
14:07:00 DEBUG: running command < true >
14:07:00 INFO: command finished successfully
14:07:00 DEBUG: running command < lsusb | grep 0955:7020 >
14:07:00 INFO: VPI on Target: Found file /home/patrick/Downloads/nvidia/sdkm_downloads/vpi-samples-1.0.12-cuda10-aarch64-l4t.deb with correct checksum, skip downloading.
14:07:00 INFO: cuDNN on Target: start to download https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/libcudnn8-dev_8.0.0.180-1+cuda10.2_arm64.deb to /home/patrick/Downloads/nvidia/sdkm_downloads/libcudnn8-dev_8.0.0.180-1+cuda10.2_arm64.deb
14:07:00 INFO: cuDNN on Target: verifying checksum of /home/patrick/Downloads/nvidia/sdkm_downloads/libcudnn8-doc_8.0.0.180-1+cuda10.2_arm64.deb
14:07:00 INFO: TensorRT on Target: start to download https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvinfer-dev_7.1.3-1+cuda10.2_arm64.deb to /home/patrick/Downloads/nvidia/sdkm_downloads/libnvinfer-dev_7.1.3-1+cuda10.2_arm64.deb
14:07:00 INFO: TensorRT on Target: start to download https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvinfer-plugin7_7.1.3-1+cuda10.2_arm64.deb to /home/patrick/Downloads/nvidia/sdkm_downloads/libnvinfer-plugin7_7.1.3-1+cuda10.2_arm64.deb
14:07:00 DEBUG: command terminated with error
14:07:00 INFO: Jetson device is in recovery mode.
14:07:00 INFO: Start to check if the right device connected...
14:07:00 DEBUG: running command < true >
14:07:00 INFO: command finished successfully
14:07:00 DEBUG: running command < lsusb | grep 0955:7c18 >
14:07:00 INFO: cuDNN on Target: Found file /home/patrick/Downloads/nvidia/sdkm_downloads/libcudnn8-doc_8.0.0.180-1+cuda10.2_arm64.deb with correct checksum, skip downloading.
14:07:01 INFO: TensorRT on Target: start to download https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvinfer-plugin-dev_7.1.3-1+cuda10.2_arm64.deb to /home/patrick/Downloads/nvidia/sdkm_downloads/libnvinfer-plugin-dev_7.1.3-1+cuda10.2_arm64.deb
14:07:01 INFO: command finished successfully
14:07:01 INFO: Verified, 0955:7c18 detected in recovery mode.
14:07:01 DEBUG: running command < true >
14:07:01 INFO: command finished successfully
14:07:01 DEBUG: Device Mode Host Setup in Flash: using adapter to install NV_DEVICE_MODE_SETUP_IMAGE_COMP@JETSON_TX2 to
14:07:01 INFO: Device Mode Host Setup in Flash: Found route default enp0s3, setting up device mode
14:07:01 INFO: Device Mode Host Setup in Flash: net.ipv4.ip_forward = 1
14:07:01 INFO: Device Mode Host Setup in Flash: command finished successfully
14:07:01 SUMMARY: Device Mode Host Setup in Flash: Install completed successfully.
14:07:01 DEBUG: running command < true >
14:07:01 INFO: command finished successfully
14:07:01 DEBUG: Flash Jetson TX2: using adapter to install NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP@JETSON_TX2 to
14:07:01 INFO: Flash Jetson TX2: sudo ./nvautoflash.sh
14:07:01 INFO: Flash Jetson TX2: *** Checking ONLINE mode ... OK.
14:07:01 INFO: Flash Jetson TX2: *** Checking target board connection ... 1 connections found.
14:07:01 INFO: Flash Jetson TX2: /home/patrick/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_TX2/Linux_for_Tegra/flash.sh jetson-tx2-devkit mmcblk0p1
14:07:01 INFO: Flash Jetson TX2: ###############################################################################
14:07:07 INFO: Flash Jetson TX2: *** ERROR: flashing failed.
14:07:07 ERROR: Flash Jetson TX2: command terminated with error
14:07:11 SUMMARY: NVIDIA Nsight Systems: Depends on failed component
14:07:12 INFO: TensorRT on Target: stopped downloading https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvinfer-plugin-dev_7.1.3-1+cuda10.2_arm64.deb
14:11:46 SUMMARY: NVIDIA Nsight Systems: Install completed successfully.
14:13:30 SUMMARY: Drivers for Jetson: Install completed successfully.
14:24:13 SUMMARY: File System and OS: Install completed successfully.
14:24:14 SUMMARY: Device Mode Host Setup in Flash: Install completed successfully.
14:24:22 SUMMARY: NVIDIA Nsight Systems: Depends on failed component

I am using the version 1.4.0.7363 SDK Manager. And I got the same error trying to flash it with JetPack 4.4 and 4.5.

Not sure if it has anything to do, but in order to flash it I am connecting it to a VM running ubuntu 18.04 (since my personal computer is running n 20.04) The device is been recognize in the Step 01 without any issues.

FYI, technically a VM is not supported, but can be made to work. The problem is that the USB repeatedly disconnects and reconnects during a flash. The parent o/s might grab the USB upon reconnect and never give it to the guest o/s. You’d have to make sure the USB is 100% owned by the guest o/s regardless of how much it disconnects/reconnect.

Ok, thanks. after 5-6h trying to make it work I scrapped an old laptop and installed Ubuntu 18.04. Worked without any issues. Haven’t seen a warning in their documentation, but this would be quite helpful information for future developers.