I bought a 2nd hand stk500 to ensure I can reprogram fuses on various atmel chips.
High voltage programming
= DIP 28 - Config A
- Atmega8/ Atmega328p - HVPP
- attiny2313a - ISP
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
Wire As Shown in the image below.
- PORTD -> PROG CTRL
- PORTB -> PROG DATA
- VTARGET: o=o
- AREF: o o
- RESET: o=o
- XTAL1: o=o
- OSCEL: o o=o
- BSEL: o o=(to PC2)
- 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:
Assuming no errors you are now ready for high voltage programming.