This guide is meant to help you get started with flashing compatible .hex files to your QMK powered keyboard. You have your choice of either flashing with the command line or with a tool called QMK Toolbox.
- You are on a computer running macOS.
- You have a stable internet connection.
- You currently have a .hex file for your keyboard.
These instructions are only needed if you want to use the command line to flash your board. If you would like to use QMK Toolbox, proceed to the next section.
- Download the qmksetup_macos.sh script.
- Open up the terminal app located in Applications/Utilities.
- Run the qmksetup_macos.sh script by typing the following in
Via terminal, navigate to where you downloaded the script. I suggest putting the script in root so you can type the following:
./qmksetup_macos.sh
- Wait awhile.
-
Download and install the latest version of QMK Toolbox. I suggest just getting the qmk_toolbox.pkg.
-
Using QMK Toolbox, select your firmware file.
-
Put your keyboard into reset. You should get a confirmation message on QMK Toolbox.
-
If your keyboard has an AVR microcontroller, ensure that the Microcontroller matches what is on your board. For example, a dz60, should have atmega32u4.
-
Press the Flash button and give it a moment.
-
You're done.
-
Open up a terminal.
-
Put your keyboard into reset.
-
If your keyboard uses atmel-dfu, erase the current firmware installed on your keyboard by typing:
dfu-programmer atmega32u4 erase --force
- Flash your new keymap by typing
dfu-programmer atmega32u4 flash pathtoyourfirmwarefile
- Take your keyboard out of reset by typing
dfu-programmer atmega32u4 reset
- You're done.