keyboards/durgod/k3x0/readme.md
This K3X0 code is shared between both the ANSI and ISO variants of both the K310 full-sized 104/105-key and K320 TKL 87/88-key keyboards.
Instructions for building the K310 and K320 firmware can be found here:
Unplug USB cable.
Open the keyboard case - there are plenty of youtube videos in that, but you will basically need 2 prying tools and a certain amount of force.
After opening the keyboard, put the PCB upsides down, and the controller should be near the LEDs, and make sure it's using the right controller (SMT32).
Use the cable to short Boot0 to Vdd, by shorting R21 to C27 on the sides closest to the processor, as shown:
While shorting both contacts as instructed in step 4, plug in the USB cable.
When the USB cable is fully inserted, the LEDs should not turn on and the keyboard it's not able to type, you are probably on bootloader mode, to be sure:
dfu-util --list
Now that you are sure to be in bootloader mode, you can backup the original firmware and flash QMK Firmware.
If it does not behave like described, remove the cable and go back to step 4.
dfu-util -a 0 -d 0483:DF11 -s 0x08000000 -U k3x0_original.bin
# k310
qmk flash -kb durgod/k310 -km default
# k320
qmk flash -kb durgod/k320 -km default
For repeating Flashing you can use BootMagic Lite has been enabled by default and assigned to the "Esc" key: