⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 p89progm.htm

📁 51编程器的全部制做资料和汉化的软件 一台商品化的编程器至少要几百元,仿真机价格更高,往往让初学者难以选择。这里介绍的一款国外电子网站推出的廉价51编程器
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0039)http://a51.diy.163.com/diy/p89progm.htm -->
<HTML><HEAD><TITLE>ATMEL 89 Series Flash Microcontroller Programmer Ver 3</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<META content=FrontPage.Editor.Document name=ProgId></HEAD>
<BODY bgColor=#99ccff>
<DIV align=center>
<DIV align=center>
<TABLE height=261 width="99%">
  <TBODY>
  <TR>
    <TD height=137>
      <TABLE borderColor=#000099 height=157 cellSpacing=0 width="100%" 
      bgColor=#000099 border=1>
        <TBODY>
        <TR>
          <TD width="100%" bgColor=#000099 height=153><FONT 
            color=#f1f0ff>51测试网&nbsp; HPPT://a51.diy.163.com&nbsp;&nbsp; 
            单片机入门</FONT> 
            <P><FONT color=#f1f0ff><IMG height=112 
            src="p89progm.files/DSCN3518.jpg" width=273 align=left 
            border=0>89c51xp版开发套件......自己动手成就未来<IMG height=31 
            src="p89progm.files/80.gif" width=88 border=0></FONT></P>
            <P> </P></TD></TR></TBODY></TABLE>
      <P align=center><FONT color=#000099 size=+2>ATMEL 89 Series Flash 
      Microcontroller Programmer Ver 3.0</FONT></P>
      <BLOCKQUOTE>
        <H2> </H2>
        <HR width="100%">
        <FONT size=+1>Introduction</FONT>This programmer was designed in view of 
        to be flexible, economical and easy to built, the programmer hardware 
        utilizes&nbsp; the&nbsp; standard&nbsp; TTL&nbsp; series&nbsp; parts and 
        no special components are used. The programmer is interfaced with the PC 
        parallel port and there is no&nbsp; special&nbsp; 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 
        supports the following Atmel devices<BR>&nbsp;<BR>&nbsp;
        <CENTER>
        <TABLE cols=4 width="70%" border=1>
          <TBODY>
          <TR>
            <TD><FONT color=#000000 size=+1>AT89C51</FONT></TD>
            <TD><FONT color=#000000 size=+1>AT89S51</FONT></TD>
            <TD><FONT color=#000000 size=+1>AT89C51RC</FONT></TD>
            <TD><FONT color=#000000 size=+1>AT89C1051U</FONT></TD></TR>
          <TR vAlign=center align=middle>
            <TD><FONT color=#000000 size=+1>AT89C52&nbsp;</FONT></TD>
            <TD vAlign=center align=middle><FONT color=#000000 
              size=+1>AT89S52</FONT></TD>
            <TD><FONT color=#000000 size=+1>AT89C55WD</FONT></TD>
            <TD><FONT color=#000000 size=+1>AT89C2051</FONT></TD></TR>
          <TR>
            <TD><FONT color=#000000 size=+1>AT89C55</FONT></TD>
            <TD><FONT color=#000000 size=+1>AT89S53</FONT></TD>
            <TD><FONT color=#000000 size=+1>AT89S8252</FONT></TD>
            <TD><FONT color=#000000 
        size=+1>AT89C4051</FONT></TD></TR></TBODY></TABLE></CENTER>
        <P>Note:&nbsp; 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&nbsp; is&nbsp; 
        interfaced&nbsp; with&nbsp; the&nbsp; standard parallel port of the PC. 
        As shown in the diagram U2 is used to control the data flow 
        between&nbsp; the&nbsp; controller&nbsp; and the PC, U4 latched the low 
        order address byte and U5 latched the high&nbsp; order address&nbsp; 
        byte, while&nbsp; U3 is used to generate the control signals for micro 
        controller to be programmed. IC&nbsp; U1&nbsp; is&nbsp; used&nbsp; 
        to&nbsp; generate&nbsp; the&nbsp; progrram pulse for the u-controller. 
        The power supply section uses U8 to generate the logic 5V supply while 
        the U7 is used to&nbsp; provide&nbsp; the&nbsp; programming&nbsp; 
        supply&nbsp; voltage&nbsp; to&nbsp; controller.&nbsp; IC U6 is used to 
        generate the VDD power supply voltage for the u-controller which is 
        selectable either 5v or 6v5. 
        <P>The&nbsp; power&nbsp; to&nbsp; the&nbsp; circuit&nbsp; is&nbsp; 
        provided&nbsp; by&nbsp; a wall adapter of 15 to 18V output, normally a 
        15V type adapter will provide&nbsp; a&nbsp; 19~20V&nbsp; output&nbsp; 
        voltage. As&nbsp; shown&nbsp; in the diagram the crystal X1 can be 
        replaced by a resonator in that case capacitors C4 and C5 are not 
        required. Place a small heatsink on U8 voltage regulator. 
        <P>For the adjustment of P1, P2 and P3 use a digital multimeter &amp; 
        follow the steps shown below, 
        <P>1.&nbsp; To adjust P1, temporarily connect T1 base to ground using 
        test clips then adjust P1 to get 6.5V at the<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
        output of regulator U6.<BR>2.&nbsp; Next first adjust P2 to get the 
        13.1V at the output of regulator U7, make sure transistor T5 is off 
        or<BR>&nbsp;&nbsp;&nbsp;&nbsp; temporarily connect the T5 base to ground 
        using test clips.<BR>3.&nbsp; Now temporarily short the collector of 
        transistor T5 to ground using test clips.<BR>3.&nbsp; Adjust P3 to get 
        the 12.1V at the output of U7 regulator IC.</P></BLOCKQUOTE><IMG 
      height=739 src="p89progm.files/Pgm89v3.gif" width=1022>
      <CENTER>
      <P><B><FONT color=#000099>Figure 1:&nbsp;&nbsp; Circuit Diagram of Flash 
      Programmer V3.0</FONT></B></CENTER>
      <P><BR>
      <BLOCKQUOTE>Figure 2 shows the circuit diagram of the interface adapter 
        card required for the programming of 20 pin Flash devices. 
      </BLOCKQUOTE><IMG height=394 hspace=100 src="p89progm.files/Adpx051v3.gif" 
      width=551>
      <CENTER>
      <P><B><FONT color=#000099>Figure 2:&nbsp;&nbsp; Interface Adapter circuit 
      diagram V3.0s</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. If 
        you want to make your own PCB, download the <A 
        href="http://alu.topcities.com/programmer/89spro3/PcbsPgm89v3.zip">PcbsPgm89v3.zip</A> 
        file which contains the printer files for the HP laser printer or 
        download the <A 
        href="http://alu.topcities.com/programmer/89spro3/PcbsPCX.zip">PcbsPCX.zip</A> 
        file which contains PCX graphics format pcb files. Figure&nbsp; 3&nbsp; 
        shows&nbsp; the&nbsp; components&nbsp; layout&nbsp; of&nbsp; the 
        programmer pcb. 
        <P>For printing the PRN files on laser printer run the following 
        command, this will print the all pcb files. 
        <P>COPY&nbsp; *.PRN&nbsp; PRN/B 
        <P>For the bill of material of the project view the file <A 
        href="http://alu.topcities.com/programmer/89spro3/Pgm89v3PartsList.txt">Pgm89v3PartsList.txt</A><BR>The 
        schematics and the pcbs of the project were designed using OrCAD 
        software.</P></BLOCKQUOTE>
      <CENTER>
      <P><BR><IMG height=316 src="p89progm.files/Layout.gif" 
      width=717><BR>&nbsp; 
      <P><B><FONT color=#000099>Figure 3:&nbsp;&nbsp; Components layout of the 
      Programmer PCB V3.0</FONT></B></CENTER>
      <BLOCKQUOTE>
        <H2><B><FONT size=+1>Software</FONT></B></H2><A 
        href="http://alu.topcities.com/programmer/89spro3/Pgm89v3.zip">Pgm89v3.zip</A>&nbsp; 
        file&nbsp; is used to run the programmer. This&nbsp; is a&nbsp; 
        Windows&nbsp; program&nbsp; which&nbsp; can&nbsp; be&nbsp; used&nbsp; 
        under<BR>Windows 95 &amp; 98. The main screen of the program is shown in 
        figure 4. 
        <P>Following are the main features of this software, 
        <BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></TR></TBODY></TABLE>
<LI>Read and Write the Intel Hex File 
<LI>Read Chip info 
<LI>Clear, Fill &amp; Edit Program Buffer 
<LI>Verify with Program Buffer 
<LI>Reload current Hex File 
<LI>Display Data Checksum 
<LI>Program selected Lock Bits &amp; ISP fuse 
<LI>Parallel Port Selection LPT1, 2 &amp; 3<BR>&nbsp; <B>Windows NT/2000/XP</B> 
<P>To use the software with the above operating systems, an i/o port driver is 
required. There are many freeware<BR>i/o port drivers are available on the web, 
the following port driver can be used with the Pgm89 programmer, 
<P>&nbsp;<A 
href="http://www.beyondlogic.org/porttalk/porttalk.htm">http://www.beyondlogic.org/porttalk/porttalk.htm</A><BR>&nbsp;<BR>Study 
the web page and the readme file included in the port driver zip file for 
further information.<BR>The programmer software uses the following i/o port 
addresses, 
<P><TT>&nbsp;Lpt1 Port&nbsp; @ 378H</TT><BR><TT>&nbsp;Lpt2 Port&nbsp; @ 
278H</TT><BR><TT>&nbsp;Lpt3 Port&nbsp; @ 3BCH</TT> 
<P><TT>&nbsp;I/O&nbsp; Port&nbsp; @ 61H</TT><BR><TT>&nbsp;I/O&nbsp; Port&nbsp; @ 
42H &amp; 43H</TT><BR>&nbsp; 
<P><B>Note:</B> 
<P>In&nbsp; order to&nbsp; insure safe&nbsp; insertion&nbsp; &amp;&nbsp; 
removal&nbsp; of&nbsp; the&nbsp; u-controller from&nbsp; programmer ZIF&nbsp; 
socket&nbsp; make&nbsp; sure programmer power supply is turned on before 
starting the program and the red LED D1 must be&nbsp; turned&nbsp; 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.<BR>Also&nbsp; note&nbsp; that&nbsp; the&nbsp; 
software&nbsp; does&nbsp; not&nbsp; provide&nbsp; the&nbsp; erase&nbsp; 
command&nbsp; because&nbsp; this&nbsp; function&nbsp; is&nbsp; performed 
automatically during device programming. If you are required to erase the 
controller first&nbsp; use&nbsp; the&nbsp; clear&nbsp; buffer command in edit 
menu then program the controller, this will erase the controller 
memory.<BR>&nbsp; 
<P><IMG height=417 hspace=55 src="p89progm.files/Pgm89v3.png" width=559>
<CENTER>
<P><B><FONT color=#000099>Figure 4:&nbsp;&nbsp; Main screen of the program 
PGM89v3</FONT></B></CENTER></P>
<P> </P></LI></DIV></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -