Closed iBringsTheRuckus closed 3 months ago
Please press RESET and then try:
pip install --upgrade pyfwup
cynthion update --mcu-firmware
C:\Users\Admin\Documents>pip install --upgrade pyfwup
Requirement already satisfied: pyfwup in c:\users\admin\appdata\local\programs\python\python312\lib\site-packages (0.5.1)
Requirement already satisfied: pyusb in c:\users\admin\appdata\local\programs\python\python312\lib\site-packages (from pyfwup) (1.2.1)
Requirement already satisfied: tqdm in c:\users\admin\appdata\local\programs\python\python312\lib\site-packages (from pyfwup) (4.66.4)
Requirement already satisfied: colorama in c:\users\admin\appdata\local\programs\python\python312\lib\site-packages (from tqdm->pyfwup) (0.4.6)
C:\Users\Admin\Documents>cynthion update --mcu-firmware
Updating device firmware with 13876 bytes...
Operation complete!
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\weakref.py", line 666, in _exitfunc
f()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\weakref.py", line 590, in __call__
return info.func(*info.args, **(info.kwargs or {}))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\usb\_objfinalizer.py", line 106, in _do_finalize_object_ref
obj._do_finalize_object()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\usb\_objfinalizer.py", line 73, in _do_finalize_object
self._finalize_object()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\usb\backend\libusb1.py", line 613, in _finalize_object
_lib.libusb_unref_device(self.devid)
OSError: exception: access violation writing 0x0000000000000000
I hit the reset button and then did cynthion update --mcu-firmware Updating device firmware with 13876 bytes... Operation complete!
Which is great!
I then did cynthion update Updating FPGA configuration flash with 258874 bytes... Operation complete! Updating device firmware with 13876 bytes... Operation complete!
And it worked that time! No clue as to why it worked...
I suspect that the error had to do with another application or driver trying to talk to the device, so it may be that unpredictable conditions of other software changed.
I'm closing this since the problem went away, and I suspect that https://github.com/greatscottgadgets/pyfwup/pull/13 will prevent it from coming back.
I'm currently running an updated version of Windows 10. Python 3.12.4
I run
cynthion info --force-offline
and everything is normal. I ranpip install --upgrade cynthion
and went well.I then run
cynthion update
and receive the following error. After the error occurs, the C LED is continuously flashing.