# Jetpack 4.3 Flash error for Jetson AGX Xavier via Linux VM

**URL:** <https://forums.developer.nvidia.com/t/jetpack-4-3-flash-error-for-jetson-agx-xavier-via-linux-vm/124278>\
**Category:** Jetson AGX Xavier\
**Tags:** reflash\
**Created:** [May 22, 2020, 12:09am UTC](https://forums.developer.nvidia.com/t/jetpack-4-3-flash-error-for-jetson-agx-xavier-via-linux-vm/124278 "2020-05-22T00:09:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eyshika](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Eyshika](https://forums.developer.nvidia.com/u/Eyshika)\
**Post date:** [May 22, 2020, 12:09am UTC](https://forums.developer.nvidia.com/t/jetpack-4-3-flash-error-for-jetson-agx-xavier-via-linux-vm/124278/1 "2020-05-22T00:09:32Z")

</div>

I am using Mac, and installed Ubuntu18.04 VM on Virtual Box for Mac to flash Jetpack.  
Downloaded the Jetpack 4.3 Developer preview and followed the command line steps from here: [https://developer.download.nvidia.com/assets/embedded/secure/jetson/JP%204.3%20DP/JetPack%204.3%20Developer%20Preview%20Installation%20Instructions.pdf?kyUvSeU369peI4KYMOVvI9DiXyUEjxhsfLcgF\_38-OB9i-x2YyX8ZNJ5EuoMHGLHQUiXcIIH5zAaVnuQOr5wnOsq2MN4UiFXRwmjNy8Gs8ueyOmCGohjEJKACRxVXfbYUvMBXcv6LiY\_kC2YMviE3I7js8mFM7rhvrCdhCUze-J7TGRYRSLpi8fuk5O-\_mt9ES\_PSrVAiOhkPzk1FIqO4uN7wLY26feFMEIxN5S6DGY](https://developer.download.nvidia.com/assets/embedded/secure/jetson/JP%204.3%20DP/JetPack%204.3%20Developer%20Preview%20Installation%20Instructions.pdf?kyUvSeU369peI4KYMOVvI9DiXyUEjxhsfLcgF_38-OB9i-x2YyX8ZNJ5EuoMHGLHQUiXcIIH5zAaVnuQOr5wnOsq2MN4UiFXRwmjNy8Gs8ueyOmCGohjEJKACRxVXfbYUvMBXcv6LiY_kC2YMviE3I7js8mFM7rhvrCdhCUze-J7TGRYRSLpi8fuk5O-_mt9ES_PSrVAiOhkPzk1FIqO4uN7wLY26feFMEIxN5S6DGY)  
on doing

`$ sudo ./flash.sh jetson-xavier mmcblk0p1`

it throws error and breaks the flash.  
Error:

`command tegraflash_v2 --pt flash.xml.bin --create`  
`Failed flashing t186ref`

Solution tried:

> 1. lsusb shows Nvidia Corp.
> 2. Installed python
> 3. Installed xmr
> 4. Jetson in recovery mode

Any help would be appreciated … I have tried it multiple times, using command line and sdk manager both but its breaking it both cases.

---

<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:** [May 22, 2020, 1:48am UTC](https://forums.developer.nvidia.com/t/jetpack-4-3-flash-error-for-jetson-agx-xavier-via-linux-vm/124278/2 "2020-05-22T01:48:32Z")

</div>

Hi Eyshika,

VMs are not supported by JetPack/SDK Manager, but you may refer to below topic to see if can help on your case:

> [@JetPack 4.X Install with a VM (Solved)](https://forums.developer.nvidia.com/t/jetpack-4-x-install-with-a-vm-solved/65160/6):
>
> An automation of creating a guest VM for macOS using VirtualBox + Vagrant + Ansible to run the NVIDIA SDK manager including a) automatically building a (custom) kernel and rootfs for Xaviers supporting Kubernetes b) flashing the Xavier from the CLI c) headless OEM setup of the Xavier after flashing … can be found here: [jetson/workflow/guest at master · helmut-hoffer-von-ankershoffen/jetson · GitHub](https://github.com/helmuthva/jetson/tree/master/workflow/guest) Have a look at [https://github.com/helmuthva/jetson](https://github.com/helmuthva/jetson) for the bigger picture. The procedure is …

---

<div class="post-metadata">

**Author:** ![Eyshika](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Eyshika](https://forums.developer.nvidia.com/u/Eyshika)\
**Post date:** [May 22, 2020, 3:54am UTC](https://forums.developer.nvidia.com/t/jetpack-4-3-flash-error-for-jetson-agx-xavier-via-linux-vm/124278/3 "2020-05-22T03:54:08Z")

</div>

Thank you for the reply. I am using the same method for VM and still getting error on flashing Jetson.

---

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [May 22, 2020, 8:36pm UTC](https://forums.developer.nvidia.com/t/jetpack-4-3-flash-error-for-jetson-agx-xavier-via-linux-vm/124278/4 "2020-05-22T20:36:34Z")

</div>

It is important to know that during a flash the USB repeatedly disconnects and reconnects. Even if you see the Jetson with lsusb prior to starting the flash a VM has a very high failure rate due to not reacquiring the USB reconnect. For this to work you would have to guarantee the host o/s never intercepts this and the Jetson is always passed to the VM no matter how often it reconnects.

---

<div class="post-metadata">

**Author:** ![Andrey1984](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/andrey1984/32/14130_2.png) [@Andrey1984](https://forums.developer.nvidia.com/u/Andrey1984)\
**Post date:** [May 26, 2020, 4:15am UTC](https://forums.developer.nvidia.com/t/jetpack-4-3-flash-error-for-jetson-agx-xavier-via-linux-vm/124278/5 "2020-05-26T04:15:52Z")

</div>

@Eyshika, what sort of VM are you using? VirtualBox? Vmware?  
Are you able to try flashing from Ubuntu OS without using VM, as the latter method is not officially supported?

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 18, 2021, 6:22pm UTC](https://forums.developer.nvidia.com/t/jetpack-4-3-flash-error-for-jetson-agx-xavier-via-linux-vm/124278/6 "2021-10-18T18:22:33Z")

</div>

Closed on October 18, 2021, 6:22pm UTC


