mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-25 10:44:59 +06:00
9dcd03b6ca
* Set bootloader to stm32-dfu for STM32F303 * Set bootloader to stm32-dfu for STM32F0x2 * Set bootloader to stm32-dfu for STM32F4x1 * Set bootloader to stm32duino for sowbug * Delete redundant bootloader_defs headers * Add some missing MCU name comments * Move APM32 dfu-suffix overrides underneath bootloader * Remove redundant STM32_BOOTLOADER_ADDRESS defines/rules |
||
---|---|---|
.. | ||
keymaps | ||
config.h | ||
info.json | ||
k320.c | ||
k320.h | ||
readme.md | ||
rules.mk |
K320
This is a standard off-the-shelf Durgod Taurus K320 TKL (87/88-key) keyboard without backlight.
- Keyboard Maintainer: dkjer
- Hardware Supported: Durgod Taurus K320 board with STM32F070RBT6
- Hardware Availability: https://www.durgod.com/page9?product_id=47&_l=en
Instructions
Build
Make command example for this keyboard (after setting up your build environment):
make durgod/k320:default
Flashing example for this keyboard:
make durgod/k320:default:flash
See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide.
Initial Flash
For first Flashing from initial Stock's Firmware
- Back up original Firmware Image:
- Unplug
- Short Boot0 to Vdd (See below)
- Plug In USB
- Make a Flash Image's Backup in case you wanted to restore the Keyboard to Stock's Image:
-
Using DFUseDemo.exe from ST's STSW-STM32080: https://www.st.com/en/development-tools/stsw-stm32080.html
-
Using dfu-util:
dfu-util --list dfu-util --alt 0 --dfuse-address 0x08000000 --upload ${OLD_STOCK_BIN}
-
- Flash the QMK Firmware Image.
- Put board into Bootloader mode, using the same method as when backing up the original Firmware (above)
- Here are a few options for performing the initial Flash:
-
Using QMK Toolbox
-
Using DFuseDemo.exe if STTub30 driver is used.
-
Using dfu-util:
dfu-util --alt 0 --dfuse-address 0x08000000 --download ${NEW_QMK_BIN}
-
You can short Boot0 to Vdd by shorting R21 to C27 on the sides closest to the processor, as shown:
Subsequent Flashing
For repeating Flashing you can use BootMagic:
- BootMagic Lite has been enabled with Assigned "Esc" key
- Unplug USB Cable
- Holding Esc Button
- Plug in USB Cable, Keyboard should be in ST-Bootloader state