# Error during flashing DRIVE OS

**URL:** <https://forums.developer.nvidia.com/t/error-during-flashing-drive-os/299918>\
**Category:** DRIVE AGX Orin General\
**Tags:** drive-platform-setup\
**Created:** [July 15, 2024, 11:51pm UTC](https://forums.developer.nvidia.com/t/error-during-flashing-drive-os/299918 "2024-07-15T23:51:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wooseok.won](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@wooseok.won](https://forums.developer.nvidia.com/u/wooseok.won)\
**Post date:** [July 15, 2024, 11:52pm UTC](https://forums.developer.nvidia.com/t/error-during-flashing-drive-os/299918/1 "2024-07-15T23:52:00Z")

</div>

Please provide the following info (tick the boxes after creating this topic):  
**Software Version**  
[v] DRIVE OS 6.0.8.1  
 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**  
[v] Linux  
 QNX  
 other

**Hardware Platform**  
 DRIVE AGX Orin Developer Kit (940-63710-0010-300)  
 DRIVE AGX Orin Developer Kit (940-63710-0010-200)  
 DRIVE AGX Orin Developer Kit (940-63710-0010-100)  
[v] 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.3.10904  
[v] other

**Host Machine Version**  
 native Ubuntu Linux 20.04 Host installed with SDK Manager  
[v] 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

Hello,  
I was able to login docker, and launch docker with the following instruction.  
`sudo docker run -it --privileged --net=host -v /dev/bus/usb:/dev/bus/usb -v /home/nvidia/ nvcr.io/drive/driveos-sdk/drive-agx-orin-linux-aarch64-sdk-build-x86:latest`

and then connect to the Orin thru  
`sudo docker run -it --privileged --net=host -v /dev/bus/usb:/dev/bus/usb -v /drive_flashing:/drive_flashing nvcr.io/drive/driveos-sdk/drive-agx-orin-linux-aarch64-sdk-build-x86:latest`

But I got failed after trying a flashing.

> root@6.0.8.1-0006-build-linux-sdk:/drive# ./flash.py /dev/ttyACM1 p3710  
> 2024-07-15 23:46:15 INFO : Flashing already set for dual bootchain  
> 2024-07-15 23:46:15 INFO : Flash clean already disabled for persistent partitions  
> 2024-07-15 23:46:15 INFO : Initiating pre-flash check  
> 2024-07-15 23:46:15 INFO : Checking Serial Port Connection  
> 2024-07-15 23:46:15 INFO : Serial Port found /dev/ttyACM1  
> 2024-07-15 23:46:15 INFO : Running basic open/close tests on Serial Port Connection  
> 2024-07-15 23:46:15 INFO : Serial Port is open  
> 2024-07-15 23:46:15 INFO : Flushing input and output buffer, discard all content  
> 2024-07-15 23:46:15 INFO : Serial Port is closed  
> 2024-07-15 23:46:15 INFO : Checking available targets  
> 2024-07-15 23:46:15 INFO : Checking Orin board connection  
> 2024-07-15 23:46:15 INFO : Orin board with Device ID – 0955:7045 found.  
> 2024-07-15 23:46:15 INFO : Orin board device path is /dev/bus/usb/003/014  
> 2024-07-15 23:46:15 INFO : Pre-flash check complete  
> 2024-07-15 23:46:15 INFO : Flashing DRIVE OS Docker  
> 2024-07-15 23:46:19 INFO : driveinstaller v2.0  
> 2024-07-15 23:46:19 INFO :  
> 2024-07-15 23:46:19 INFO : SDK/PDK Installer and Flasher  
> 2024-07-15 23:46:19 INFO : Run `./driveinstaller --help` for usage information.  
> 2024-07-15 23:46:19 INFO :  
> 2024-07-15 23:46:19 INFO : Initializing board and OS configuration to Autonomous vehicle p3710 Linux Tegra A  
> 2024-07-15 23:46:19 INFO : Manifest version 2.0  
> 2024-07-15 23:46:19 INFO :  
> 2024-07-15 23:46:19 INFO : Could not fetch board revision. Re-try either by re-connecting board or make sure all serial port processes such as minicom are closed.  
> 2024-07-15 23:46:19 INFO : Failed to bind partitions!  
> 2024-07-15 23:46:19 INFO : driveinstaller cannot continue! Check the log file for details: /drive/driveinstaller/driveinstaller.log  
> 2024-07-15 23:46:19 ERROR : Flashing failed, please contact provider with logs /drive\_flashing/log\_rtadyjg4i0p9wuo3b76kqvh8mfex1lzc.txt and /drive/driveinstaller/driveinstaller.log.

Here is the log file.  
[driveinstaller.log](https://forums.developer.nvidia.com/uploads/short-url/lpbFl07KFeJI5mZQOdsHf4t96XM.log) (675.9 KB)

 ![Image_20240715_164815](https://global.discourse-cdn.com/nvidia/original/4X/b/6/d/b6d33a8ac532988437efc0fc0684464e95e92385.jpeg)

I have tried

1. re-connect all cables btw host pc and Orin
2. power cycle for the Orin
3. Aurix console

```auto
    tegrarecovery x1 on
    tegrareset x1

```

1. Aurix console

```auto
    tegrarecovery x1 off
    tegrareset x1

```

---

<div class="post-metadata">

**Author:** ![SivaRamaKrishnaNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/sivaramakrishnanv/32/14043_2.png) [@SivaRamaKrishnaNV](https://forums.developer.nvidia.com/u/SivaRamaKrishnaNV)\
**Post date:** [July 16, 2024, 1:25am UTC](https://forums.developer.nvidia.com/t/error-during-flashing-drive-os/299918/3 "2024-07-16T01:25:09Z")

</div>

> [@wooseok.won](#):
>
> 2024-07-15 23:46:19 INFO : Could not fetch board revision. Re-try either by re-connecting board or make sure all serial port processes such as minicom are closed.

Dear @wooseok.won

1. Can you share the host target connections picture
2. Please check rebooting host/target to make sure serial connections are closed.
3. Check changing the connection wires to see if it fixes the issue.

---

<div class="post-metadata">

**Author:** ![wooseok.won](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@wooseok.won](https://forums.developer.nvidia.com/u/wooseok.won)\
**Post date:** [July 16, 2024, 5:29pm UTC](https://forums.developer.nvidia.com/t/error-during-flashing-drive-os/299918/4 "2024-07-16T17:29:24Z")

</div>

Dear @SivaRamaKrishnaNV  
It worked after reboot my host pc.  
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:** [August 9, 2024, 2:54am UTC](https://forums.developer.nvidia.com/t/error-during-flashing-drive-os/299918/6 "2024-08-09T02:54:58Z")

</div>

Closed on August 9, 2024, 2:54am UTC

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