Stk500

From mems wiki
Jump to: navigation, search

Contents

About

http://www.atmel.com/tools/STK500.aspx

I bought a 2nd hand stk500 to ensure I can reprogram fuses on various atmel chips.

High voltage programming

= DIP 28 - Config A

Chips supported

  • Atmega8/ Atmega328p - HVPP
  • attiny2313a - ISP

Notes

attiny2313a: most docs point to parallel high voltage programming not being reliable on these chips and I had a shitty time trying. I assume (still learning) this is what they used to call HVSP (High Voltage Serial Programming). Anyway the most important thing is you are able to set fuses and change them. When testing it noted it threw errors setting fuses but after finishing and doing a manual verify fuses are as I desired.

It also throws errors


Setup

Wire As Shown in the image below.


Stk500 highvoltage atmega8 programmer.jpg

  • PORTD -> PROG CTRL
  • PORTB -> PROG DATA

Jumpers:

  • VTARGET: o=o
  • AREF: o o
  • RESET: o=o
  • XTAL1: o=o
  • OSCEL: o o=o
  • BSEL: o o=(to PC2)
  • PJUMP:

o=o

o=o

  • connect a serial cable to RS232 CTRL and to your PC.
  • Power the SKT500
  • open ATMEL Studio
  • Click the Device Programming icon or hit CTRL+SHIFT+P
  • Select your chip from the Tool drop down menu. Mine is atmega328p
  • Click Apply (hopefully no errors).
  • Click Read under Device Signature, no errors should be reported.


Example of Programmer Dialog after successful reading of Device Signature:

Atmel studio device programming.png

Assuming no errors you are now ready for high voltage programming.