Replies: 1 comment 3 replies
-
It's vital to know which bootloader is installed on the m32u4. If it's a proprietary one that VirPil rolled then AVRDUDE is unlikely to be able to deal with it unless its protocol is compatible with the standard bootloader that the m32u4 ships and that If it is the original bootloader or a compatible one, just re-vendored: Your own definition of Note the And yes, the
That may be a red herring as the configuration table won't be needed for bootloading. I wonder why you got this, though. Using your part definition without the signature line AVRDUDE finds the configuration table: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a VirPil (VPC) joystick confirmed via visual chip inspection to be using a Mega32U4-MU (in my device). Virpil's own software (Windows only) looks to run under modern wine just fine except for firmware updates: but aggressively requires these, and refuses to configure before they are performed. I have no, and want no, access to windows; preferring instead to enable firmware updates within linux via AVRDUDE. But require some pointers on how to get this working ready for a PR here.
Current state is post failed (in wine using virpil software) firmware update with the following USB device now showing:
With their software debug option displaying (5 step):
and the following in system journal on the linux wine host:
User in games group and udev rules are in place to enable access, i.e. /dev/hidraw0 is created with group of "games".
An older [device report] 1 indicats Virpil previously did not USB re-vendor (VID) and used instead the upstream Atmel vendor ID at least for their boot-loader mode: presumably DFU.
Thus far I have added, to accommodate for the 3344 vendor ID presenting currently a flip1 variant thus:
Essentially identical bar usbvid to the existing flip1 entry in /usr/local/etc/avrdude.conf, I initially tried extending the existing flip1 entry by using the list for for usbvid but it was rejected, indicating only the first (original 0x03eb) was being used.
I have also, to accommodate the the :0002 VPC-BOOT USB PID, added a new device akin to the existing m32u4 entries.
Again I had to do a new devices as I had trouble with only the first, existing usbpid being accounted for.
N.B. I need to double check if only flip1 or this new m32u4vpc entry refused to use more than the first list entry when added.
I am running on openSUSE Tumblweed and have compiled my AVRDUDE instance using (from config file):
I intend to submit a PR on the required package names to extend the existing For RPM based systems on this when time resources allow. This was to enable the GUI and to be able to contribute if need be.
Current blocker
When selecting both the flip1vpc and the m32u4vpc in the avrdude-gui I now get the following:
And the command line invokation gives:
From this I'm assuming my next outstanding issue re adding compatibility to avrdude for this device is the:
and the numerous
Warning:&Error:results from the CLI invocation to read the signature.My apologies for reaching out when I'm obviously new to AVRDUDE but I would very much like to add compatibility for this manufacturers offerings as there is now quite the linux interest and the firmware update looks to be a show-stopper - and is likely best performed under AVRDUDE natively rather than within a deeply nested arrangement such as the Virpil Windows software under wine.
N.B. the apparent firmware file offered within the Virpil software was named:
And I have an open forum support post with Virpil on the format as it does not look like (but maybe akin to) intel-hex. However I first need to be able to demonstrate unerrering communication with their/my-devcies Mega32U4-MU chip over USB before hand.
Thanks in advance for any pointers anyone can given on this front. I think I'm close but missing something likely obvious from another's more informed perspective. And I would also like to submit any progress made via PR once I/we have an actual working instance at least for the single device I have here. Hopefully variants can then be added as folks discover AVRDUDE as a viable Linux workaround for Virpils lack of Linux support. Or potentially as a likely more reliable means to flash/update these devcies on Windows.
Beta Was this translation helpful? Give feedback.
All reactions