[The following useful is old. I haven't been able to update it. It may or may not work. And read all comments below before executing commands.]
Here is a photo of the default layout: https://github.com/c4software/xd75re/blob/master/layout/default/default_layout_all_layer.jpg
Create you keyboard layout here: https://config.qmk.fm/#/xd75/LAYOUT_ortho_5x15
Click "Load Default" to bring up the default layout. Edit it or use your own layout.
Download the layout to a file because you will want to edit it later again. The layout
file will have a .json
extension.
Compile the layout. Download the firmware file. It will have a .hex
extension. Remember the path to it.
-
Install dfu-programmer. This package might be named differently depending on your distribution. Don't use dfu-util because that is something else that is not needed here.
-
Enter keyboard into bootloader mode. If you don't know how, try this: https://www.reddit.com/r/MechanicalKeyboards/comments/70jewt/xd75re_trouble_flashing_pcb/dn3lbro/
For the paperclip method: Connect the holes for a second. Then let go. Don't keep the paperclip connected. The paperclip does not have to go all the way inside the hole. Just connect the metal surrounding the hole to the other one.
- Once the keyboard is in bootloader mode, it will show up among the list of USB devices by a different name. Type
lsusb
to get a usb device list. It should have a line that says:
Bus 00? Device 0??: ID 03eb:2ff4 Atmel Corp. atmega32u4 DFU bootloader
The Bus and Device id will differ on different PCs. These are only important if you are flashing different devices. The most important part is the name before "DFU bootloader". You will need that to tell the dfu-programmer utility how to flash the device. The dfu-programmer manual calls this the "target". In this case it is atmega32u4.
- On the command line:
sudo dfu-programmer atmega32u4 erase [--force]
sudo dfu-programmer atmega32u4 flash path/to/hex/file.hex
sudo dfu-programmer atmega32u4 reset
If you have any trouble, do a man dfu-programmer
and check the sections for the above commands (erase, flash, reset, etc.) to make sure you're using the command properly for your dfu-programmer version.
- Type
lsusb
. TheAtmel Corp.... DFU
entry will have disappeared. You might see a line that says,cdcd:7575
. That should be the keyboard.
Your keyboard should work now. Control the lighting by assigning buttons. Go back to https://config.qmk.fm and look under the Keycodes section. It should say: Keyboard settings. Then another section called: RGB Lighting settings. Assign them to keys and experiment to get lighting you can tolerate.
Hi,
I just flashed a recent xd75re. First, thanks a lot for the information, I think it is the most straightforward way to configure the keyboard ! But on the command line, there is some bug and I did the following commands:
sudo dfu-programmer atmega32u4 erase
sudo dfu-programmer atmega32u4 flash path/to/hex/file.hex
sudo dfu-programmer atmega32u4 reset
So, always specified the target, and --force seems to not be an option anymore. Also, suggesting a man dfu-programmer for more info would be usefull ! I didn't know why the name would work.
Thanks for the step-by-step guide.