bin2hex converts a AVR-Binary to a .hex-File that is compatible to a Altera 16bitBlck-ROM/RAM. Usage: bin2hex avr.bin > avr.hex Installation of bin2hex: just copy it somewhere in the PATH: Example: cp bin2hex.exe /cygdrive/c/Program\ Files\ \(x86\)/Atmel/Studio/7.0/toolchain/avr8/avr8-gnu-toolchain/bin/