Voxl 2 IO and PWM outputs
-
I am currently working with vertiq motors which come with a built-in ESCs. These motors support PWM and i got the voxl 2 IO board for the same. However, SDK 1.1. How do i give the PWM output through the Voxl 2 IO board? The latest SDK says that the board is supported only for input.
Does SDK 1.1 work with I/O board or is there a way to make it compatible to support PWM outputs with the latest firmware -
@Jetson-Nano I believe they are planning a release that supports this in two weeks. A 4 in 1 ESC is the only option right now.
-
@AP123 That is correct, SDK 1.1.1 will provide support through M0065
-
@tom 1.1.1 is out and it is not working? was it not added as planned??
-
@AP123 Here is some more info: https://docs.modalai.com/voxl2-io/
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.
-
@tom Where can i get m0065_firmware.bin from?
-
@AP123 You can find
voxl2_io_firmware_m0065_v1_35_58c82813.bin
at downloads.modalai.com under the "Miscellaneous" section -
@tom stuck here
INFO: perform manual power cycle now, if needed
Sending library name request: libslpi_qrb5165_io.so
Received standard error event 2
Sending initialization request
Updated baud rate to 230400
INFO: Installing firmware to ESC ID 0 : /home/root/m0065_firmware.binI plug the cord into the IO board and nothing happens.
-
Hi @AP123, a couple things to check:
- Do you have the new bootloader? The legacy bootloader (SDKs before 1.1.1) and the new firmware are not compatible, you won't be able to update the firmware on your Voxl2 IO using the legacy bootloader (it doesn't support flashing via UART). The new bootloader will enable firmware updates for Voxl2 IO board via Voxl2 (removing the need for STLink). We aren't currently distributing the new bootloader so you will need to send your Voxl2 IO back to us and we can send you replacement(s) with the new bootloader and firmware already loaded. You can email contact@modalai.com to get this process started.
- The firmware flashing script expects the Voxl2 IO to be connected to J18 on your voxl2. If it is connected to J19 and you wish to keep it there, then you will need to update the flashing script to use J19 (change
--device /dev/slpi-uart-2
to--device /dev/spli-uart-7
) - Once you have your Voxl2 IO updated, make sure to load the
voxl2_io_enable_pwm.params
in thevoxl2_io_helpers
menu from the voxl-configure-px4-params wizard if you plan to use the Voxl2 IO for PWM outputs. - Finally, if you have issues with your ESCs all not spinning the same rate its a good idea to run the calibration process if you are using ESCs that came from ModalAI (not the 4-in-1 ESCs though). The process is shown in our tech docs.
Jacob
-
@AP123 because we can't provide the bootloader binary as a download, any existing M0065 HW needs to be replaced.
You can use contact@modalai.com to arrange a replacement.
It's technically possible to update in the field but we can't provide the bootloader binary so it needs to be sent into the modalai office.
-
@modaltb @Jacob-Camarillo Is the status of not providing bootloader binary the same now or you guys are distributing the binary? I am having old legacy firmware over my VOXL2 IO board and I need an update over this board with new SDK very quickly. Just wanted to save turn around time of sending the board back to you since I need upgrade asap.
Please let me know asap. -
@Aaky we are not asking for your old board to be sent back until you receive the new board
-
@Moderator Got it. I have mailed already to contact@modalai.com . Please expedite my request and let me know.