Created
April 24, 2018 22:04
-
-
Save andys8/0270b4c7e4bdc6dc0652755aaba6900c to your computer and use it in GitHub Desktop.
How to build and flash QMK with DZ60 and Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# press space + b and connect the usb port | |
# build | |
docker run -e keymap=iso_vim_arrow -e keyboard=dz60 --rm -v $('pwd'):/qmk:rw edasque/qmk_firmware | |
# flash | |
sudo dfu-programmer atmega32u4 erase --force | |
sudo dfu-programmer atmega32u4 flash dz60_iso_vim_arrow.hex | |
sudo dfu-programmer atmega32u4 reset |
Reset the EEPROM
Done on HS60:
Unplug -> Hold escape -> Plug in -> Unplug -> Release escape -> Plug in
Or
Compile with Bootmagic config set to "full" and hold SPACE
and BACKSPACE
HS60 Info
https://mechboards.co.uk/info-hs60/
To Reset:
Unplug
Hold Escape
Plug In
Unplug
Release Escape
To Flash:
Unplug
Hold Escape
Plug In
Flash using QMK Toolbox
sudo dfu-util -D hs60_v2_iso_andys8.bin -R -d 0483:df11 -a 0 -s 0x08000000:leave
took my like a year to find this, thanks
@trisimix I'm happy you did find it. I tried to post help in some places where I missed it. https://github.com/qmk/qmk_firmware/blob/master/keyboards/hs60/v2/readme.md
Maybe you can add it somewhere where you would have found it earlier :)
YMDK09
Firmware (online)
https://config.qmk.fm/#/ymdk/ymd09/LAYOUT
Firmware (own, recommended)
https://docs.qmk.fm/#/getting_started_docker
- Clone qmk repository
make git-submodule
sudo ./util/docker_build.sh ymdk/ymd09:andys8
sudo ./util/docker_build.sh ymdk/ymd09:andys8:flash # incl. flashing (reset with tweezers)
Flash only
- Open back
- Connect USB
- Connect reset pins with tweezers
sudo dfu-programmer atmega32u4 erase --force
sudo dfu-programmer atmega32u4 flash firmware_ymkd09_default.hex
sudo dfu-programmer atmega32u4 reset
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HS60 v2
Build
docker run -e keymap=iso_andys8 -e keyboard=hs60/v2 --rm -v $('pwd'):/qmk:rw edasque/qmk_firmware
Necessary when outdated
Flash
Because chip is STM32F303C, use
dfu-util
https://github.com/qmk/qmk_firmware/blob/master/docs/flashing.md#stm32
https://github.com/qmk/qmk_firmware/blob/6f30a6b4079684742c147741b98414b1b2350b0b/keyboards/hs60/v2/rules.mk#L47
Alternative: Build natively and use dfu-util
needs QMK dependencies installed