📄 atmel 89 series flash programmer ver 3_0.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0059)http://www.kmitl.ac.th/~kswichit/Pgm89v31_web/Pgm89v31.html -->
<HTML><HEAD><TITLE>Atmel 89 Series Flash Programmer Ver 3.0</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="Muhammad Asim Khan" name=Author>
<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY>
<CENTER><B><I><FONT color=#000099><FONT size=+3>ATMEL 89 Series Flash
Microcontroller Programmer Ver 3.1</FONT></FONT></I></B>
<P><B><FONT size=+1><I>M Asim Khan</I>,<I> </I></FONT></B>
<B><I><FONT color=#009900><A
href="mailto:%20asimkhan@sat.net.pk">mailto:%20asimkhan@sat.net.pk</A></FONT></I></B></CENTER>
<BLOCKQUOTE>
<H2>
<HR width="100%">
<BR><FONT size=+1>Introduction</FONT></H2>This programmer was designed in view
of to be flexible, economical and easy to built, the programmer hardware
uses the standard TTL series parts and no
special components are used. The programmer is interfaced
with the PC parallel port and there is no special requirement for
the PC parallel port, so the older computers can also be used with this
programmer.
<H2><FONT size=+1>Supported Devices</FONT></H2>The programmer software
presently supports the following devices <BR>
<BLOCKQUOTE><FONT color=#000000><FONT
size=+1>AT89C51
AT89S51
AT89C1051U
D87C51</FONT></FONT> <BR><FONT color=#000000><FONT
size=+1>AT89C52
AT89S52
AT89C2051
D87C52</FONT></FONT> <BR><FONT color=#000000><FONT
size=+1>AT89C55
AT89S53
AT89C4051</FONT></FONT> <BR><FONT color=#000000><FONT
size=+1>AT89C55WD
AT89S8252</FONT></FONT> <BR><FONT color=#000000><FONT
size=+1>AT89C51RC</FONT></FONT></BLOCKQUOTE>Note: For 20 pin devices a
simple interface adapter is required.
<H2><B><FONT size=+1>Hardware</FONT></B></H2>Figure 1 shows the circuit
diagram of the Flash Programmer, the programmer is
interfaced with the standard parallel port of the PC. As
shown in the diagram U2 is used to control the data flow between
the controller and the PC, U4 latched the low order address byte
and U5 latched the high order address byte, while U3 is used
to generate the control signals for micro controller to be programmed.
IC U1 is used to generate the
program pulse for the u-controller. The power supply section uses U8 to
generate the logic 5V supply while the U7 is used to provide
the programming supply voltage to
controller. IC U6 is used to generate the VCZ power supply voltage for
the u-controller which is selectable either 5v or 6v5.
<P>The power to the circuit is
provided by a wall adapter of 18V output, or it can be powered by
a 15V 100mA transformer.
<P>For the adjustment of P1, P2 and P3 use a digital multimeter & follow
the steps shown below,
<P>1. Connect power to the programmer & start the program, in the
Help menu select the Adjust <BR> Voltages option, move
to Vcz Setting menu.
<P>2. Select "Vcz 6V5" option, adjust Vcz voltage to 6.5v across
pin 20 & 40 of ZIF using P1 variable.
<P>3. Also check the 5v output across pin 20 & 40 by selecting the
5v option .
<P>4. Move to Vpp setting options, select "Vpp 12V75" option,
adjust Vpp voltage to 12.75v across <BR> pin 20 &
31 of ZIF socket using the P2 variable.
<P>5. Next select "Vpp 12V0" option, adjust Vpp voltage to 12.0v
across pin 20 & 31 of ZIF using <BR> the P3
variable.
<P>6. Re-check all the options in Vpp Setting menu.
<BR> </P></BLOCKQUOTE><IMG height=754
src="Atmel 89 Series Flash Programmer Ver 3_0.files/PGM89V31.gif" width=1004>
<CENTER>
<P><B><FONT color=#000099>Figure 1: Circuit Diagram of Flash
Programmer V3.1</FONT></B></CENTER>
<P><BR>
<BLOCKQUOTE>Figure 2 shows the circuit diagram of the interface adapter card
required for programming the 20 pin Flash devices.</BLOCKQUOTE><IMG height=394
hspace=100 src="Atmel 89 Series Flash Programmer Ver 3_0.files/Adpx051v3.gif"
width=551>
<CENTER>
<P><B><FONT color=#000099>Figure 2: Interface Adapter circuit
diagram V3.1</FONT></B></CENTER>
<BLOCKQUOTE>
<H2><B><FONT size=+1>Constructing the Board</FONT></B></H2>The prototype board
may be built using universal PCB with point-to-point wiring.
<P>If you want to make your own PCBs, then download the <A
href="http://www.kmitl.ac.th/~kswichit/Pgm89v31_web/PDF-Pcbs.zip">PDF-PCBs.zip</A>
file which contains the pcbs files in PDF format, if you have Orcad 9 then
download the max files of the programmer, <A
href="http://www.kmitl.ac.th/~kswichit/Pgm89v31_web/OrCad-Pcb.zip">Orcad-Pcbs.zip</A>
<P>For the bill of material of the project view the text file <A
href="http://www.kmitl.ac.th/~kswichit/Pgm89v31_web/Pgm89v31PartList.txt">Pgm89v31PartsList.txt</A></P></BLOCKQUOTE>
<BLOCKQUOTE>
<H2><BR><B><FONT size=+1>Software</FONT></B></H2>Download the <A
href="http://www.kmitl.ac.th/~kswichit/Pgm89v31_web/Pgm89v31.zip">Pgm89v31.zip</A>
file, this zip file contains the main program and the i/o port driver for
windows 2000 & XP. Place all files in the same folder, for win 95/98
use the "Pgm89v31.exe" file, for win 2000 & XP <BR>use the "Pgm89XP.bat"
file. The main screen of the program is shown in figure 3.
<P>Following are the main features of this software,
<BLOCKQUOTE>
<LI>Read and Write the Intel Hex File
<LI>Read Chip info
<LI>Clear, Fill & Edit Program Buffer
<LI>Verify with Program Buffer
<LI>Reload current Hex File
<LI>Display Data Checksum
<LI>Program selected Lock Bits & ISP fuse
<LI>Parallel Port Selection LPT1, 2 & 3
<BR> </LI></BLOCKQUOTE><B>Note:</B>
<P>In order to insure safe insertion &
removal of the u-controller from programmer ZIF
socket make sure programmer power supply is turned on before
starting the program and the red LED D1 must be turned off when
the program is started. The u-controller should be placed or removed from the
ZIF socket when the red LED D1 is off.
<P>The software does not provide the
erase command because this function is
performed automatically during device programming. If you are required to
erase the controller first use the clear buffer
command in <BR>edit menu then program the controller, this will erase the
controller memory.
<P>Also note that the programmer may not work correctly with PCs and Laptops
which uses the 3.3v supply for <BR>the parallel port operation, since the
programmer is using the HC type cmos ics at 5v the minimum high level
<BR>requirement is 3.5v for proper operation of the programmer. There are two
solutions for this problem,
<P>1. use all ics of HCT type, they should work down to 2v high level. LS type
ics are not recommended because <BR> of their very high
current requirement. <BR>2. use a 74HCT541 buffer ic to convert the 3.3v level
to 5v level, only D0 to D7 signals require conversion. <BR>
<P><IMG height=413 hspace=55
src="Atmel 89 Series Flash Programmer Ver 3_0.files/PGM89V31s.png" width=555>
<CENTER>
<P><B><FONT color=#000099>Figure 3: Main screen of the program
PGM89v31</FONT></B></CENTER>
<P><BR></P></BLOCKQUOTE>
<HR width="100%">
<BR><B>This Flash Programmer was designed by <A
href="mailto:%20asimkhan@sat.net.pk">M Asim Khan</A>. Revised 09.july.2003</B>
<BR><B>Any bug reports or suggestion of using the Flash Programmer are
welcome.</B>
<CENTER>
<HR width="100%">
</CENTER>
<P><A href="http://chaokhun.kmitl.ac.th/~kswichit"><IMG height=48
src="Atmel 89 Series Flash Programmer Ver 3_0.files/icon0.gif" width=323
border=0></A> </P></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -