Link Search Menu Expand Document

VOXL 2 IO Firmware / Bootloader

Table of contents

  1. How to Tell What FW Version You Have
  2. Release Notes
    1. VOXL SDK 1.1.1
  3. How to Update Legacy Firmware to New Firmware
    1. Send into ModalAI
  4. Getting New Firmware
  5. How to Update Firmware
    1. Via VOXL 2 Command Line Tools

How to Tell What FW Version You Have

The current version which uses a VOXL ESC based firmware has LED pattern like this upon power up:

The legacy version which uses PX4IO has LED pattern like this upon power up:

To update from the legacy version to the new version, see the section below.

If you would like to get a replacement by sending your hardware in, please contact us.

Release Notes

VOXL SDK 1.1.1

  • VOXL 2 IO (M0065) firmware versioning:
    • Software version: 1
    • Hardware version: 35
  • Support for 4 channel 400Hz PWM output
  • Support for SBUS

How to Update Legacy Firmware to New Firmware

Send into ModalAI

We strive to enable in field updates, but when a bootloader update is required, sometimes lower level tools are needed. If you would like to update the bootloader and firmware on your VOXL 2 IO, you can send in your existing hardware to be updated without charge by contacting contact@modalai.com.

Getting New Firmware

New firmware will ship with VOXL SDK updates and VOXL 2 command line tools will be able to update FW.

Additionally, FW files may be hosted on the public downloads page.

How to Update Firmware

Via VOXL 2 Command Line Tools

  1. Disable voxl-px4 on your VOXL 2: systemctl disable voxl-px4
  2. Power off drone
  3. Disconnect VOXL 2 IO from drone
  4. Power on drone
  5. Place the code below into a bash script, or you can run each command separately (Script is to be executed on host computer in either case).1 2
      #!/bin/bash 
      set -e +x 
         
      # You will need to provide the path to the firmware here if you place it somewhere other than the root directory!
      FIRMWARE_FILE="~/m0065_firmware.bin"
         
      adb push m0065_firmware.bin /home/root
      adb shell "cd /usr/share/modalai/voxl-esc-tools; \
                  ./voxl-esc-upload-firmware.py \
                      --id 0 \
                      --firmware-file $FIRMWARE_FILE \
                      --device /dev/slpi-uart-2 \
                      --skip-firmware-reset 1     
                  "
    
  6. You will see an output like the image below. Reconnect your VOXL 2 IO now.

  7. Your VOXL 2 IO will now be flashed with the latest firmware and you should see an output like the image below.

  8. You can re-enable voxl-px4 and power cycle now: systemctl enable voxl-px4

Footnotes:

  1. You may need to run the command chmod +x {flash_script} in order to make your bash script executable. 

  2. You will need to change the port --device /dev/slpi-uart-2 to --device /dev/slpi-uart-7 if you have VOXL 2 IO connected to J19 on voxl2.