I was running flasher_mac script
But I got an error while working
Now the air unit is no longer identified in Labtab
And the device LED do not turn on
Is the device recoverable?
@Michael_Oborne
@philip
@sidbh
@Alvin
Is my device unusable?
power on the device while holding in the pairing button, for 10 seconds.
then connect usb and see if it appears in device manager
1 Like
Yes, thank you
But I get an error
macbook@MacBooks-MacBook-Air Desktop % ls
AAU01210729 Screenshot 2021-12-06 at 11.11.49.png
Archive.zip airunit_beta-AAU01210729.tar.gz
MN02.vpp flasher_mac
MN02.vpp.bak_000f
macbook@MacBooks-MacBook-Air Desktop % ./flasher_mac beta
Looking for Device
Found Unit Type: airunit
Downloading required package...
Latest airunit_beta release: AAU01210729
Downloading Latest Release from https://herelinkfw.cubepilot.org/airunit_beta-AAU01210729.tar.gz
Package already downloaded!
Successfully download package
Extracting package...
100%|███████████████████████████████████████████| 19/19 [00:05<00:00, 3.25it/s]
Successfully extracted package
Flashing Unit...
DO NOT DISCONNECT!!
Flashing partition: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 223/223 [00:00<00:00, 1.78MB/s]
Flashing persist: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4.30M/4.30M [00:00<00:00, 56.2MB/s]
Flashing oem: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4.56M/4.56M [00:00<00:00, 56.3MB/s]
Flashing boot: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 23.3M/23.3M [00:00<00:00, 44.0MB/s]
Splitting Sparse Partition system.img @ /var/folders/7n/0pl133nj5klcphjwgb05nw2h0000gn/T/tmp49reowt3
Traceback (most recent call last):
File "flasher/flasher.py", line 277, in <module>
File "flasher/flasher.py", line 164, in flash_all
File "flasher/flasher.py", line 212, in flash_img
File "subprocess.py", line 368, in check_call
File "subprocess.py", line 349, in call
File "subprocess.py", line 951, in __init__
File "subprocess.py", line 1821, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/7n/0pl133nj5klcphjwgb05nw2h0000gn/T/_MEI0X374O/simg2simg'
[1701] Failed to execute script 'flasher' due to unhandled exception!
macbook@MacBooks-MacBook-Air Desktop %