Closed Merlin04 closed 6 years ago
For some reason, the 0.3 programmer works with my board running 0.2.2, is this supposed to happen?
Also, when I try to program the boards for the first time after opening keyplus flasher, I get this error in the console:
Traceback (most recent call last):
File "keyplus_flasher.py", line 127, in setup_keyplus_label
self.device.open()
File "/usr/local/lib/python3.6/dist-packages/easyhid/easyhid.py", line 107, in open
raise HIDException("Failed to open device: HIDDevice already open")
easyhid.easyhid.HIDException: Failed to open device: HIDDevice already open
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "keyplus_flasher.py", line 985, in programDeviceHandler
widget.updateLabel()
File "keyplus_flasher.py", line 271, in updateLabel
self.setup_keyplus_label()
File "keyplus_flasher.py", line 137, in setup_keyplus_label
self.device.product_id
Exception: Error Opening Device: 0002:0015:03 | 4617:47872
If I click program again, I just get 0002:0017:03
, and the programming seems to have worked.
You can update your 0.2.2 board to 0.3 from the firmware update section of keyplus flasher. The 0.3 flasher should work fine with 0.2 boards. Keyplus must have not released the USB device properly last time you closed it leading to your last error. Restarting your computer should fix it.
Can I update it if I don't have an AVR programmer?
Yes, just go to the firmware update tab, select your hex, and press program.
When I try to, I get this error: Nothing is printed in the terminal.
Try press program again and it should work. I think the device just took longer too enter its bootloader than expected.
If you are running from source, it will be a good idea to checkout the specific git commit for the version you are using. You can use git checkout v0.3.0
, to checkout a specific version.
Like was mentioned before you should be able to use v0.3.0 to update the firmware hex. Note on the rev3 controllers, I was meaning to bump the firmware version to v0.3.0 before I sent them out, but I forgot. So they say they are v0.2.2 but should actually be v0.3.0. I'll make sure to add a note about this somewhere.
That worked, I forgot to close the issue.
I can't use version 0.3 because my keyplus mini boards have version 0.2.2, and I don't have an avr programmer to update it. The keyplus app doesn't detect any devices. No error messages are shown.