Hi MoffKalast,
I tried to perform the firmware upgrade as you have suggested and Im getting the following error,
rosrun ubiquity_motor upgrade_firmware.py --device=/dev/ttyUSB1 --file v40_20201209_enc.cyacd
Welcome to the Ubiquity Robotics Firmware Updater!
Please make sure that you are not running any ROS nodes.
- sudo systemctl stop magni-base
Note: Updating the firmware requires access to the internet.
Updating firmware now. Do not power off the robot. This is expected to take less than a minute.
(‘Encryption:’, True)
Writing row 54 for 0 process at 0.00 percent completion
Traceback (most recent call last):
File “/home/raj-mailapalli/Haystack_ws/src/ubiquity_magni_silver_driver/ubiquity_motor/scripts/upgrade_firmware.py”, line 490, in
send__encrypted_program_row(ser, flash_id, row_number, data)
File “/home/raj-mailapalli/Haystack_ws/src/ubiquity_magni_silver_driver/ubiquity_motor/scripts/upgrade_firmware.py”, line 347, in send__encrypted_program_row
p.send()
File “/home/raj-mailapalli/Haystack_ws/src/ubiquity_magni_silver_driver/ubiquity_motor/scripts/upgrade_firmware.py”, line 262, in send
raise Exception("Packet did not start with valid status, instead: " + cstr(status_code) + " – header: " + cstr(header))
Exception: Packet did not start with valid status, instead: ← [‘0x4’] – header: ← [‘0x1’, ‘0x4’, ‘0x0’, ‘0x0’]
and
rosrun ubiquity_motor upgrade_firmware.py --device=/dev/ttyUSB1
Welcome to the Ubiquity Robotics Firmware Updater!
Please make sure that you are not running any ROS nodes.
- sudo systemctl stop magni-base
Note: Updating the firmware requires access to the internet.
Please enter your email address: k.manodhayan@mobiveil.co.in
An access token was sent to your email address
Please enter your access token: e2bcdcbe614f60a2
What version would you like (press enter for latest):
Updating firmware now. Do not power off the robot. This is expected to take less than a minute.
(‘Encryption:’, True)
Traceback (most recent call last):
File “/home/raj-mailapalli/Haystack_ws/src/ubiquity_magni_silver_driver/ubiquity_motor/scripts/upgrade_firmware.py”, line 434, in
silicon_id, silicon_rev, bootloader_version = send__enter_bootloader(ser)
File “/home/raj-mailapalli/Haystack_ws/src/ubiquity_magni_silver_driver/ubiquity_motor/scripts/upgrade_firmware.py”, line 317, in send__enter_bootloader
p.send()
File “/home/raj-mailapalli/Haystack_ws/src/ubiquity_magni_silver_driver/ubiquity_motor/scripts/upgrade_firmware.py”, line 262, in send
raise Exception("Packet did not start with valid status, instead: " + cstr(status_code) + " – header: " + cstr(header))
Exception: Packet did not start with valid status, instead: ← [‘0x4’] – header: ← [‘0x1’, ‘0x4’, ‘0x0’, ‘0x0’]
could you please check this out?
Also could you please mention the python version and version information for the python packages used in upgrade_firmware.py?