# VOXL Flight image will not flash

Source: https://forum.modalai.com/topic/4076/voxl-flight-image-will-not-flash
Category: VOXL SDK and Software (https://forum.modalai.com/category/47/voxl-sdk-and-software)
Tags: voxl-sdk
Posted: 2025-01-09 17:42:47 UTC by Kiazoa Joao
Replies: 18 · Views: 2665

## Kiazoa Joao · 2025-01-09 17:42:47 UTC

Hello,

I am trying to re-flash (VOXL_SDK_1.2.0) my M500 drone, but whenever I try to run the ./install.sh script, the vehicle loses communication and I get the following message. Please let me know how I can fix this. Thank you!
 ![flash.png](https://forum.modalai.com/assets/uploads/files/1736444427097-flash.png)

## Reply by tom (ModalAI staff) · 2025-01-09 17:44:24 UTC

@Kiazoa-Joao It looks like you're using a virtual machine which likely means that the VOXL's USB device in fastboot is not being passed through to your VM. You'll likely have to add it separately, similarly to how you did so for the device in ADB.

## Reply by Kiazoa Joao · 2025-01-09 17:50:09 UTC (in reply to tom)

@tom thanks for replying. How can I do that?

## Reply by tom (ModalAI staff) · 2025-01-09 18:03:46 UTC (in reply to Kiazoa Joao)

@Kiazoa-Joao https://www.eltima.com/article/virtualbox-usb-passthrough/#:~:text=Click%20File%20%7C%20Tools%20%7C%20Extension%20Pack%20Manager.&text=Plug%20the%20required%20USB%20device,appear%20in%20your%20guest%20OS.

## Reply by Kiazoa Joao · 2025-01-09 18:27:21 UTC (in reply to tom)

@tom thank you. I appreciate it

## Reply by Kiazoa Joao · 2025-01-09 18:38:13 UTC (in reply to Kiazoa Joao)

@tom  another thing, how do I make sure the vehicle is in fastboot mode?

## Reply by tom (ModalAI staff) · 2025-01-09 20:46:21 UTC (in reply to Kiazoa Joao)

@Kiazoa-Joao The script will put it into fastboot. You can also do so manually by running `adb reboot bootloader`

## Reply by Kiazoa Joao · 2025-01-09 21:04:03 UTC (in reply to tom)

@tom I did that. I tried to run it again, but I got the same error. I also tried running adb reboot bootloader, the drone lost connection, the same as running the script. Any other ideas? I saw a post on here talking about disconnecting the tracking cameras, do you think that'd solve it? 
https://forum.modalai.com/topic/1144/info-waiting-for-fastboot/5

## Reply by tom (ModalAI staff) · 2025-01-09 23:50:31 UTC (in reply to Kiazoa Joao)

@Kiazoa-Joao If you think there's a chance your cameras are plugged in incorrectly then it doesn't hurt to try.

When the script is hanging, what do you see with `lsusb`? and `fastboot devices`?

## Reply by Kiazoa Joao · 2025-01-10 16:04:07 UTC (in reply to tom)

@tom I don't see anything. The drone loses connection and the adb devices disappear. Also, when I try to check fastboot devices, nothing shows up

## Reply by tom (ModalAI staff) · 2025-01-10 18:53:57 UTC (in reply to Kiazoa Joao)

@Kiazoa-Joao Did you add the device via pass-through to the VM?

If possible I would highly recommend not using a VM and running Ubuntu natively if possible

## Reply by Kiazoa Joao · 2025-01-10 19:09:13 UTC (in reply to tom)

@tom yes I did. I don't have a linux system. I tried WSL, but It won't show the adb devices. However, I'll try to borrow a Linux system from someone on Monday and will let you know if it works. Thank you for your assistance.

## Reply by tom (ModalAI staff) · 2025-01-10 19:12:55 UTC (in reply to Kiazoa Joao)

@Kiazoa-Joao No problem, we've just found it much easier to run native linux for this specific reason, sometimes windows can be difficult when it comes to passing in the USB devices

## Reply by Kiazoa Joao · 2025-01-10 19:31:40 UTC (in reply to tom)

@tom I managed to get WSL to work and the same thing is happeing, I don't know if running it on a Linux system will be any better, but I'll will give it a try.
![adb devices.png](https://forum.modalai.com/assets/uploads/files/1736537485777-adb-devices.png)

## Reply by tom (ModalAI staff) · 2025-01-10 20:12:08 UTC (in reply to Kiazoa Joao)

@Kiazoa-Joao It's possible you're missing some necessary fastboot drivers on your windows machine

## Reply by Kiazoa Joao · 2025-01-13 17:10:14 UTC (in reply to tom)

@tom I see. Can they be easily installed?

## Reply by Kiazoa Joao · 2025-01-13 17:45:07 UTC (in reply to tom)

@tom you were right. I used a Linux system and it worked flawlessly. Thank you for your assistance. I am just curious to know if the fastboot drivers can be installed on my windows device, just for the future. Please let me know

## Reply by tom (ModalAI staff) · 2025-01-13 17:56:44 UTC (in reply to Kiazoa Joao)

@Kiazoa-Joao We don't use windows here so I can't provide much help there, it should be possible though.

## Reply by Kiazoa Joao · 2025-01-13 18:14:16 UTC (in reply to tom)

@tom Thank you. I'll look it up.
