# VOXL2 Flash new PX4 firmware

Source: https://forum.modalai.com/topic/2296/voxl2-flash-new-px4-firmware
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2
Posted: 2023-06-20 23:48:40 UTC by AndriiHlyvko
Replies: 3 · Views: 1089

## AndriiHlyvko · 2023-06-20 23:48:40 UTC

Hi I was following this guide to build PX4 binary using docker https://docs.modalai.com/voxl2-px4-build-guide/ 
So far I got through the guide and was able to build a binary of the PX4 by running make modalai_voxl2_default. But the guide doesnt seem to talk about how to actually flash the firmware onto the VOXL 2. I have not developed using adb or for embedded android devices before. Can anyone help me with flashing PX4 firmware?

Thanks.

## Reply by Aidan Dempster · 2023-06-21 11:10:31 UTC

@AndriiHlyvko The instructions for that are actually on the voxl-px4 repository. 
https://gitlab.com/voxl-public/voxl-sdk/services/voxl-px4/-/tree/master

This contains the wrapper that runs px4 on the VOXL2, but also the packaging and deployment scripts that make it easy to install.

## Reply by Aidan Dempster · 2023-06-21 14:55:07 UTC (in reply to Aidan Dempster)

@AndriiHlyvko I just flashed firmware with a custom module to my VOXL2 using the `SDK-0.9` branch of the voxl-px4 repo and the specific commit from the modalai px4-firmware repo that is included with that voxl-px4 branch. As far as I can tell this px4-firmware commit is the exact one used for the 0.9.5 platform release so it should have good compatibility with that firmware if you are using it.

## Reply by AndriiHlyvko · 2023-06-27 16:49:38 UTC

Thanks @Aidan-Dempster, that worked.
