-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution of update command failed under Arch Linux #153
Comments
Can you please try: |
[user]~> cynthion update --mcu-firmware |
Try pressing PROGRAM. This should cause LEDs B-D to turn off. Then try:
What output does that give you? |
@qrvstw Do you happen to be using Arch on top of Windows Subsystem for Linux? |
[user]~> fwup-util --device 1d50:615c --info Target found! |
"Do you happen to be using Arch on top of Windows Subsystem for Linux?" No, it is a native installation. Today I have updated the following packages and try the update again: [user]~> cynthion update |
Can you show us what is reported by |
It works now. The update process was successfully and said "Operation complete!". |
During the update process you will see three different devices appear:
|
I have installed on my Arch Linux the cynthion version 0.1.2. During the
execution of update coomand I get errors. Here is the output from my terminal:
[user]
> cynthion setup —check> cynthion infoChecking: Linux udev rules
✅ 54-cynthion.rules is present
✅ 54-cynthion.rules matches factory rules
All checks completed successfully.
[user]
Detected a Cynthion device!
Hardware: Cynthion r1.4
Serial number: ELGCYXKMGJJVCIBAEAMDCJAOQN
Firmware version: v1.0.1
USB API version: 1.0
Flash UID: 0000000000000000
[user]~> cynthion update
Updating FPGA configuration flash with 253603 bytes…
Operation complete!
Updating device firmware with 13816 bytes…
Traceback (most recent call last):
File "/usr/bin/cynthion", line 8, in
sys.exit(main())
^^^^^^
File "/usr/lib/python3.12/site-packages/cynthion/commands/cli.py", line 112, in
main
args.func(device, args)
File "/usr/lib/python3.12/site-packages/cynthion/commands/cynthion_update.py",
line 21, in cynthion_update
flash_mcu_firmware(device, find_cynthion_asset("apollo.bin"))
File "/usr/lib/python3.12/site-packages/cynthion/commands/util.py", line 134,
in flash_mcu_firmware
board.program(firmware, status_callback=lambda written, _:
progress.update(written))
File "/usr/lib/python3.12/site-packages/fwup/dfu.py", line 278, in program
self.__raw_write_page(page_address, data_to_program)
File "/usr/lib/python3.12/site-packages/fwup/dfu.py", line 248, in
__raw_write_page
self.__dfu_out_request(self.DFU_DOWNLOAD, block_number, data)
File "/usr/lib/python3.12/site-packages/fwup/dfu.py", line 191, in
__dfu_out_request
self.device.ctrl_transfer(self.USB_CLASS_OUT_REQUEST_TO_INTERFACE, request,
value,
File "/usr/lib/python3.12/site-packages/usb/core.py", line 1080, in
ctrl_transfer
self._ctx.managed_claim_interface(self, interface_number)
File "/usr/lib/python3.12/site-packages/usb/core.py", line 113, in wrapper
return f(self, args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/usb/core.py", line 178, in
managed_claim_interface
self.backend.claim_interface(self.handle, i)
File "/usr/lib/python3.12/site-packages/usb/backend/libusb1.py", line 829, in
claim_interface
_check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
File "/usr/lib/python3.12/site-packages/usb/backend/libusb1.py", line 604, in
_check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found
The text was updated successfully, but these errors were encountered: