Hey guys,
I'm coming to the end of my very first custom keyboard build. It's been a learning curve for sure, but I'm looking forward to finishing! I've got AEK II keycaps, ALPS Blue switches and a wooden case from KBD Fans and its looking sweet! This thread has been a lifesaver, and thanks in particular to Hasu!!!
However I'm currently stuck flashing firmware on my Mac (Catalina). Steps taken so far:
installed brew using the Terminal - ==> Installation successful!
installed dfu-programmer using the Terminal (code copied from brew website) - ==> Installing dfu-programmer
==> Pouring dfu-programmer-0.7.2.catalina.bottle.tar.gz
🍺 /usr/local/Cellar/dfu-programmer/0.7.2: 9 files, 111.3KB
Then, using the steps here (https://github.com/tmk/tmk_keyboard/wiki#flash-firmware), i typed the following in to Terminal:dfu-util 0.9dfu-programmer atmega32u2 erase --force
This returns:dfu-util: unrecognized option `--force'
So i tried:dfu-util 0.9dfu-programmer atmega32u2 erase
This returns:dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to
http://sourceforge.net/p/dfu-util/tickets/You need to specify one of -D or -U
Usage: dfu-util [options] ...
-h --help Print this help message
-V --version Print the version number
-v --verbose Print verbose debug statements
-l --list List currently attached DFU capable devices
-e --detach Detach currently attached DFU capable devices
-E --detach-delay seconds Time to wait before reopening a device after detach
-d --device <vendor>:<product>[,<vendor_dfu>:<product_dfu>]
Specify Vendor/Product ID(s) of DFU device
-p --path <bus-port. ... .port> Specify path to DFU device
-c --cfg <config_nr> Specify the Configuration of DFU device
-i --intf <intf_nr> Specify the DFU Interface number
-S --serial <serial_string>[,<serial_string_dfu>]
Specify Serial String of DFU device
-a --alt <alt> Specify the Altsetting of the DFU Interface
by name or by number
-t --transfer-size <size> Specify the number of bytes per USB Transfer
-U --upload <file> Read firmware from device into <file>
-Z --upload-size <bytes> Specify the expected upload size in bytes
-D --download <file> Write firmware from <file> into device
-R --reset Issue USB Reset signalling once we're finished
-s --dfuse-address <address> ST DfuSe mode, specify target address for
raw file download or upload. Not applicable for
DfuSe file (.dfu) downloads
I'm scratching my head at this stage. It appears like 3 quick lines in Terminal would load my hex file (I created mine using Hasu's link at post #1), but the first line from the GitHub link above doesn't work.
Would anybody be able to help?
Thanks