VOXL 2 No ESC(s) detected
-
I am following the installation instructions for VOXL 2 found here. I've reflashed the system image with release 0.9.5 from 3/30, installed the slpi uart bridge package to VOXL2, disabled px4, and created the symlink for libpx4. I've also doublechecked that the MCBL_00029-1 cable is correct per this wiring diagram.
I've run out of options, can someone help me troubleshoot connecting/configuring the VOXL 2 ESC board? Any help is greatly appreciated!
Outputs are below, thanks in advance,
Taylormdr@mdr-System-Product-Name:~/Downloads$ adb shell ▂▂▂▂▂▂▂▂▂▂▂▂▂ ▂▄▆▆██▛▀▀▀▀▀▀▀▀▜████▆▆▄▂ ███╗ ███╗ ██████╗ ██████╗ █████╗ ██╗ ▗▆████▀▔ ▔▔▀▀▀▀▚▄ ████╗ ████║██╔═══██╗██╔══██╗██╔══██╗██║ ▗▟████▀ ▗██▖ ▐█ ▝▀▆▄▄▄ ██╔████╔██║██║ ██║██║ ██║███████║██║ ▟████▀ ▗█▘▝█▖ ▐█ ▜█▀ ██║╚██╔╝██║██║ ██║██║ ██║██╔══██║██║ █▌ ▐█▌ ▗█▘ ▝█▖ ▐█ ▐▄ ██║ ╚═╝ ██║╚██████╔╝██████╔╝██║ ██║███████╗ ▀████ ▗█▘ ▝█▖ ▐█ ▂▄███ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ▀▀██▄▄ ▂▆███▀ ▀▀██▄▄ ▀▀▆▄▄▄▄▆██▀▀▀▘ -------------------------------------------------------------------------------- system-image: 1.5.5-M0054-14.1a-perf kernel: #1 SMP PREEMPT Fri Mar 24 00:48:55 UTC 2023 4.19.125 -------------------------------------------------------------------------------- hw version: M0054 -------------------------------------------------------------------------------- voxl-suite: 0.9.5 -------------------------------------------------------------------------------- voxl2:/$ cd /home/root/voxl-esc/voxl-esc-tools/ voxl2:~/voxl-esc/voxl-esc-tools(dev)$ ./voxl-esc-scan.py Detected Python version : 3.6.9 (default, Mar 10 2023, 16:46:00) [GCC 8.4.0] Found voxl-esc tools bin version: 1.1 VOXL Platform: M0054 Detected VOXL2 M0054 or M0104! INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 2000000 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 250000 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 921600 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 230400 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 57600 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 115200 INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 38400 Updated baud rate to 38400 INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400 Updated baud rate to 230400 ERROR: No ESC(s) detected, exiting. voxl2:~/voxl-esc/voxl-esc-tools(dev)$ voxl-inspect-services Service Name | Enabled | Running | CPU Usage --------------------------------------------------------------- docker-autorun | Disabled | Not Running | docker-daemon | Disabled | Not Running | modallink-relink | Disabled | Not Running | voxl-camera-server | Disabled | Not Running | voxl-cpu-monitor | Disabled | Not Running | voxl-dfs-server | Disabled | Not Running | voxl-imu-server | Disabled | Not Running | voxl-mavlink-server | Disabled | Not Running | voxl-modem | Disabled | Not Running | voxl-portal | Disabled | Not Running | voxl-px4-imu-server | Disabled | Not Running | voxl-px4 | Disabled | Not Running | voxl-qvio-server | Disabled | Not Running | voxl-remote-id | Disabled | Not Running | voxl-softap | Disabled | Not Running | voxl-static-ip | Disabled | Not Running | voxl-streamer | Disabled | Not Running | voxl-tag-detector | Disabled | Not Running | voxl-tflite-server | Disabled | Not Running | voxl-time-sync | Disabled | Not Running | voxl-vision-px4 | Disabled | Not Running | voxl-wait-for-fs | Enabled | Completed |
-
Hi @Taylor-Presley ,
Confirming you are using J18 as the UART port to the ESC, and that the ESC has VBatt power (e.g. when you apply power you get an LED blink at least).
Do you have access to an oscilloscope to probe? That's my next step with comms issues, I'll try to just probe the UART and make sure there's traffic.
-
@modaltb confirmed I'm using J18 and the ESC has power (I get an LED blink and quick chirp on connection). I've got a borrowed oscilloscope and confirmed there is traffic on the ESC. I also tried switching TX/RX on the cabling and this didn't help. I've also now installed voxl-esc per this discussion now and still get the following:
voxl2:/$ voxl-esc scan enabling bridge bridge enabled Detected Python version : 3.6.9 (default, Mar 10 2023, 16:46:00) [GCC 8.4.0] Found voxl-esc tools bin version: 1.1 VOXL Platform: M0054 Detected VOXL2 M0054 or M0104! INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 2000000 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 250000 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 921600 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 230400 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 57600 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 115200 INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 38400 Updated baud rate to 38400 INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400 Updated baud rate to 230400 ERROR: No ESC(s) detected, exiting. FAILED to ping ESCs disabling bridge bridge disabled
What would you recommend for next step?
-
What if we remove VOXL2 from the equation real quick, and try to go host PC to the ESC? This would be my next step, and we use little USB to Serial adapters for this, e.g. this dongle.
We have a guide here and this would reduce a variable for us.... I'm semi scratching my head at this point.
-
Hi @Taylor-Presley
Make sure if you get that dongle modaltb suggested, you set the interface voltage to 3.3V. -
@modaltb @Vinny I'm using an Adafruit USB to TTL cable that I had around. Only gnd, tx, and rx are connected, and the ESC is powered by the power supply. It had the same issue.
mdr@mdr-System-Product-Name:~/voxl-esc-dev-python27/tools$ python voxl-esc-scan.py INFO: Device and baud rate are not provided, attempting to autodetect.. Scanning for ESC firmware: /dev/ttyUSB0, baud: 250000 Scanning for ESC firmware: /dev/ttyUSB0, baud: 2000000 Scanning for ESC firmware: /dev/ttyUSB0, baud: 921600 Scanning for ESC firmware: /dev/ttyUSB0, baud: 57600 Scanning for ESC firmware: /dev/ttyUSB0, baud: 115200 Scanning for ESC firmware: /dev/ttyUSB0, baud: 230400 Scanning for ESC bootloader: /dev/ttyUSB0, baud: 38400 Scanning for ESC bootloader: /dev/ttyUSB0, baud: 230400 Scanning for ESC bootloader: /dev/ttyUSB0, baud: 921600 ERROR: No ESC(s) detected, exiting.
I can order the other dongle, but I'm measuring traffic on Tx and Rx. Thoughts?
-
Can you check using two scope probes that there is a tx packet into ESC and a reply from ESC immediately after? Also check the signal levels - both should be at 3.3V. Tx and Rx could be shorted, appearing that there is rx and tx traffic. Can also measure resistance between tx and rx lines.
-
@Alex-Kushleyev @Vinny @modaltb It has taken a while for me to run this to ground, but I have an update. It does look like there is a tx packet into ESC and a reply when I run the script, and from what I can tell they are simultaneous. Both are at 3.3V and measuring resistance between the lines is ~40-50 kilohms.
I've ordered another ESC and will perform the same tests to see if I can get a successful scan on it. Thanks for the help so far!
Taylor
-
Hi @Taylor-Presley give me a holler if after you get the new setup you still have problems and I can get on the phone with you and try to troubleshoot!
-
@Taylor-Presley , just to clarify, when you checked TX and RX on the scope, you should have seen first TX data coming from VOXL2 to ESC and then almost immediately ESC responding, right? (not RX and TX showing data at the same time)
If that is true, then the ESC seems to be working fine (at least in terms of UART communication) and there may be an issue that is outside of the ESC. Considering that you tried running voxl-esc tools on VOXL2 and on a PC, I am a bit puzzled.
Just to be absolutely sure, can you please run the
voxl-esc
tools from master branch, not the python27 branch. The python27 branch should still work but we are no longer testing it. the latest and greatest is in the master branch.Thank you!
Alex
-
Hello @Taylor-Presley , were you able to resolve your issue? I am curious what it was or you still need some help. Thanks!
Alex
-
@Alex-Kushleyev we were able to run voxl-esc tools but could only spin up 3 motors. The new ESC that you sent us works now and I'm able to spin all the motors. I wasn't able really to trace a root cause, but I'm just happy that it's working now. Thanks for all the help so far!
-
I have the same issue, should I order a new esc? When I run the voxl-esc scan on the voxl2, it is trying to find esc under /dev/slpi-uart-2, which I went and checked under /dev/, and there is such port shown up.
The ESC does boot up with the sound, but I think the serial port maybe damaged.
Scan Report:
voxl-esc Starting Wizard What do you want to do? 1) scan 3) spin 5) upload_params 2) detect 4) upgrade_firmware #? 1 enabling bridge bridge enabled Detected Python version : 3.6.9 (default, Mar 10 2023, 16:46:00) [GCC 8.4.0] Found voxl-esc tools bin version: 1.2 VOXL Platform: M0054 Detected VOXL2 M0054 or M0104! Found previous connection information in .voxl_esc_cache .. Prioritizing /dev/slpi-uart-2 @ 57600 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 57600 Sending library name request: libslpi_uart_bridge_slpi.so Received standard error event 2 Sending initialization request Received standard error event 2 Couldn't configure flight_controller sensor Error calling voxl_uart_init INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 2000000 Sending library name request: libslpi_uart_bridge_slpi.so Received standard error event 2 Sending initialization request Received standard error event 2 Couldn't configure flight_controller sensor Error calling voxl_uart_init INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 250000 Sending library name request: libslpi_uart_bridge_slpi.so Received standard error event 2 Sending initialization request Received standard error event 2 Couldn't configure flight_controller sensor Error calling voxl_uart_init INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 921600 Sending library name request: libslpi_uart_bridge_slpi.so Received standard error event 2 Sending initialization request Received standard error event 2 Couldn't configure flight_controller sensor Error calling voxl_uart_init INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 230400 Sending library name request: libslpi_uart_bridge_slpi.so Received standard error event 2 Sending initialization request Received standard error event 2 Couldn't configure flight_controller sensor Error calling voxl_uart_init INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 115200 Sending library name request: libslpi_uart_bridge_slpi.so Received standard error event 2 Sending initialization request Received standard error event 2 Couldn't configure flight_controller sensor Error calling voxl_uart_init INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 38400 Sending library name request: libslpi_uart_bridge_slpi.so Received standard error event 2 Sending initialization request Received standard error event 2 Couldn't configure flight_controller sensor Error calling voxl_uart_init Sending library name request: libslpi_uart_bridge_slpi.so Received standard error event 2 Sending initialization request Received standard error event 2 Couldn't configure flight_controller sensor Error calling voxl_uart_init Updated baud rate to 38400 /usr/bin/voxl-esc: line 131: 8107 Segmentation fault python3 voxl-esc-scan.py FAILED to ping ESCs disabling bridge bridge disabled DONE
ls /dev/slpi-uart-* ls: cannot access '/dev/slpi-uart-*': No such file or directory
-
@Cai-Bill, you are using very old voxl-esc tools. Please upgrade your SDK to at least 1.1.3 or 1.2, preferably latest 1.3.
Then perform a scan and you should be able to detect the esc. Alternatively, you could connect your esc to a PC if you have the right uart to usb adapter and run the voxl-esc tools on the linux pc.
The device for uart is not a typical linux device, it wont show up under /dev.
Alex
-
@Alex-Kushleyev
I have upgrade the SDK1.3 and got the following error for esc:voxl2:/$ voxl-esc setup_sentinel_v1 enabling bridge bridge enabled [INFO] Setting CPU to performance mode [INFO] Scanning for ESC... terminate called after throwing an instance of 'qmi_error' what(): qmi_client_send_msg_sync() failed, (client_id=)0, result=0: qmi service error (-2) [ERROR] Unknown board detected: disabling bridge bridge disabled EXITING VOXL-ESC WITH ERROR
Any clue on what may be the case?
-
After reboot
I got the following error:Received standard error event SNS_STD_ERROR_NOT_SUPPORTED Connection error: connection reset Couldn't configure flight_controller sensor ERROR: fc_sensor_initialize failed ERROR: Failed to initialize slpi ERROR: Encountered error while initializing bus 12 ERROR: voxl_uart_flush: Bus '12' is not initialized ERROR: voxl_uart_write: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_write: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_write: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_write: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_write: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_write: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_write: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_write: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_read_bytes: Bus '12' is not initialized ERROR: voxl_uart_flush: Bus '12' is not initialized ERROR: voxl_uart_close: Bus '12' is not initialized
-
After a third Reboot and and run the tool again I have the esc working:
voxl-esc setup_sentinel_v1 enabling bridge bridge enabled [INFO] Setting CPU to performance mode [INFO] Scanning for ESC... [INFO] M0117-1 detected [INFO] has for most recent firmware: eb6fb500 [INFO] Expected ESC firmware info: Firmware: modalai_esc_firmware_m0117_1_v0_39_RC10_eb6fb500.bin Firmware hash: eb6fb500 [INFO] Number of ESCs with correct FW: 0 [INFO] 0 of the ESCs do not have the current firmware [INFO] Uploading current ESC firmware... Detected Python version : 3.6.9 (default, Mar 10 2023, 16:46:00) [GCC 8.4.0] Found voxl-esc tools bin version: 1.6 INFO: Firmware file name : firmware/modalai_esc_firmware_m0117_1_v0_39_RC10_eb6fb500.bin INFO: Firmware file size : 23088 bytes VOXL Platform: M0054 Detected RB5 Flight, VOXL2 M0054 or M0104! INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 2000000 Sending library name request: libslpi_qrb5165_io.so Sending initialization request INFO: ESC(s) detected on port: /dev/slpi-uart-2, baud rate: 2000000 INFO: ESC(s) detected: [0, 1, 2, 3] INFO: Sending reset command to ESC ID 0 Updated baud rate to 230400 INFO: Installing firmware to ESC ID 0 : firmware/modalai_esc_firmware_m0117_1_v0_39_RC10_eb6fb500.bin Progress: 100% [##################################################] INFO: Firmware successfully updated for ESC id 0 Detected Python version : 3.6.9 (default, Mar 10 2023, 16:46:00) [GCC 8.4.0] Found voxl-esc tools bin version: 1.6 INFO: Firmware file name : firmware/modalai_esc_firmware_m0117_1_v0_39_RC10_eb6fb500.bin INFO: Firmware file size : 23088 bytes VOXL Platform: M0054 Detected RB5 Flight, VOXL2 M0054 or M0104! INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 2000000 Sending library name request: libslpi_qrb5165_io.so Sending initialization request INFO: ESC(s) detected on port: /dev/slpi-uart-2, baud rate: 2000000 INFO: ESC(s) detected: [1, 2, 3] INFO: Sending reset command to ESC ID 1 Updated baud rate to 230400 INFO: Installing firmware to ESC ID 1 : firmware/modalai_esc_firmware_m0117_1_v0_39_RC10_eb6fb500.bin Progress: 100% [##################################################] INFO: Firmware successfully updated for ESC id 1 Detected Python version : 3.6.9 (default, Mar 10 2023, 16:46:00) [GCC 8.4.0] Found voxl-esc tools bin version: 1.6 INFO: Firmware file name : firmware/modalai_esc_firmware_m0117_1_v0_39_RC10_eb6fb500.bin INFO: Firmware file size : 23088 bytes VOXL Platform: M0054 Detected RB5 Flight, VOXL2 M0054 or M0104! INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 2000000 Sending library name request: libslpi_qrb5165_io.so Sending initialization request INFO: ESC(s) detected on port: /dev/slpi-uart-2, baud rate: 2000000 INFO: ESC(s) detected: [0, 2, 3] INFO: Sending reset command to ESC ID 2 Updated baud rate to 230400 INFO: Installing firmware to ESC ID 2 : firmware/modalai_esc_firmware_m0117_1_v0_39_RC10_eb6fb500.bin Progress: 100% [##################################################] INFO: Firmware successfully updated for ESC id 2 Detected Python version : 3.6.9 (default, Mar 10 2023, 16:46:00) [GCC 8.4.0] Found voxl-esc tools bin version: 1.6 INFO: Firmware file name : firmware/modalai_esc_firmware_m0117_1_v0_39_RC10_eb6fb500.bin INFO: Firmware file size : 23088 bytes VOXL Platform: M0054 Detected RB5 Flight, VOXL2 M0054 or M0104! INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 2000000 Sending library name request: libslpi_qrb5165_io.so Sending initialization request INFO: ESC(s) detected on port: /dev/slpi-uart-2, baud rate: 2000000 INFO: ESC(s) detected: [0, 1, 3] INFO: Sending reset command to ESC ID 3 Updated baud rate to 230400 INFO: Installing firmware to ESC ID 3 : firmware/modalai_esc_firmware_m0117_1_v0_39_RC10_eb6fb500.bin Progress: 100% [##################################################] INFO: Firmware successfully updated for ESC id 3 [INFO] Verifying firmware upload was succecssful... successfully flashed firmware to all 4 escs uploading params file ../voxl-esc-params/Sentinel_V1/Sentinel_V1.xml Detected Python version : 3.6.9 (default, Mar 10 2023, 16:46:00) [GCC 8.4.0] Found voxl-esc tools bin version: 1.6 VOXL Platform: M0054 Detected RB5 Flight, VOXL2 M0054 or M0104! INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 2000000 Sending library name request: libslpi_qrb5165_io.so Sending initialization request INFO: ESC(s) detected on port: /dev/slpi-uart-2, baud rate: 2000000, protocol: firmware INFO: ESC Information: INFO: --------------------- ID : 0 Board : version 34: ModalAi 4-in-1 ESC (M0117-1) UID : 0x203034305743570C00290031 Firmware : version 39, hash eb6fb500 Bootloader : version 183, hash 25317f42 ID : 1 Board : version 34: ModalAi 4-in-1 ESC (M0117-1) UID : 0x203034305743570C00290041 Firmware : version 39, hash eb6fb500 Bootloader : version 183, hash 25317f42 ID : 2 Board : version 34: ModalAi 4-in-1 ESC (M0117-1) UID : 0x203034305743570C0029003E Firmware : version 39, hash eb6fb500 Bootloader : version 183, hash 25317f42 ID : 3 Board : version 34: ModalAi 4-in-1 ESC (M0117-1) UID : 0x203034305743570C0029002E Firmware : version 39, hash eb6fb500 Bootloader : version 183, hash 25317f42 --------------------- successfully pinged ESCs Detected Python version : 3.6.9 (default, Mar 10 2023, 16:46:00) [GCC 8.4.0] Found voxl-esc tools bin version: 1.6 INFO: Params file name : ../voxl-esc-params/Sentinel_V1/Sentinel_V1.xml INFO: Params file size : 7561 bytes VOXL Platform: M0054 Detected RB5 Flight, VOXL2 M0054 or M0104! INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 2000000 Sending library name request: libslpi_qrb5165_io.so Sending initialization request INFO: ESC(s) detected on port: /dev/slpi-uart-2, baud rate: 2000000 INFO: ESCs detected: INFO: --------------------- ID: 0, SW: 39, HW: 34: ModalAi 4-in-1 ESC (M0117-1) ID: 1, SW: 39, HW: 34: ModalAi 4-in-1 ESC (M0117-1) ID: 2, SW: 39, HW: 34: ModalAi 4-in-1 ESC (M0117-1) ID: 3, SW: 39, HW: 34: ModalAi 4-in-1 ESC (M0117-1) --------------------- INFO: Loading XML config file... INFO: Uploading params for ESC ID 255... -- board config -- id config -- uart config -- tune config DONE INFO: Resetting ESCs... DONE WARNING: Received 12 bytes of data from SLPI while SLPI uart not in use (topic uart_data) disabling bridge bridge disabled
Still have no idea why the first two time failed, I did apt update and upgrade between every reboot and I also give chmod 755 to /data/, maybe that helped?
-
@Cai-Bill When you upgraded to SDK 1.3 did you download the full SDK and use
./install.sh
or did you just runapt update && apt upgrade
? -
@tom I used ./install.sh
-
@Cai-Bill , I am not exactly sure why there was the issue during the firmware upgrade, but looks like you made it through, and is the ESC working properly now with PX4?
Alex