Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to build and flash QMK with DZ60 and Docker
# 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
@andys8

This comment has been minimized.

Copy link
Owner Author

@andys8 andys8 commented Feb 24, 2019

HS60 v2

Build

docker run -e keymap=iso_andys8 -e keyboard=hs60/v2 --rm -v $('pwd'):/qmk:rw edasque/qmk_firmware

Necessary when outdated

make git-submodule

Flash

Because chip is STM32F303C, use dfu-util

sudo dfu-util -D hs60_v2_iso_andys8.bin -R -d 0483:df11 -a 0 -s 0x08000000:leave

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

sudo make hs60/v2:iso_andys8:dfu-util

needs QMK dependencies installed

@andys8

This comment has been minimized.

Copy link
Owner Author

@andys8 andys8 commented Feb 25, 2019

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

@andys8

This comment has been minimized.

Copy link
Owner Author

@andys8 andys8 commented Apr 22, 2019

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

@trisimix

This comment has been minimized.

Copy link

@trisimix trisimix commented Jul 2, 2019

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

@andys8

This comment has been minimized.

Copy link
Owner Author

@andys8 andys8 commented Jul 2, 2019

@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 :)

@andys8

This comment has been minimized.

Copy link
Owner Author

@andys8 andys8 commented Dec 27, 2020

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