Well, it sorta works sometimes. I tried synth-ing and flashing (from icestorm_examples) both blinky.v and rgb.v. In each case the program only partially works, so the code must be getting corrupted in some way. In both cases I get the same python exception from flash.py. Here’s the output:
D:\bruce\Documents\WebFPGA\webfpga_icestorm_examples>python flash.py bitstream.bin
Config 1
Interface 0,0
Endpoint 129
AT: Hi
API: C_WEBUSB+
APR: 010106
Found programmer.
Checking for FPGA module and its flash configuration...
APWE: wren
AMQ: SA016WHEe
AMBE: DONE
AMQ: SA016WHEE
AMW: OK
3413 !
Flashing complete
Exception ignored in: <function _AutoFinalizedObjectBase.__del__ at 0x000002769CED3A60>
Traceback (most recent call last):
File "C:\Python37\lib\site-packages\usb\_objfinalizer.py", line 84, in __del__
self.finalize()
File "C:\Python37\lib\site-packages\usb\_objfinalizer.py", line 144, in finalize
self._finalizer()
File "C:\Python37\lib\weakref.py", line 548, in __call__
return info.func(*info.args, **(info.kwargs or {}))
File "C:\Python37\lib\site-packages\usb\_objfinalizer.py", line 104, in _do_finalize_object_ref
obj._do_finalize_object()
File "C:\Python37\lib\site-packages\usb\_objfinalizer.py", line 71, in _do_finalize_object
self._finalize_object()
File "C:\Python37\lib\site-packages\usb\backend\libusb1.py", line 604, in _finalize_object
_lib.libusb_unref_device(self.devid)
OSError: exception: access violation writing 0x0000000000000024
D:\bruce\Documents\WebFPGA\webfpga_icestorm_examples>
The blue light does blink so I know there is communication with the programmer taking place. Any ideas?