📄 der-hammer hvprog.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0046)http://www.der-hammer.info/hvprog/index_en.htm -->
<HTML><HEAD><TITLE>der-Hammer: HVProg</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content=HVProg name=TITLE>
<META
content="HVProg is a parallel high voltage programmer for ATMEL AVR microcontrollers based on the original STK500"
name=DESCRIPTION>
<META
content="AVR ; ATMEL ; microcontroller ; mikrocontroller ; high-voltage ; ISP ; programmer ; serial-programming; STK500 ; rebuild ; circuit ; free ; schematic ; board ; hobby ; selfmade"
name=KEYWORDS>
<META http-equiv="VW96.OBJECT TYPE" content=Manual>
<META content=ALL name=ROBOTS>
<META content="1 month" name=REVISIT-AFTER>
<META http-equiv=Language content=en>
<META content="Tobias Hammer" name=author>
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD align=middle width="35%"><A href="http://www.der-hammer.info/"><IMG
src="der-Hammer HVProg.files/logo.jpg" border=0></A> </TD>
<TD vAlign=top align=right width="45%"></TD>
<TD>
<TD vAlign=top align=left width="20%"><A
href="http://www.der-hammer.info/projekte.htm"><IMG
src="der-Hammer HVProg.files/b_back.jpg" border=0></A> </TD></TR>
<TR>
<TD vAlign=top align=middle colSpan=8><IMG height=2 src="" width="90%"
border=0></TD></TR></TBODY></TABLE><BR>
<TABLE cellPadding=20 width="90%" align=center border=1>
<TBODY>
<TR>
<TD>
<TABLE width="100%" align=center border=0>
<TBODY>
<TR>
<TD width="60%">
<H1>HVProg</H1></TD>
<TD align=right><A
href="http://www.der-hammer.info/hvprog/index.htm"><IMG
src="der-Hammer HVProg.files/de.gif" border=0></A> <IMG
src="der-Hammer HVProg.files/spacer.gif" width=20 border=0
heigth="1"> <A
href="http://www.der-hammer.info/hvprog/index_en.htm"><IMG
src="der-Hammer HVProg.files/gb.gif" border=0></A>
</TD></TR></TBODY></TABLE>
<UL>
<LI>Compatible with AvrStudio
<LI>Supports all AVR Controllers
<LI>Parallel and serial High-Voltage-Programming
<LI>Small and easy layout with only a few parts
<LI>STK500 protocol
<LI>Schematics and board layout available </LI></UL><BR>
<H2><A name=einleitung>Introduction</A></H2>The project started as an
enhancement of <A
href="http://www.siwawi.arubi.uni-kl.de/avr_projects/index.html"
target=_blank>Martin Thomas</A> <A
href="http://www.siwawi.arubi.uni-kl.de/avr_projects/evertool/index.html"
target=_bank>Evertool project</A>. He has rebuilt the AVRISP and JTAG
adapter with only a few parts. Unfortunately they both don't support
high-voltage programming modes - the only possibility to 'rescue' AVR
controllers when you i.e disabled the reset or SPI fuses. The only widely
available possibility was the <A
href="http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2735"
target=_blank>STK500 from ATMEL</A>.<BR>HVProg is a redesign of the
original STK500 without all components of a development board. It is based
on the original ATMEL schematics that are freely available on the net (i.e
at <A href="http://www.avrfreaks.net/" target=_blank>avrfreaks.net</A>).
The main target was to keep all nessecary functionality to programm all
available AVR controllers in every programming mode that the STK500
supports.<BR><BR><I>If you look for a development board for ATMEL AVR
controllers you better buy the <B>original</B> STK500. If you only need an
ISP programming adapter the AVRISP included in Evertool is better suited
for you!</I> <BR><BR><BR><B>Please consider:</B>
<UL>
<LI>HVProg can't replace a real development board and will never do
<LI>No ESD protoction
<LI>HVProg in the Basic-Version needs a stabilized 12V and 5V input
voltage
<LI>For one step a working programmer is needed (AvrProg compatible
prefered, see software section)
<LI>HVProg has only been tested in 5V environments </LI></UL>There are
<B>two</B> versions of the project available:<BR>
<UL>
<LI><B>The Basic-Version</B> has seperate connectors for the different
programming modes and is <I>only</I> available as schematic. It needs a
stabilized 5V and 12V input voltage and is supposed to be used for own
board development. This version will not be updated except to the
correction of errors.<BR><BR>
<LI>The <B>Advanced-Version</B> is available as schematic and board
layout. Adapter boards for HV-Programming will be ready soon and a good
tutorial how to build a case for HVProg is linked. This version needs an
unstabilized input voltage of at least 15V (AC or DC). </LI></UL><BR>
<H2><A name=programmierschnittstellen>Programming interfaces</A></H2>
<H3>Basic-Version</H3>
<UL>
<LI>6 Pin ISP
<LI>10 Pin ISP
<LI>Serial-High-Voltage Programming (no standard connector)
<LI>Parallel-High-Voltage Programming (STK500 compatible control und
data connectors and one connector with other needed signals) </LI></UL>
<H3>Advanced-Version</H3>
<UL>
<LI>6 pin ISP
<LI>20 pin connector for ISP, parallel and serial high-voltage
programming </LI></UL><BR>
<H2><A name=changelog>Changelog</A></H2>
<UL>
<LI>03.10.2004 -> First version released (V0.2)
<LI>05.10.2004 -> Schematics as eagle file released
<LI>06.11.2004 -> Version 0.3 with less parts
<LI>24.04.2005 -> Completely updated site with lots of new infos
<LI><B>29.09.2005 -> Programming problem solved. See
Software-Section</B> </LI></UL><BR>
<H2>Copyright</H2>The schematics, boards and every other available
information on this site are freely available for noncommercial use only.
I am not responsible if anything get damaged by my circuits or by false
information provided or any other reason. I am also not responsible for
linked content. These sites are property of their owners. <BR><BR>
<H2><A name=hardware>Hardware</A></H2>
<H3>Basic-Version (v0.3)</H3>
<UL>
<LI>Schematic (Eagle-Format, Freeware 4.11): <A
href="http://www.der-hammer.info/hvprog/dl/hvprog_03.sch"
type=application/x-eagle>Download</A><BR>
<LI>Schematic as gif-file (~400kb): <A
href="http://www.der-hammer.info/hvprog/dl/hvprog_03.gif"
target=_blank>Download</A><BR>
<LI>Part list as txt: <A
href="http://www.der-hammer.info/hvprog/dl/hvprog_03_parts.txt">Download</A><BR></LI></UL>
<H3>Advanced version (v0.5)</H3>
<UL>
<LI>Schematic (Eagle-Format): <A
href="http://www.der-hammer.info/hvprog/dl/hvprog_05.sch"
type=application/x-eagle>Download</A><BR>
<LI>Schematic as gif-file: <A
href="http://www.der-hammer.info/hvprog/dl/hvprog_05.gif"
target=_blank>Download</A><BR>
<LI>Board (Eagle-Format): <A
href="http://www.der-hammer.info/hvprog/dl/hvprog_05.brd"
type=application/x-eagle>Download</A><BR>
<LI>Case: At <A href="http://www.avr-projekte.de/"
target=_blank>avr-projekte.de</A> is a very good guide how to build a
case for HVProg. The site is in german but with lots of self explaining
pictures so give it a try: <A
href="http://www.avr-projekte.de/Programmer.htm" target=_blank>To the
guide</A><BR>
<LI>Pictures of the assembled PCB are <A
href="http://www.der-hammer.info/hvprog/index_en.htm#bilder">lower on
this site</A> <A></LI></UL><BR>
<H3><A name=anschluesse>Connector details</A></H3>
<UL>
<LI><B>ISP</B>: The connector is compatible with the ATMEL standard (see
<A href="http://www.atmel.com/dyn/resources/prod_documents/doc1925.pdf"
target=_blank>STK500 User Guide</A> page 51)<BR><BR>
<LI><B>HV-Seriel</B>: (For exact pinning check the appropriate
controller datasheet. Section Memory Programming/High Voltage Serial
Programming)<BR><BR>
<TABLE cellSpacing=0 cellPadding=4 width="75%" border=1>
<TBODY>
<TR>
<TD align=middle width="30%"><B>Pin name</B></TD>
<TD align=middle><B>uC pin</B></TD>
<TR>
<TD align=left>SWCLK</TD>
<TD>XTAL1</TD></TR>
<TR>
<TD align=left>TRST</TD>
<TD>Reset (High Voltage Enable Jumper must be set)</TD></TR>
<TR>
<TD align=left>PPD0</TD>
<TD>'Serial Data Input' (usually PB0)</TD></TR>
<TR>
<TD align=left>PPD1</TD>
<TD>'Serial Instr. Input' (usually PB1)</TD></TR>
<TR>
<TD align=left>PPD2</TD>
<TD>'Serial Data Output' (usually PB2)</TD></TR></TBODY></TABLE><BR><BR>
<LI><B>HV-Parallel</B>: For special connections check <A
href="http://www.atmel.com/dyn/resources/prod_documents/doc1925.pdf"
target=_blank>STK500 User Guide</A> (Table 3-3 page 21, look for BSEL2
and PJUMP) <BR><BR>
<TABLE cellSpacing=0 cellPadding=4 width="75%" border=1>
<TBODY>
<TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -