Hi All,
iβm trying to flash FW according to the guide here
https://docs.cubepilot.org/user-guides/herelink/firmware-releases#v-0-2-2
the remote is getting into flash mode but than the execution of flash files fails
any idea how to solve it?
Hi All,
iβm trying to flash FW according to the guide here
https://docs.cubepilot.org/user-guides/herelink/firmware-releases#v-0-2-2
the remote is getting into flash mode but than the execution of flash files fails
any idea how to solve it?
The issue is that your folder name has a space in itβ¦ thatβs all
Solved!
Thanks Philip!
I donβt think i have the exact same problem, as iβm flashing from my desktop, but i am able to get most of the way though the air unit flashing process until i get to βflashing systemβ, at which point it will fail somewhere between 20 and 50%. Iβm at a loss, as it sees the unit, and seems to be starting the flash, but at this point iβm stuck in inter-firmware hellβ¦
Outputs are below, any help would be incredibly helpful.
chris@MintMachine:~/Desktop$ sudo ./flasher_linux
Looking for Deviceβ¦
Found Unit Type: airunit
Downloading required packageβ¦
Latest airunit release: AU01200226
Downloading Latest Release from https://herelinkfw.cubepilot.org/airunit-AU01200226.tar.gz
Package already downloaded!
Successfully download package
Extracting packageβ¦
100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 20/20 [00:15<00:00, 1.32it/s]
Successfully extracted package
Flashing Unitβ¦
DO NOT DISCONNECT!!
Flashing partition: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 213/213 [00:00<00:00, 1.05MB/s]
Flashing persist: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 4.30M/4.30M [00:00<00:00, 55.8MB/s]
Flashing oem: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 4.56M/4.56M [00:00<00:00, 56.8MB/s]
Flashing boot: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 21.7M/21.7M [00:01<00:00, 14.6MB/s]
Splitting Sparse Partition system.img @ /tmp/tmptbwer8rp
Flashing system 1/10: 54%|ββββββββββββββββββββββββββββ | 30.0M/56.0M [00:00<00:00, 39.8MB/s]Traceback (most recent call last):
File βsite-packages/adb-1.3.0-py3.8.egg/adb/common.pyβ, line 175, in BulkWrite
File βsite-packages/libusb1-1.7.1-py3.8.egg/usb1/init.pyβ, line 1546, in bulkWrite
File βsite-packages/libusb1-1.7.1-py3.8.egg/usb1/init.pyβ, line 1517, in _bulkTransfer
File βsite-packages/libusb1-1.7.1-py3.8.egg/usb1/init.pyβ, line 133, in mayRaiseUSBError
File βsite-packages/libusb1-1.7.1-py3.8.egg/usb1/init.pyβ, line 125, in raiseUSBError
usb1.USBErrorTimeout: LIBUSB_ERROR_TIMEOUT [-7]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File βflasher.pyβ, line 275, in
File βflasher.pyβ, line 165, in flash_all
File βflasher.pyβ, line 221, in flash_img
File βsite-packages/adb-1.3.0-py3.8.egg/adb/fastboot.pyβ, line 289, in FlashFromFile
File βsite-packages/adb-1.3.0-py3.8.egg/adb/fastboot.pyβ, line 325, in Download
File βsite-packages/adb-1.3.0-py3.8.egg/adb/fastboot.pyβ, line 137, in HandleDataSending
File βsite-packages/adb-1.3.0-py3.8.egg/adb/fastboot.pyβ, line 197, in _Write
File βsite-packages/adb-1.3.0-py3.8.egg/adb/common.pyβ, line 178, in BulkWrite
adb.usb_exceptions.WriteFailedError: Could not send data to first 9459afd5 (timeout 10000ms): LIBUSB_ERROR_TIMEOUT [-7]
[21688] Failed to execute script flasher
Anybody? I tried flashing from windows as well, but no luck there either. I figured if my unit were bricked it wouldnβt get halfway through the firmware flashing. Unfortunately in windows it wouldnβt even start the update process. Thereβs few things i hate more than βeasyβ products that turn into endless nightmares. Iβm beginning to think Herelink just isnβt worth the headache.
Have you got another pc you can try.
Also try installing the Android Platform Tools with its drivers.
Thanks Ian, iβll try that on my windows machine. It doesnβt seem to make any difference whether or not i have power applied to the air unit (i know we are supposed to have power applied). I have tried with my mint linux machine and my wifeβs windows machine, and gotten to the 3/10 firmware flashing step on linux, but windows kept identifying it as a hard drive. Iβll try the install on there as well, but am suspicious as the process is just failing halfway thoughtβ¦
I tried again on the windows machine and the flasher worked correctly. I may have tried to execute from the extract previewer vs doing the extract and then running it. The units are at least talking together now, so i can hopefully get flying soon with it. Thanks again Ian!
this is most likely a bad usb cable. please try another
I have had the same problem when flashing both the hand unit and the air unit. As suggested above, a shorter higher quality USB cable completely solved the problem. Likely the communication rate is too fast for the provided cable.
Hi, @MadRC I have tried changing the PCβs but it is always showing the error βFailed to execute script Flasherβ. Kindly suggest to me any other means to solve this error.
I am having the same error sir. what is the folder name?
my error is showing as βFailed to connect to herelinkfw.cubepilot.org 443 timeoutβ
Can you please suggest to me the right full way to solve it?