# Nvidia AGX Orin Flashing Issues

**URL:** <https://forums.developer.nvidia.com/t/nvidia-agx-orin-flashing-issues/239069>\
**Category:** DRIVE AGX Orin General\
**Tags:** drive-platform-setup\
**Created:** [January 9, 2023, 6:17pm UTC](https://forums.developer.nvidia.com/t/nvidia-agx-orin-flashing-issues/239069 "2023-01-09T18:17:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonardo-MAI](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Leonardo-MAI](https://forums.developer.nvidia.com/u/Leonardo-MAI)\
**Post date:** [January 9, 2023, 6:17pm UTC](https://forums.developer.nvidia.com/t/nvidia-agx-orin-flashing-issues/239069/1 "2023-01-09T18:17:58Z")

</div>

**Software Version**  
 DRIVE OS 6.0.5  
 DRIVE OS 6.0.4 (rev. 1)  
 DRIVE OS 6.0.4 SDK  
 other

**Target Operating System**  
 Linux  
 QNX  
 other

**Hardware Platform**  
 DRIVE AGX Orin Developer Kit (940-63710-0010-D00)  
 DRIVE AGX Orin Developer Kit (940-63710-0010-C00)  
 DRIVE AGX Orin Developer Kit (not sure its number)  
 other

**SDK Manager Version**  
 1.9.0.10816  
 other

**Host Machine Version**  
 native Ubuntu Linux 20.04 Host installed with SDK Manager  
 native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers  
 native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers  
 other

Hi,

I am experiencing a new issue in flashing with SDKm, I attach the logs for your reference,

Kind regards  
[SDKM\_logs\_DRIVE\_OS\_6.0.5\_SDK\_Linux\_for\_DRIVE\_AGX\_Orin\_DevKits\_2023-01-09\_19-02-48.zip](https://forums.developer.nvidia.com/uploads/short-url/xi0QnHjkFYgH6nxiduc8DzGZvR8.zip) (3.0 MB)

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [January 9, 2023, 9:34pm UTC](https://forums.developer.nvidia.com/t/nvidia-agx-orin-flashing-issues/239069/2 "2023-01-09T21:34:47Z")

</div>

Hi @Leonardo-MAI  
What’s different from [Nvidia DRIVE AGX Orin Flash](https://forums.developer.nvidia.com/t/nvidia-drive-agx-orin-flash/238538)? Please refer to below from [DRIVE OS 6.0.5 Linux Release Notes](https://developer.nvidia.com/drive/secure/drive-sdk/docs/nvidia_drive_os_6.0.5.0_linux_release_notes.pdf), especially the USB 2.0 port one.  
 ![image](https://global.discourse-cdn.com/nvidia/original/3X/b/6/b6591b5916c19d1a5ec1e5b3da4cae3e044c01e1.png)

In the meantime, please try flashing with docker (mentioned in [Installation Methods](https://developer.nvidia.com/docs/drive/drive-os/latest/common/public/installation/common/topics/installation/install-methods/install-devzone.html)) to exclude any your host environment problems.

---

<div class="post-metadata">

**Author:** ![Leonardo-MAI](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Leonardo-MAI](https://forums.developer.nvidia.com/u/Leonardo-MAI)\
**Post date:** [January 10, 2023, 2:19pm UTC](https://forums.developer.nvidia.com/t/nvidia-agx-orin-flashing-issues/239069/4 "2023-01-10T14:19:20Z")

</div>

I don’t have that error log saved, but actually using flashing with the docker worked fine so I assume it was an environment problem on my host machine as you said.

Thank you

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [January 10, 2023, 5:11pm UTC](https://forums.developer.nvidia.com/t/nvidia-agx-orin-flashing-issues/239069/5 "2023-01-10T17:11:44Z")

</div>

According to your logs, the ADB connection is lost during the transfer.  
We suspect it’s related to the USB 3.0 SS known issue but I have no idea why docker flashing worked for you.

> [bootburnTegra-A]: [AdbPush(289)] : Push file via ADB to target destination^M  
> [bootburnTegra-A]: [executeShellCommand(149)] : command = /home/leonardo/nvidia/nvidia\_sdk/DRIVE\_OS\_6.0.5\_SDK\_Linux\_DRIVE\_AGX\_ORIN\_DEVKITS/DRIVEOS/drive-foundation/tools/flashtools/flash/adb -s 8S2TQ815O000008FU0A0 push /home/leonardo/nvidia/nvidia\_sdk/DRIVE\_OS\_6.0.5\_SDK\_Linux\_DRIVE\_AGX\_ORIN\_DEVKITS/DRIVEOS/drive-foundation/tools/flashtools/bootburn\_t23x\_py/\_\_temp\_t234/Tegra-A-d54eac7f704/flash-images/2500000.ufshci:0\_127 /tmp^M  
> cwd = /home/leonardo/nvidia/nvidia\_sdk/DRIVE\_OS\_6.0.5\_SDK\_Linux\_DRIVE\_AGX\_ORIN\_DEVKITS/DRIVEOS/drive-foundation/tools/flashtools/bootburn\_t23x\_py/\_\_temp\_t234/Tegra-A-d54eac7f704/flash-images^M  
> [bootburnTegra-A]: [executeShellCommand(156)] : ^M  
> [bootburnTegra-A]: [executeShellCommand(164)] : shell command – /home/leonardo/nvidia/nvidia\_sdk/DRIVE\_OS\_6.0.5\_SDK\_Linux\_DRIVE\_AGX\_ORIN\_DEVKITS/DRIVEOS/drive-foundation/tools/flashtools/flash/adb -s 8S2TQ815O000008FU0A0 shell /tmp/wr\_sh.sh /tmp/nvdd --inputbin=/tmp/3460000.sdhci\_6 --partsize 10485760 --device /dev/block/3460000.sdhci --startoffset=30883184640 -a failed^M  
> [bootburnTegra-A]: [executeShellCommand(156)] : ^M  
> [bootburnTegra-A]: [executeShellCommand(164)] : shell command – /home/leonardo/nvidia/nvidia\_sdk/DRIVE\_OS\_6.0.5\_SDK\_Linux\_DRIVE\_AGX\_ORIN\_DEVKITS/DRIVEOS/drive-foundation/tools/flashtools/flash/adb -s 8S2TQ815O000008FU0A0 push /home/leonardo/nvidia/nvidia\_sdk/DRIVE\_OS\_6.0.5\_SDK\_Linux\_DRIVE\_AGX\_ORIN\_DEVKITS/DRIVEOS/drive-foundation/tools/flashtools/bootburn\_t23x\_py/\_\_temp\_t234/Tegra-A-d54eac7f704/flash-images/3460000.sdhci\_8 /tmp failed^M  
> [bootburnTegra-A]: [AdbShell(277)] : ^M  
> [bootburnTegra-A]: [executeShellCommand(166)] : Output: b’adb: error: connect failed: closed\n’^M  
> [bootburnTegra-A]: [AdbShell(277)] : ^M  
> [bootburnTegra-A]: [executeShellCommand(166)] : Output: b’error: closed\n’^M  
> [bootburnTegra-A]: [executeShellCommand(164)] : shell command – /home/leonardo/nvidia/nvidia\_sdk/DRIVE\_OS\_6.0.5\_SDK\_Linux\_DRIVE\_AGX\_ORIN\_DEVKITS/DRIVEOS/drive-foundation/tools/flashtools/flash/adb -s 8S2TQ815O000008FU0A0 push /home/leonardo/nvidia/nvidia\_sdk/DRIVE\_OS\_6.0.5\_SDK\_Linux\_DRIVE\_AGX\_ORIN\_DEVKITS/DRIVEOS/drive-foundation/tools/flashtools/bootburn\_t23x\_py/\_\_temp\_t234/Tegra-A-d54eac7f704/flash-images/2500000.ufshci:0\_127 /tmp failed^M  
> [bootburnTegra-A]: [AdbShell(280)] : EXITCODE = 0^M  
> [bootburnTegra-A]: [executeShellCommand(168)] : Return code: 1^M  
> [bootburnTegra-A]: [executeShellCommand(149)] : command = /home/leonardo/nvidia/nvidia\_sdk/DRIVE\_OS\_6.0.5\_SDK\_Linux\_DRIVE\_AGX\_ORIN\_DEVKITS/DRIVEOS/drive-foundation/tools/flashtools/flash/adb -s 8S2TQ815O000008FU0A0 shell /tmp/wr\_sh.sh rm /tmp/C\_1\_PT.bin^M  
> cwd = /home/leonardo/nvidia/nvidia\_sdk/DRIVE\_OS\_6.0.5\_SDK\_Linux\_DRIVE\_AGX\_ORIN\_DEVKITS/DRIVEOS/drive-foundation/tools/flashtools/bootburn\_t23x\_py/\_\_temp\_t234/Tegra-A-d54eac7f704/flash-images^M  
> [bootburnTegra-A]: [executeShellCommand(166)] : Output: b’adb: error: connect failed: closed\n’^M  
> [bootburnTegra-A]: [AdbShell(280)] : EXITCODE = 0^M  
> [bootburnTegra-A]: [executeShellCommand(170)] : stdout: b’adb: error: connect failed: closed\n’^M  
> [bootburnTegra-A]: [executeShellCommand(168)] : Return code: 1^M  
> [bootburnTegra-A]: [executeShellCommand(172)] : stderr: None^M  
> [bootburnTegra-A]: [executeShellCommand(168)] : Return code: 1^M  
> [bootburnTegra-A]: [executeShellCommand(149)] : command = /home/leonardo/nvidia/nvidia\_sdk/DRIVE\_OS\_6.0.5\_SDK\_Linux\_DRIVE\_AGX\_ORIN\_DEVKITS/DRIVEOS/drive-foundation/tools/flashtools/flash/adb -s 8S2TQ815O000008FU0A0 shell /tmp/wr\_sh.sh rm /tmp/2500000.ufshci:0\_125^M  
> cwd = /home/leonardo/nvidia/nvidia\_sdk/DRIVE\_OS\_6.0.5\_SDK\_Linux\_DRIVE\_AGX\_ORIN\_DEVKITS/DRIVEOS/drive-foundation/tools/flashtools/bootburn\_t23x\_py/\_\_temp\_t234/Tegra-A-d54eac7f704/flash-images^M  
> [bootburnTegra-A]: [executeShellCommand(170)] : stdout: b’error: closed\n’^M  
> [bootburnTegra-A]: [AdbPush(301)] : [AdbPush] failed retrying…^M

If you are still able to reproduce the issue with sdkmanager, please replug in USB cable, share the log from host (below is an example for USB detected as 2.0) and flash again.

> [3121318.444259] usb 1-9.3: Product: APX  
> [3121318.444264] usb 1-9.3: Manufacturer: NVIDIA Corp.  
> [3121321.959954] usb 1-9.3: USB disconnect, device number 27  
> [3121329.351151] usb 1-9.3: **new high-speed USB device** number 28 using xhci\_hcd  
> [3121329.456856] usb 1-9.3: New USB device found, idVendor=0955, idProduct=7100, bcdDevice= 5.10  
> [3121329.456869] usb 1-9.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3

---

<div class="post-metadata">

**Author:** ![Leonardo-MAI](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Leonardo-MAI](https://forums.developer.nvidia.com/u/Leonardo-MAI)\
**Post date:** [January 11, 2023, 10:14am UTC](https://forums.developer.nvidia.com/t/nvidia-agx-orin-flashing-issues/239069/6 "2023-01-11T10:14:19Z")

</div>

> [@VickNV](#):
>
> USB

Here is the Error Log printed in the SDK Manager Terminal

```auto
10:54:41 SUMMARY: CUDA on Host - host: Install completed successfully.

10:54:41 SUMMARY: CUDA Cross-Compile for Linux - host: Install completed successfully.

10:54:41 SUMMARY: cuDNN x86 - host: Install completed successfully.

10:54:41 SUMMARY: cuDNN Cross-Compile for Linux - host: Install completed successfully.

10:54:41 SUMMARY: TensorRT x86 - host: Install completed successfully.

10:54:41 SUMMARY: TensorRT Cross-Compile for Linux - host: Install completed successfully.

10:54:41 SUMMARY: DriveWorks x86 - host: Install completed successfully.

10:54:41 SUMMARY: DriveWorks Cross-Compile for Linux - host: Install completed successfully.

10:54:41 SUMMARY: Nsight Graphics - host: Install completed successfully.

10:54:41 SUMMARY: Nsight Systems - host: Install completed successfully.

10:54:41 SUMMARY: DRIVE OS SDK Master Deb - target_image: Install completed successfully.

10:54:41 SUMMARY: 3663 Specific Package - target_image: Install completed successfully.

10:54:41 SUMMARY: Vulkan Packages - target_image: Install completed successfully.

10:54:41 SUMMARY: 3710 Specific Package - target_image: Install completed successfully.

10:54:41 SUMMARY: Flash Tools - target_image: Install completed successfully.

10:54:41 SUMMARY: File System - desktop - target_image: Install completed successfully.

10:54:43 SUMMARY: DRIVE Foundation OSS Packages - target_image: Install completed successfully.

11:04:18 ERROR: Flash DRIVE OS - flash: [bootburnTegra-A]: [executeShellCommand(166)] : Output: b'adb: error: connect failed: closed\n'

11:04:18 ERROR: Flash DRIVE OS - flash: [bootburnTegra-A]: [executeShellCommand(170)] : stdout: b'adb: error: connect failed: closed\n'

11:04:18 ERROR: Flash DRIVE OS - flash: [bootburnTegra-A]: [executeShellCommand(166)] : Output: b"adb: error: failed to get feature set: device '8S2TQ815O000008FU0A0' not found\n"

11:04:18 ERROR: Flash DRIVE OS - flash: [bootburnTegra-A]: [executeShellCommand(170)] : stdout: b"adb: error: failed to get feature set: device '8S2TQ815O000008FU0A0' not found\n"

11:04:19 ERROR: Flash DRIVE OS - flash: [bootburnTegra-A]: [executeShellCommand(166)] : Output: b"adb: error: failed to get feature set: device '8S2TQ815O000008FU0A0' not found\n"

11:04:19 ERROR: Flash DRIVE OS - flash: [bootburnTegra-A]: [executeShellCommand(170)] : stdout: b"adb: error: failed to get feature set: device '8S2TQ815O000008FU0A0' not found\n"

11:04:19 ERROR: Flash DRIVE OS - flash: command terminated with error

**11:04:19 SUMMARY: Flash DRIVE OS - flash: First Error: Installation failed.**

```

The exportable logs:  
[SDKM\_logs\_DRIVE\_OS\_6.0.5\_SDK\_Linux\_for\_DRIVE\_AGX\_Orin\_DevKits\_2023-01-11\_10-54-38.zip](https://forums.developer.nvidia.com/uploads/short-url/aY4XMxa08f429ZN6pDsIfK4o1HN.zip) (2.6 MB)

But using docker the flashing works.

Kind regards,  
Leonardo

---

<div class="post-metadata">

**Author:** ![Leonardo-MAI](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Leonardo-MAI](https://forums.developer.nvidia.com/u/Leonardo-MAI)\
**Post date:** [January 11, 2023, 10:33am UTC](https://forums.developer.nvidia.com/t/nvidia-agx-orin-flashing-issues/239069/7 "2023-01-11T10:33:31Z")

</div>

For reference, these are also the outputs from the docker flashing:

```auto
root@6.0.5.0-0003-build-linux-sdk:/drive# ./flash.sh /dev/ttyACM1 p3710
Executing bind + flash
[Tegra-A]: Flashing Images
Successfully flashed target
See full log here: /drive_flashing/log_1927248f7cc05f144d12a336424b5399.txt

```

And the log:  
[log\_1927248f7cc05f144d12a336424b5399.txt](https://forums.developer.nvidia.com/uploads/short-url/aTJ4EeAb6JxzppN1Wwufxu1fJbG.txt) (476.9 KB)

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [January 25, 2023, 10:33am UTC](https://forums.developer.nvidia.com/t/nvidia-agx-orin-flashing-issues/239069/8 "2023-01-25T10:33:42Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
