VOXL2 IO Board Flashing Firmware
-
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
-
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
@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-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
I am following this guide: https://docs.modalai.com/voxl2-io-firmware/
I am trying to install the firmware using STLinkas 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
-
I am following this guide: https://docs.modalai.com/voxl2-io-firmware/
I am trying to install the firmware using STLinkas 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
@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-esctools 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
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