This is the open-source firmware for the Zaunkoenig M1K.
This is how to install a new firmware on the M1K on Windows:
- Download the command-line programmer for Atmel USB microcontrollers called «Atmel USB DFU Programmer».
- After you installed DFU Programmer open up the folder «dfu-prog-usb-1.2.2» and right click on atmel_usb_dfu.inf and click on «install».
- Copy the firmware files you want to install into the DFU Programmer folder. You need one file ending with .eep and one ending with .hex.
- Now you have to put the M1K into the «firmware update mode». There are two ways to do that. The first way is to short-circuit the two golden pins to the right side of the left switch: you know you succeeded when the mouse cursor freezes. However, for this method you have to open your mouse. The other way is possible without having to open up your M1K:
- Plug in your mouse while holding down both mouse buttons. After five seconds the cursor will move clockwise in a square to indicate that Angle Snapping and LOD have been changed to default values. This time though, do not let go of your mouse buttons yet. Keep them pressed down for five more seconds until your mouse cursor has frozen. What follows is how you would install a firmware called example.hex:
- Start the Windows Command Prompt and execute the following:
cd c:\program files (x86)\dfu-programmer-win-0.7.2
- Now run the following four commands:
dfu-programmer atmega32u2 erase --force
dfu-programmer atmega32u2 flash example.hex
dfu-programmer atmega32u2 flash-eeprom example.eep --force
dfu-programmer atmega32u2 start
- After you executed the start command your mouse should be up and running with the new firmware.