I finally cracked it. The problem seems to stem from the makefile. The makefile supplied with the HIDKeys project does not work with AVR Studio, because AVR Studio expects the output to be named project_name.hex, and also requires ELF binaries to be built for debugging. As such, I started by making ...