Atmel STK500 is controlled from Atmel Studio and AVR Studio 4.0 and higher.
To program a hex file into the target Atmel AVR device, we reffer to the userguide of the Atmel Studio version you currently use.