FPGA implementation of an Atmel AVR programmer speaking the STK500 protocol