# Driver orin flash failed

**URL:** <https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339>\
**Category:** DRIVE AGX Orin General\
**Tags:** drive-platform-setup\
**Created:** [March 16, 2023, 4:13pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339 "2023-03-16T16:13:25Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![user88818](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user88818](https://forums.developer.nvidia.com/u/user88818)\
**Post date:** [March 16, 2023, 4:13pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/1 "2023-03-16T16:13:25Z")

</div>

Please provide the following info (tick the boxes after creating this topic):  
**Software Version**  
[\*] DRIVE OS 6.0.6  
 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.2.10884  
 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

be able to upgrade and flash 6.0.5 multiple times before. either from sdkmanager or command line (bootburn.py).  
problem start from yesterday, trying to upgrade to 6.0.6. sdkm.log attached.

1. tried to install DRIVE OS 6.0.6 From SDKManager, flash failed.
2. power off/power on PC and Driver orin, Tried to install from SDK manager, still failed.
3. upgrade sdk manager to 1.9.2.10884, remove all downloaded file,and installedl package, then reinstall everything from SDK manager 1.9.2.10884. flash failed.
4. power off/power on PC and Driver orin, Tried to install from SDK manager, still failed.
5. Try upgrade from command line. “tools/flashtools/bootburn/bootburn.py -b p3710-10-s05 -B qspi” failed.

```auto
NvShell>tegrarecovery x1 on
Info: Executing cmd: tegrarecovery, argc: 2, args: x1 on
Command Executed
NvShell>tegrareset x1
Info: Executing cmd: tegrareset, argc: 1, args: x1
NvShell>ERROR: MCU_PLTFPWRMGR: Tegra Reset Request failed - Preconditons not met

```

 ![Screen Shot 2023-03-16 at 8.56.03 AM](https://global.discourse-cdn.com/nvidia/original/3X/b/a/ba95bd2831a5b3e0885e2b334622991ea31cdf1a.jpeg)

[sdkm.log](https://forums.developer.nvidia.com/uploads/short-url/mC1K99dnPYIMcuOMszwIUnDEjTl.log) (158.4 KB)

---

<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:** [March 16, 2023, 4:21pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/2 "2023-03-16T16:21:05Z")

</div>

Please provide us with the complete logs located at ~/.nvsdkm, including the driveinstaller.log file. Thanks.

---

<div class="post-metadata">

**Author:** ![user88818](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user88818](https://forums.developer.nvidia.com/u/user88818)\
**Post date:** [March 16, 2023, 4:51pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/4 "2023-03-16T16:51:50Z")

</div>

attached ~/.nvsdkm folder. thanks.  
[nvsdkm.tgz](https://forums.developer.nvidia.com/uploads/short-url/dSrTKoByiwuh7L3axN6F7gT5r2B.tgz) (223.5 KB)

---

<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:** [March 16, 2023, 5:52pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/5 "2023-03-16T17:52:35Z")

</div>

I noticed the following messages in your driveinstaller.log file. It appears that the flash process did not even start.  
Just to confirm, your devkit is still capable of powering on and running with DRIVE OS 6.0.5, is that correct?

> [2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [GetTegrasAssocWithAurix(507)] : Setting Tegra-A on hold…  
> [2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(475)] : Aurix command ‘tegrareset x1 h\n’ failed on 1 attempt  
> [2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(476)] : Resending command…  
> [2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(475)] : Aurix command ‘tegrareset x1 h\n’ failed on 2 attempt  
> [2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(476)] : Resending command…  
> [2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(475)] : Aurix command ‘tegrareset x1 h\n’ failed on 3 attempt  
> [2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(476)] : Resending command…  
> [2023-03-15 17:09:20,375 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(482)] : \*\*\*\* Aurix response \*\*\*\*  
> [2023-03-15 17:09:20,375 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(483)] : b’tegrareset x1 h\r\n’b’Info: Executing cmd: tegrareset, argc: 2, args: x1 h \r\n’b’NvShell\>ERROR: MCU\_PLTFPWRMGR: Tegra Reset Request failed - Preconditons not met \r\n’b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’’

---

<div class="post-metadata">

**Author:** ![user88818](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user88818](https://forums.developer.nvidia.com/u/user88818)\
**Post date:** [March 16, 2023, 6:02pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/6 "2023-03-16T18:02:11Z")

</div>

The 1st time, before I flash with SDK, I can login to DriveOS 6.0.5. from ssh or /dev/ttyACM0.  
after it failed. /dev/ttyACM0 no output, normally it will print kernel boot log.  
/dev/ttyACM1 works, but Cann’t enter recovery mode.

```auto
NvShell>tegrarecovery x1 on
Info: Executing cmd: tegrarecovery, argc: 2, args: x1 on
Command Executed
NvShell>tegrareset x1
Info: Executing cmd: tegrareset, argc: 1, args: x1
NvShell>ERROR: MCU_PLTFPWRMGR: Tegra Reset Request failed - Preconditons not met

```

from the log you posted. I found the same failure, check the last line.

```auto
[2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(476)] : Resending command…
[2023-03-15 17:09:20,375 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(482)] : ****Aurix response****
[2023-03-15 17:09:20,375 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(483)] : b’tegrareset x1 h\r\n’b’Info: Executing cmd: tegrareset, argc: 2, args: x1 h \r\n’b’
NvShell>ERROR: MCU_PLTFPWRMGR: Tegra Reset Request failed - Preconditons not met

```

---

<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:** [March 16, 2023, 6:17pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/7 "2023-03-16T18:17:06Z")

</div>

It seems like the system is currently unusable, is that correct? Our team is actively investigating the issue and we will provide an update as soon as possible.

---

<div class="post-metadata">

**Author:** ![user88818](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user88818](https://forums.developer.nvidia.com/u/user88818)\
**Post date:** [March 16, 2023, 6:22pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/8 "2023-03-16T18:22:21Z")

</div>

you are right. this system is unusable. we are currently using another drive orin to test 6.0.6 system hang issue.  
and that system was upgraded from 6.0.5 to 6.0.6 with SDKManager 1.9.2.10884. it went smoothly.

---

<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:** [March 16, 2023, 8:27pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/9 "2023-03-16T20:27:12Z")

</div>

Please provide the part number and the serial number of the devkit. Thanks.

---

<div class="post-metadata">

**Author:** ![user88818](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user88818](https://forums.developer.nvidia.com/u/user88818)\
**Post date:** [March 16, 2023, 9:24pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/11 "2023-03-16T21:24:28Z")

</div>

Hi I can’t find any label or number on the device. from log, I can found a BOARD SKU : 940-63710-0010-B00. I’m not sure if this help.  
I tried run `aurixreset`. I can boot to 6.0.5, and login to ubuntu now.  
and previous error gone. but flash failed.

```auto
NvShell>tegrarecovery x1 on
Info: Executing cmd: tegrarecovery, argc: 2, args: x1 on
Command Executed
NvShell>tegrareset
Info: Executing cmd: tegrareset, argc: 0, args:
NvShell>INFO: MCU_PLTFPWRMGR: Reseting
INFO: MCU_PLTFPWRMGR: VRS11 PG Monitoring disable ....
INFO: NVMCU_ORINPWRCTRL: Tegra x1 Boot Chain: A
MCU_FOH: SPI : E2E_P05Check Status : 7 : 0
ERROR: MCU_ERRHANDLER: McuFoh E2E Frame Error
INFO: MCU_PLTFPWRMGR: Tegra reset trigger is complete !
Command Executed
MCU_FOH: MCU FOH : Initiate SOC Error Pin Monitoring & SPI communication
MCU_FOH: Spi Transmit Started
MCU_FOH: SPI : E2E_P05Check Status : 7 : 0
MCU_FOH: SPI : E2E_P05Check Status : 7 : 0
INFO: SftyMon_IoHwAbs: PG_VRS11 monitoring started...
INFO: MCU_SWC_FanControl: max_rpm fan1 : 0
INFO: MCU_SWC_FanControl: maxrpm of fan1 has more than 50 percent deviation against rated maxrpm

```

---

<div class="post-metadata">

**Author:** ![user88818](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user88818](https://forums.developer.nvidia.com/u/user88818)\
**Post date:** [March 16, 2023, 9:43pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/12 "2023-03-16T21:43:25Z")

</div>

I attached new error log. after previous failure solved.  
[nvsdkm.tgz](https://forums.developer.nvidia.com/uploads/short-url/bmuK3vOeFE3baDS2hcMoeqooklo.tgz) (106.0 KB)

---

<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:** [March 16, 2023, 10:02pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/13 "2023-03-16T22:02:40Z")

</div>

It appears that the installation process might have been disrupted during the apt-get install. Have you tried using the same host system that was able to successfully flash DRIVE OS 6.0.6 for other devkits? Alternatively, you can try using the Docker container method outlined in the [guide](https://developer.nvidia.com/docs/drive/drive-os/6.0.6/public/drive-os-linux-installation/common/topics/installation/docker-ngc/install-drive-os-linux-docker-from-ngc-devzone.html).

> 14:17:21.702 - info: NV\_DRIVE\_MASTER\_DEB\_SDK\_COMP@DRIVE\_AGX\_ORIN\_DEVKITS: exec\_command: sudo apt-get update; sleep 0.5; sudo -E apt-get -y --allow-downgrades --allow-downgrades install nv-driveos-build-sdk-linux-6.0.6.0-32443318=6.0.6\*  
> …  
> 14:21:23.246 - info: NV\_DRIVE\_MASTER\_DEB\_SDK\_COMP@DRIVE\_AGX\_ORIN\_DEVKITS: Errors were encountered while processing:  
> 14:21:23.246 - info: NV\_DRIVE\_MASTER\_DEB\_SDK\_COMP@DRIVE\_AGX\_ORIN\_DEVKITS: nv-driveos-linux-initramfs-6.0.6.0-32441545  
> 14:21:23.247 - info: NV\_DRIVE\_MASTER\_DEB\_SDK\_COMP@DRIVE\_AGX\_ORIN\_DEVKITS: nv-driveos-linux-oss-src-6.0.6.0-32441545  
> 14:21:23.247 - info: NV\_DRIVE\_MASTER\_DEB\_SDK\_COMP@DRIVE\_AGX\_ORIN\_DEVKITS: nv-driveos-build-sdk-linux-6.0.6.0-32443318  
> 14:21:30.675 - error: NV\_DRIVE\_MASTER\_DEB\_SDK\_COMP@DRIVE\_AGX\_ORIN\_DEVKITS: E: Sub-process /usr/bin/dpkg returned an error code (1)  
> 14:21:30.676 - info: Event: NV\_DRIVE\_MASTER\_DEB\_SDK\_COMP@DRIVE\_AGX\_ORIN\_DEVKITS - error is: E: Sub-process /usr/bin/dpkg returned an error code (1)  
> 14:21:30.682 - info: NV\_DRIVE\_MASTER\_DEB\_SDK\_COMP@DRIVE\_AGX\_ORIN\_DEVKITS: [Package Install Finished with Error]  
> 14:21:30.682 - info: NV\_DRIVE\_MASTER\_DEB\_SDK\_COMP@DRIVE\_AGX\_ORIN\_DEVKITS: [host] [4.22 GB used. Disk Avail: 28.99 GB]  
> 14:21:30.683 - info: NV\_DRIVE\_MASTER\_DEB\_SDK\_COMP@DRIVE\_AGX\_ORIN\_DEVKITS: [NV\_DRIVE\_MASTER\_DEB\_SDK\_COMP Install took 5m22s]  
> 14:21:30.683 - info: NV\_DRIVE\_MASTER\_DEB\_SDK\_COMP@DRIVE\_AGX\_ORIN\_DEVKITS:  
> 14:21:30.698 - error: command error code: 48

---

<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:** [March 16, 2023, 10:04pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/14 "2023-03-16T22:04:09Z")

</div>

Do you have any insights into why tegrareset is now working?

---

<div class="post-metadata">

**Author:** ![user88818](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user88818](https://forums.developer.nvidia.com/u/user88818)\
**Post date:** [March 16, 2023, 10:05pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/15 "2023-03-16T22:05:04Z")

</div>

that host is not physically located in my office.  
I will try to reinstall everything.

---

<div class="post-metadata">

**Author:** ![user88818](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user88818](https://forums.developer.nvidia.com/u/user88818)\
**Post date:** [March 16, 2023, 10:06pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/16 "2023-03-16T22:06:08Z")

</div>

After I ran this command, then it went back to normal

```auto
sudo minicom -w -D /dev/ttyACM1
aurixreset

```

---

<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:** [March 16, 2023, 10:22pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/17 "2023-03-16T22:22:13Z")

</div>

Weren’t you previously unable to manually enter the system’s recovery mode as following log?

> [@user88818](#):
>
> ```auto
> NvShell>tegrarecovery x1 on
> Info: Executing cmd: tegrarecovery, argc: 2, args: x1 on
> Command Executed
> NvShell>tegrareset x1
> Info: Executing cmd: tegrareset, argc: 1, args: x1
> NvShell>ERROR: MCU_PLTFPWRMGR: Tegra Reset Request failed - Preconditons not met
> 
> ```

---

<div class="post-metadata">

**Author:** ![user88818](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user88818](https://forums.developer.nvidia.com/u/user88818)\
**Post date:** [March 16, 2023, 10:27pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/18 "2023-03-16T22:27:11Z")

</div>

I always got following error before, and ubuntu not boot. no output on /dev/ttyACM0

```auto
NvShell>tegrarecovery x1 on
Info: Executing cmd: tegrarecovery, argc: 2, args: x1 on
Command Executed
NvShell>tegrareset x1
Info: Executing cmd: tegrareset, argc: 1, args: x1
NvShell>ERROR: MCU_PLTFPWRMGR: Tegra Reset Request failed - Preconditons not met

```

after I typed `aurixreset` it went normal. and ubuntu can boot.

BTW: is there a command I can force sdkmanager redownload, and reinstall everything?

---

<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:** [March 16, 2023, 10:53pm UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/19 "2023-03-16T22:53:06Z")

</div>

I would recommend flashing the devkit using the Docker container method, which will allow you to avoid any potential host system issues.

---

<div class="post-metadata">

**Author:** ![kayccc](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kayccc/32/14043_2.png) [@kayccc](https://forums.developer.nvidia.com/u/kayccc)\
**Post date:** [April 20, 2023, 3:07am UTC](https://forums.developer.nvidia.com/t/driver-orin-flash-failed/246339/21 "2023-04-20T03:07:09Z")

</div>

Closed on April 20, 2023, 3:07am UTC


