Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Compute & Autopilot
  3. VOXL 2 IO
  4. VOXL2 IO Board Flashing Firmware

VOXL2 IO Board Flashing Firmware

Scheduled Pinned Locked Moved VOXL 2 IO
4 Posts 2 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Aaron PorterA Offline
    Aaron PorterA Offline
    Aaron Porter
    Contributor
    wrote on last edited by Aaron Porter
    #1

    I am trying to flash the firmware to the VOXL2 IO board but I am getting an issue using OpenOCD. It seems like the version has changed since the documentation was created.

    + FIRMWARE_FILE=/.../Downloads/m0065_firmware.bin
    + sudo openocd -f /usr/share/openocd/scripts/interface/stlink-v2.cfg -f /usr/share/openocd/scripts/target/stm32f1x.cfg -c 'adapter speed 4000' -c init -c 'sleep 100' -c 'reset halt' -c 'sleep 500' -c 'flash write_image erase /.../Downloads/m0065_firmware.bin  0x08001C00' -c 'reset run' -c exit
    Open On-Chip Debugger 0.10.0
    Licensed under GNU GPL v2
    For bug reports, read
    	http://openocd.org/doc/doxygen/bugs.html
    Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
    Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
    adapter speed: 1000 kHz
    adapter_nsrst_delay: 100
    none separate
    invalid command name "adapter"
    

    I am on a Linux computer and installed OpenOCD using just apt-get install openocd. I have the ST-Link connect like the diagram shows. And the ST-Link is connected to my computer via USB.
    So Honestly I am lost to as to what I am doing wrong?

    Thanks in advance,

    • Aaron
    Alex KushleyevA 1 Reply Last reply
    0
    • Aaron PorterA Aaron Porter

      I am trying to flash the firmware to the VOXL2 IO board but I am getting an issue using OpenOCD. It seems like the version has changed since the documentation was created.

      + FIRMWARE_FILE=/.../Downloads/m0065_firmware.bin
      + sudo openocd -f /usr/share/openocd/scripts/interface/stlink-v2.cfg -f /usr/share/openocd/scripts/target/stm32f1x.cfg -c 'adapter speed 4000' -c init -c 'sleep 100' -c 'reset halt' -c 'sleep 500' -c 'flash write_image erase /.../Downloads/m0065_firmware.bin  0x08001C00' -c 'reset run' -c exit
      Open On-Chip Debugger 0.10.0
      Licensed under GNU GPL v2
      For bug reports, read
      	http://openocd.org/doc/doxygen/bugs.html
      Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
      Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
      adapter speed: 1000 kHz
      adapter_nsrst_delay: 100
      none separate
      invalid command name "adapter"
      

      I am on a Linux computer and installed OpenOCD using just apt-get install openocd. I have the ST-Link connect like the diagram shows. And the ST-Link is connected to my computer via USB.
      So Honestly I am lost to as to what I am doing wrong?

      Thanks in advance,

      • Aaron
      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #2

      @Aaron-Porter , can you please provide a link to the instructions that you are following? Do you have an M0065 boards with Modalai bootloader already installed, or do you have the original M0065 which was using a bootloader from PX4 ?

      Alex

      Aaron PorterA 1 Reply Last reply
      0
      • Alex KushleyevA Alex Kushleyev

        @Aaron-Porter , can you please provide a link to the instructions that you are following? Do you have an M0065 boards with Modalai bootloader already installed, or do you have the original M0065 which was using a bootloader from PX4 ?

        Alex

        Aaron PorterA Offline
        Aaron PorterA Offline
        Aaron Porter
        Contributor
        wrote on last edited by
        #3

        @Alex-Kushleyev

        I am following this guide: https://docs.modalai.com/voxl2-io-firmware/
        I am trying to install the firmware using STLink

        as for the bootl oader it is a ModalAI bootloader already installed I assume based on the blue LED light flash, so it is not a legacy board

        Alex KushleyevA 1 Reply Last reply
        0
        • Aaron PorterA Aaron Porter

          @Alex-Kushleyev

          I am following this guide: https://docs.modalai.com/voxl2-io-firmware/
          I am trying to install the firmware using STLink

          as for the bootl oader it is a ModalAI bootloader already installed I assume based on the blue LED light flash, so it is not a legacy board

          Alex KushleyevA Offline
          Alex KushleyevA Offline
          Alex Kushleyev
          ModalAI Team
          wrote on last edited by Alex Kushleyev
          #4

          @Aaron-Porter , thank you for clarifying. We resolved your issue offline, as this was a pre-release development effort.

          Moving forward, all customers have two options:

          • if you already purchased M0065 without ModalAI bootloader (the board was using old px4io bootloader and firmware), you can request a free replacement that will be sent with our latest bootloader and firmware installed (please request via support email)
          • all the new M0065 shipments will come with ModalAI bootloader and firmware

          With the new bootloader / firmware combination, there is no need for STLink at all. The firmware will be updated via UART directly from VOXL2 or optionally via a USB adapter. The firmware update protocol is very similar to our ESC firmware update protocol, so we will be able to use voxl-esc tools to perform the firmware update.

          We will be updating the docs shortly (https://docs.modalai.com/voxl2-io-firmware/) and will post an update here once it's ready.

          Alex

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          ModalAI
          Categories Recent Tags ModalAI.com Docs
          © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups