#Programming the KC60 on a Mac
- Download and unzip the TKG-Toolkit from Github (click on download zip on the right).
- Download the Mac version of jq (it will be named
jq-osx-x86_64
or something similar)- rename the downloaded file to
jq
.
- rename the downloaded file to
- Install
dfu-programmer
using homebrewbrew install dfu-programmer
. - Go into the
tkg-toolkit-master/linux/bin
folder. - Rename The existing
jq
file tojq.bak
or something similar and drag in the newjq
file you just downloaded. - Exit the
bin
folder and return to thelinux
Folder. - Open the file called
reflash.sh
in a text editor. - Replace line 43 with:
eval "$line"
. - Place the
.hex
file from the online configurator into thelinux
folder. - Point your terminal to the
linux
folder- update the file permissions:
chmod +x reflash.sh setup.sh bin/jq
- update the file permissions:
- Run the setup script:
- from the
linux
folder run./setup.sh
- Select GHPad -> Default Firmware -> atmel_dfu Bootloader
- from the
- Run the reflash script:
./reflash.sh kc60.hex
(Note: Replacekc60.hex
with the name of you hex file if it has a different name.)- Press "y" when it asks you if you want to continue.
- When you see the message "Wating for Bootloader...", Flip over the keyboard and press the reset button.
Congrats! If everything works out you should get a "Success!" message.