DIY编程器网

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 18147|回复: 19
打印 上一主题 下一主题

PGM89V3.1 51编程器的全部制做资料

[复制链接]
跳转到指定楼层
楼主
发表于 2011-6-24 05:46:33 | 只看该作者 |只看大图 回帖奖励 |正序浏览 |阅读模式
ATMEL 89 Series Flash Microcontroller Programmer Ver 3.1




Introduction
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. Supported Devices
The programmer software presently supports the following devices
   
AT89C51                AT89S51                AT89C1051U            D87C51
AT89C52                AT89S52                AT89C2051               D87C52
AT89C55                AT89S53                AT89C4051
AT89C55WD          AT89S8252
AT89C51RC
Note:  For 20 pin devices a simple interface adapter is required.
Hardware
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. The  power  to  the  circuit  is  provided  by  a wall adapter of 18V output, or it can be powered by a 15V 100mA transformer. For the adjustment of P1, P2 and P3 use a digital multimeter & follow the steps shown below, 1.  Connect power to the programmer & start the program, in the Help menu select the Adjust
     Voltages option, move to Vcz Setting menu. 2.  Select "Vcz  6V5" option, adjust Vcz voltage to 6.5v across pin 20 & 40 of ZIF using P1 variable. 3.  Also check the 5v output across pin 20 & 40 by selecting the 5v option . 4.  Move to Vpp setting options, select "Vpp  12V75" option, adjust Vpp voltage to 12.75v across
     pin 20 & 31 of ZIF socket using the P2 variable. 5.  Next select "Vpp  12V0" option, adjust Vpp voltage to 12.0v across pin 20 & 31 of ZIF using
     the P3 variable. 6.  Re-check all the options in Vpp Setting menu.



Figure 1:   Circuit Diagram of Flash Programmer V3.1

Figure 2 shows the circuit diagram of the interface adapter card required for programming the 20 pin Flash devices.

Figure 2:   Interface Adapter circuit diagram V3.1
Constructing the Board
The prototype board may be built using universal PCB with point-to-point wiring. If you want to make your own PCBs, then download the PDF-Pcbs.zip (81.25 KB, 下载次数: 25) file which contains the pcbs files in PDF format, if you have Orcad 9 then download the max files of the programmer, OrCad-Pcbs.zip (42 KB, 下载次数: 8) For the bill of material of the project view the text file Pgm89v31PartList.txt (2.62 KB, 下载次数: 15)

Software

Download the Pgm89v31.zip (186.13 KB, 下载次数: 44) 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
use the "Pgm89XP.bat" file. The main screen of the program is shown in figure 3. Following are the main features of this software,
Read and Write the Intel Hex File Read Chip info Clear, Fill & Edit Program Buffer Verify with Program Buffer Reload current Hex File Display Data Checksum Program selected Lock Bits & ISP fuse Parallel Port Selection LPT1, 2 & 3
Note: 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. 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
edit menu then program the controller, this will erase the controller memory. Also note that the programmer may not work correctly with PCs and Laptops which uses the 3.3v supply for
the parallel port operation, since the programmer is using the HC type cmos ics at 5v the minimum high level
requirement is 3.5v for proper operation of the programmer. There are two solutions for this problem, 1. use all ics of HCT type, they should work down to 2v high level. LS type ics are not recommended because
    of their very high current requirement.
2. use a 74HCT541 buffer ic to convert the 3.3v level to 5v level, only D0 to D7 signals require conversion.
   
Figure 3:   Main screen of the program PGM89v31

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享分享 支持支持 反对反对
20#
发表于 2021-3-14 18:24:08 | 只看该作者

努力回帖!赚银两,赚积分
19#
发表于 2021-2-9 13:12:02 | 只看该作者
不错,多谢分享
18#
发表于 2021-1-7 18:22:16 | 只看该作者
先赚银子后下载
17#
发表于 2021-1-3 17:19:12 | 只看该作者
学习了,,感谢
16#
发表于 2019-11-2 16:56:28 | 只看该作者
辛苦了,除了没有编程器软件,那位兄弟只写了测试代码
15#
发表于 2019-11-2 16:53:59 | 只看该作者
这可是那位老兄的成品,除了没有编程器软件,那位兄弟只写了测试代码
14#
发表于 2017-8-23 15:47:34 | 只看该作者
授教了,很好的資料
13#
发表于 2017-8-23 15:36:18 | 只看该作者
好動西,頂

很好的資料 , 瞭解很多
12#
发表于 2017-8-22 14:44:16 | 只看该作者
洋文的,看着都头痛
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|文字版|手机版|DIY编程器网 ( 桂ICP备14005565号-1 )

GMT+8, 2024-12-27 22:53 , 耗时 0.102983 秒, 21 个查询请求 , Gzip 开启.

各位嘉宾言论仅代表个人观点,非属DIY编程器网立场。

桂公网安备 45031202000115号

DIY编程器群(超员):41210778 DIY编程器

DIY编程器群1(满员):3044634 DIY编程器1

diy编程器群2:551025008 diy编程器群2

QQ:28000622;Email:libyoufer@sina.com

本站由桂林市临桂区技兴电子商务经营部独家赞助。旨在技术交流,请自觉遵守国家法律法规,一旦发现将做封号删号处理。

快速回复 返回顶部 返回列表