Atmel STK500 Manual Firmware Upgrade

Atmel Studio will automatically detect any old Atmel STK500 firmware version and request the user to upgrade the firmware. If for some reason the upgrade fails (the serial cable is detached during upgrade, the power goes out, …) the next time the Atmel Studio tries to connect to the STK500, the board will not be detected and the automatic upgrade procedure will not start.

Following is a procedure on how to manually upgrade an STK500 board. This procedure should work in all cases. The procedure is slightly different for AVR Studio 4 and AVR Studio 5

AVR Studio 4

  1. Power off the Atmel STK500
  2. On the STK500, push the PROGRAM button while turning on the power.
  3. Make sure there is a serial connection between the PC and the STK500 DSUB9 marked RS232 CTRL
  4. Start AVR Studio 4, and from the Tools menu start the program ‘Avr Prog’
  5. Locate the firmware upgrade hex-file stk500.ebn by pushing the Browse button in the Avr Prog Hex File window. The path for the stk500.ebn for a normal AVR Studio 4 installation is C:Program FilesAtmelAVR ToolsSTK500STK500.ebn.
  6. Push the Program button in the Avr Prog Flash window. A progress bar will now appear while showing additional information messages. Wait until the verify operation is finished.
  7. Close the Avr Prog program
  8. Power off and on the STK500 PCB. The STK500 is now ready to be used with the new firmware.

Atmel Studio and AVR Studio 5

The AVR Prog program is not distributed with the Atmel Studio installer. There is a separate installer for a set of command line tools which also includes AVR Prog.

  1. Make sure the command line tools are installed
  2. Power off the Atmel STK500
  3. On the STK500, push the PROGRAM button while turning on the power.
  4. Make sure there is a serial connection between the PC and the STK500 DSUB9 marked RS232 CTRL
  5. Start ‘AvrProg.exe’. The default installation location is C:Program FilesAtmelAVR ToolsAvrProgAvrProg.exe or C:Program Files (x86)AtmelAVR ToolsAvrProgAvrProg.exe on 64-bit OS.
  6. Locate the firmware upgrade hex-file stk500.ebn by pushing the Browse button in the Avr Prog Hex File window. The path for the stk500.ebn for a normal Atmel Studio installation is C:Program Files (x86)AtmelAVR Studio 6.0toolsSTK500STK500.ebn.
  7. Push the Program button in the Avr Prog Flash window. A progress bar will now appear while showing additional information messages. Wait until the verify operation is finished.
  8. Close the Avr Prog program
  9. Power off and on the STK500 PCB. The STK500 is now ready to be used with the new firmware.