geekhack
geekhack Community => Keyboards => Topic started by: Plasma_000 on Thu, 28 December 2017, 00:43:17
-
I just received my GH60 PCB and I want to try using avrdude to flash my hex file into my GH60.
The atmega32u4 is being discovered by USB, but there is no port to use for programming (ls /dev/cu.* doesn't give me usbmux or anything), and even when I press the button on the bottom nothing seems to happen.
Anyone know what I'm doing wrong? total noob to keebs.
-
You should be able to flash the GH60 (any revision including the Satan fork) with the DFU programmer.
Assuming that you're on a (Debian based) Linux machine you can install it with
apt-get install dfu-programmer
Then put the board into bootloader mode by pressing the reset button and run these commands
dfu-programmer atmega32u4 erase --force
dfu-programmer atmega32u4 flash your_firmare.hex
dfu-programmer atmega32u4 reset
Obviously replace your_firmare.hex with the actual name of your file.
-
DFU-programmer works fine, i'm just wondering if it can be done with avrdude instead?
-
i'm just wondering if it can be done with avrdude instead?
Try the -c avr109 parameter.
-
Use 'flip1' as programmer option.
No device file for atmel dfu bootloader as far as I know, try 'usb' as port if the command requests.
Sent from my WAS-LX2J using Tapatalk