As stated in the headline, after running some spin tests I wanted to update the firmware of the esc with the
voxl-esc-upload-firmware-all.sh
the script failed after uploading the firmware at 30% for each motor. Now the motors rapidly blinks.
I'm using a voxl2 together with the voxl2 mini esc.
Voxl2 has the newest SDK 1.4.3 version
output of the 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.9
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: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400
Updated baud rate to 230400
INFO: ESC(s) detected on port: /dev/slpi-uart-2, baud rate: 230400, protocol: bootloader
INFO: ESC Information:
INFO: ---------------------
---------------------
Connection error: connection reset
VOXL Platform: M0054
Detected RB5 Flight, VOXL2 M0054 or M0104!
INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 250000
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400
Connection error: connection reset
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Updated baud rate to 230400
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
WARNING: No ESC(s) detected
VOXL Platform: M0054
Detected RB5 Flight, VOXL2 M0054 or M0104!
INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 921600
Connection error: connection reset
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400
Updated baud rate to 230400
>>> Got an exception from send_request <<<
>>> Send succeeded after retries <<<
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Connection error: connection reset
WARNING: No ESC(s) detected
VOXL Platform: M0054
Detected RB5 Flight, VOXL2 M0054 or M0104!
INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 57600
Sending topic message
--- msg_id: 1033
--- topic name: uart_config
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400
Sending topic message
--- msg_id: 1033
--- topic name: uart_config
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Connection error: connection reset
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_config
Got response cb 0
Updated baud rate to 230400
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
WARNING: No ESC(s) detected
ERROR: not all ESCs found
If i follow the recovery.md and try to rerun the firmware flash it just this is what i get:
Usage:
- Autodetect board and upload latest firmware to all ESCs:
./voxl-esc-upload-firmware-all.sh
- Autodetect board and upload latest firmware to a single ESC ID <esc_id>:
./voxl-esc-upload-firmware-all.sh <esc_id>
Detecting ESCs...
ERROR: No ESC boards detected..
Here is output of voxl-esc-scan
Detected Python version : 3.6.9 (default, Mar 10 2023, 16:46:00)
[GCC 8.4.0]
Found voxl-esc tools bin version: 1.9
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: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400
Connection error: connection reset
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Updated baud rate to 230400
WARNING: No ESC(s) detected
VOXL Platform: M0054
Detected RB5 Flight, VOXL2 M0054 or M0104!
INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 250000
>>> Got an exception from send_request <<<
>>> Got an exception from send_request <<<
>>> Send failed after retries <<<
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Connection error: connection reset
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400
Sending topic message
--- msg_id: 1033
--- topic name: uart_config
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_config
Updated baud rate to 230400
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Connection error: connection reset
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
WARNING: No ESC(s) detected
VOXL Platform: M0054
Detected RB5 Flight, VOXL2 M0054 or M0104!
INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 921600
Sending topic message
--- msg_id: 1033
--- topic name: uart_config
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400
Sending topic message
--- msg_id: 1033
--- topic name: uart_config
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Connection error: connection reset
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_config
Updated baud rate to 230400
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
WARNING: No ESC(s) detected
VOXL Platform: M0054
Detected RB5 Flight, VOXL2 M0054 or M0104!
INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 57600
Sending topic message
--- msg_id: 1033
--- topic name: uart_config
>>> Got an exception from send_request <<<
>>> Got an exception from send_request <<<
>>> Send failed after retries <<<
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
>>> Got an exception from send_request <<<
>>> Got an exception from send_request <<<
>>> Send failed after retries <<<
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Connection error: connection reset
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400
Sending topic message
--- msg_id: 1033
--- topic name: uart_config
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_config
Updated baud rate to 230400
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Connection error: connection reset
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 5
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Got flight controller event
Received standard error event SNS_STD_ERROR_NOT_SUPPORTED
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
Sending topic message
--- msg_id: 1033
--- topic name: uart_data
Got response cb 0
WARNING: No ESC(s) detected
ERROR: not all ESCs found
Any help how i can unbrick the ESC? this is the second time that happens, while other esc had no issues with the firmware flashing procedure.
Thanks in advance
Phil