You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I recently added a new greatfet to the menagerie (bought one several years ago). There was a little confusion bringing the new device up-to-date. Having no build problems for the latest firmware and putting the device in DFU mode, I needed to first put the new firmware in RAM before updating the ROM
So:
(venv) loeppert@adl:/usb-hid/greatfet/firmware/greatfet_usb/build$ make greatfet_usb-flash
failed
but:
(venv) loeppert@adl:/usb-hid/greatfet/firmware/greatfet_usb/build$ make greatfet_usb-program
(venv) loeppert@adl:~/usb-hid/greatfet/firmware/greatfet_usb/build$ make greatfet_usb-flash
This updated as expected. I didn't see any such mention in the docs - which obviously I could update (but maybe I missed) as this is an open source project, but I wonder if others are having the same issue.
(venv) loeppert@adl:~/usb-hid/greatfet/firmware/greatfet_usb/build$ gf info
Found a GreatFET One!
Board ID: 0
Firmware version: git-v2021.2.1-64-g2409575
...
I'm using "Ubuntu 23.04", with a virtual env. for python 3.11
The error message for trying to flash without programming first is (again, the board is in DFU mode verified by lsusb)
:
(venv) loeppert@adl:~/usb-hid/greatfet/firmware/greatfet_usb/build$ make greatfet_usb-flash
[ 6%] Built target libopencm3
[ 12%] Built target libgreat_module_bsp
[ 21%] Built target libgreat
[ 22%] Built target libgreat_module_debug-backtrace
[ 24%] Built target libgreat_module_allocator
[ 27%] Built target libgreat_module_comms
[ 27%] Built target libgreat_module_ad970x
[ 27%] Built target libgreat_module_scheduler
[ 28%] Built target libgreat_module_ringbuffer
[ 33%] Built target libgreat_module_usb
[ 33%] Built target libgreat_module_usb_comms
[ 34%] Built target libgreat_module_gpio
[ 35%] Built target libgreat_module_uart
[ 36%] Built target libgreat_module_dac
[ 39%] Built target libgreat_module_sgpio
[ 84%] Built target greatfet_usb
[100%] Built target libgreatfet
[100%] Built target greatfet_usb.bin.elf
[100%] Built target greatfet_usb.bin
Trying to find a GreatFET device...
Traceback (most recent call last):
File "/home/loeppert/usb-hid/venv/bin/greatfet_firmware", line 8, in
sys.exit(main())
^^^^^^
File "/home/loeppert/usb-hid/venv/lib/python3.11/site-packages/greatfet/commands/greatfet_firmware.py", line 200, in main
device = parser.find_specified_device()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loeppert/usb-hid/venv/lib/python3.11/site-packages/greatfet/utils.py", line 219, in find_specified_device
device = self._find_greatfet(args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loeppert/usb-hid/venv/lib/python3.11/site-packages/greatfet/utils.py", line 312, in _find_greatfet
return GreatFET(serial_number=args.serial)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loeppert/usb-hid/venv/lib/python3.11/site-packages/greatfet/greatfet.py", line 33, in GreatFET
return GreatFETBoard.autodetect(**board_identifiers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loeppert/usb-hid/venv/lib/python3.11/site-packages/pygreat/board.py", line 72, in autodetect
if subclass.accepts_connected_device(**device_identifiers):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loeppert/usb-hid/venv/lib/python3.11/site-packages/pygreat/board.py", line 168, in accepts_connected_device
potential_device = cls(**device_identifiers)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loeppert/usb-hid/venv/lib/python3.11/site-packages/greatfet/boards/legacy.py", line 70, in init
raise DeviceNotFoundError()
greatfet.errors.DeviceNotFoundError
make[3]: *** [CMakeFiles/greatfet_usb-flash.dir/build.make:70: CMakeFiles/greatfet_usb-flash] Error 1
make[2]: *** [CMakeFiles/Makefile2:285: CMakeFiles/greatfet_usb-flash.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:292: CMakeFiles/greatfet_usb-flash.dir/rule] Error 2
make: *** [Makefile:222: greatfet_usb-flash] Error 2
Putting this out there to save someone some time in-case they have the same issue as me and the search engine finds this.
The text was updated successfully, but these errors were encountered:
Hi all,
I recently added a new greatfet to the menagerie (bought one several years ago). There was a little confusion bringing the new device up-to-date. Having no build problems for the latest firmware and putting the device in DFU mode, I needed to first put the new firmware in RAM before updating the ROM
So:
(venv) loeppert@adl:
/usb-hid/greatfet/firmware/greatfet_usb/build$ make greatfet_usb-flash/usb-hid/greatfet/firmware/greatfet_usb/build$ make greatfet_usb-programfailed
but:
(venv) loeppert@adl:
(venv) loeppert@adl:~/usb-hid/greatfet/firmware/greatfet_usb/build$ make greatfet_usb-flash
This updated as expected. I didn't see any such mention in the docs - which obviously I could update (but maybe I missed) as this is an open source project, but I wonder if others are having the same issue.
(venv) loeppert@adl:~/usb-hid/greatfet/firmware/greatfet_usb/build$ gf info
Found a GreatFET One!
Board ID: 0
Firmware version: git-v2021.2.1-64-g2409575
...
I'm using "Ubuntu 23.04", with a virtual env. for python 3.11
The error message for trying to flash without programming first is (again, the board is in DFU mode verified by lsusb)
:
(venv) loeppert@adl:~/usb-hid/greatfet/firmware/greatfet_usb/build$ make greatfet_usb-flash
[ 6%] Built target libopencm3
[ 12%] Built target libgreat_module_bsp
[ 21%] Built target libgreat
[ 22%] Built target libgreat_module_debug-backtrace
[ 24%] Built target libgreat_module_allocator
[ 27%] Built target libgreat_module_comms
[ 27%] Built target libgreat_module_ad970x
[ 27%] Built target libgreat_module_scheduler
[ 28%] Built target libgreat_module_ringbuffer
[ 33%] Built target libgreat_module_usb
[ 33%] Built target libgreat_module_usb_comms
[ 34%] Built target libgreat_module_gpio
[ 35%] Built target libgreat_module_uart
[ 36%] Built target libgreat_module_dac
[ 39%] Built target libgreat_module_sgpio
[ 84%] Built target greatfet_usb
[100%] Built target libgreatfet
[100%] Built target greatfet_usb.bin.elf
[100%] Built target greatfet_usb.bin
Trying to find a GreatFET device...
Traceback (most recent call last):
File "/home/loeppert/usb-hid/venv/bin/greatfet_firmware", line 8, in
sys.exit(main())
^^^^^^
File "/home/loeppert/usb-hid/venv/lib/python3.11/site-packages/greatfet/commands/greatfet_firmware.py", line 200, in main
device = parser.find_specified_device()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loeppert/usb-hid/venv/lib/python3.11/site-packages/greatfet/utils.py", line 219, in find_specified_device
device = self._find_greatfet(args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loeppert/usb-hid/venv/lib/python3.11/site-packages/greatfet/utils.py", line 312, in _find_greatfet
return GreatFET(serial_number=args.serial)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loeppert/usb-hid/venv/lib/python3.11/site-packages/greatfet/greatfet.py", line 33, in GreatFET
return GreatFETBoard.autodetect(**board_identifiers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loeppert/usb-hid/venv/lib/python3.11/site-packages/pygreat/board.py", line 72, in autodetect
if subclass.accepts_connected_device(**device_identifiers):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loeppert/usb-hid/venv/lib/python3.11/site-packages/pygreat/board.py", line 168, in accepts_connected_device
potential_device = cls(**device_identifiers)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loeppert/usb-hid/venv/lib/python3.11/site-packages/greatfet/boards/legacy.py", line 70, in init
raise DeviceNotFoundError()
greatfet.errors.DeviceNotFoundError
make[3]: *** [CMakeFiles/greatfet_usb-flash.dir/build.make:70: CMakeFiles/greatfet_usb-flash] Error 1
make[2]: *** [CMakeFiles/Makefile2:285: CMakeFiles/greatfet_usb-flash.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:292: CMakeFiles/greatfet_usb-flash.dir/rule] Error 2
make: *** [Makefile:222: greatfet_usb-flash] Error 2
Putting this out there to save someone some time in-case they have the same issue as me and the search engine finds this.
The text was updated successfully, but these errors were encountered: