DIY编程器网

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 16468|回复: 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空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享分享 支持支持 反对反对
沙发
发表于 2011-6-24 15:36:44 | 只看该作者
又整些洋文的,看着都头痛。喜欢看中文的。不过英文的资料可以促进学习,并且好资料比较多;还有德国鬼子和俄国鬼子的,很多都是精品。
板凳
 楼主| 发表于 2011-6-24 20:02:27 | 只看该作者
hdzl 发表于 2011-6-24 15:36
又整些洋文的,看着都头痛。喜欢看中文的。不过英文的资料可以促进学习,并且好资料比较多;还有德国鬼子和 ...

有事没事常备本英汉啊
主要没时间翻译了
要不你翻译一下,积分奖励哦
地板
发表于 2011-6-29 08:40:11 | 只看该作者
本帖最后由 hdzl 于 2011-6-29 08:54 编辑

你自己就有汉化的东西,在这里:
http://www.diybcq.com/forum.php?mod=viewthread&tid=63
另上传一些中文资料(此资料的连接已失效,详细内容见楼主位和上一行的本站链接)
DIY一台实用的51单片机编程器
编译:白钰君
学习单片机最常用是编程器和仿真机,一台商品化的编程器至少要几百元,仿真机价格更高,往往让初学者难以选择。这里介绍的一款国外电子网站推出的廉价51单片机编程器,能够可靠读写常用的14种51单片机,自己动手装配一台,无论是学习单片机或业余时间搞开发,都是一个非常好的选择。该编程器连接在计算机的并行端口,对PC的并口没有特殊要求,所以配置很低的计算机也能用。这个编程器支持的单片机主要是ATMEL 89系列 FLASH单片机。
支持的器件
  这个编程器支持以下ATMEL单片机:AT89C51,AT89C52,AT89C55,AT89S51,AT89S52,AT89S53,
AT89C51RC,AT89C55WD,AT89S8252, D87C51,D87C52
AT89C1051U,AT89C2051,AT89C4051,
注意:20脚的单片机需要一个简单的适配器,电路如图 2所示。
硬件电路:
  图1显示了这个编程器的电路图,编程器和标准的计算机并口连接。电路图中的U2是用于控制计算机和控制器之间的数据流,U4 锁存低位地址字节 ,U5 锁存高位地址字节  ,U3用于产生控制信号给被编程的单片机。U1用于产生编程脉冲给单片机。当U7提供编程电压给控制器时,电源部分用U8产生逻辑5V电压。U6用于选择产生5V或6.5V Vcz电压给单片机。
  
图 1 编程器的电路图
                
图 2 适配器的电路图
制作这块电路板
  这是一块双面电路板,业余自制有一定难度。如果你要自己制作这块电路板,可以到 http://www.dragonchip.net/zip/pgm89v31.zip 上下载这个压缩文件,其中包括所有PCB设计参考资料。你能打印这些PCB文件到透明胶片或硫酸纸上,然后用双面感光电路板制做它,具体的方法可以参考《电子制作》等杂志相关内容。
元件列表请参考下载压缩包中文件 Pgm89v31Partlist.txt。
安装与调试
调整精密电位器P1,P2和P3请按照以下步骤进行:
1.将25芯并口线一端连接在编程器上,另一端连接在PC并口上,然后连接编程器电源,启动编程器软件(Win9x下直接双击Pgm89v31.exe启动;WinNT/2K/XP双击Pgm89.XP启动),在HELP菜单中选择“ Adjust Voltage”选项,然后选择“Vcz Setting” 选项。
2.选中“Vcz  6V5”选项,将数字万用表(直流20V档)两只表笔分别跨接在锁紧插座第20脚和40脚,调整P1使万用表显示稳定在6.5V,如果显示数字来回跳动,说明还没有调准确,需要再仔细调一下。
3.也可以检查5V输出.选中“Vcz  5V”,接在锁紧插座20脚和40脚之间的万用表应该显示5V。
4. 在“Vpp  Setting” 选项中,选中"Vpp  12V75"选项, 将数字万用表(直流20V档)两只表笔分别跨接在锁紧插座第20脚和31脚,调整P2使万用表显示稳定在12.75V。
5.下一步选择"Vpp  12V0",调整P3使万用表显示稳定在12.0V.
6.再次检查所有“Vpp Setting”菜单的所有设置,确保准确无误,调试即完成.
编程软件
PGM89V31.EXE 可执行文件是该编程器的软件。它是一个Windows 程序,能够运行在Win9X/WinNT/Win2K/WinXP下。窗口界面如下图3所示。下面各项是这个软件的特征:
                 * 读或写 Intel Hex 格式文件
                 * 读芯片信息
                 * 清除,填充和编辑程序缓冲区
                 * 有程序缓冲区校验
                 * 再次装入当前 HEX 文件
                 * 显示数据校验和
                 * 编程选择 Lock Bits & ISP fuse
                 * 并口连接LPT1,2或3
                  
                   图3 软件的界面
编程器在Win9X下无需驱动,在WinNT/Win2K/WinXP下需要安装I/O端口驱动程序,具体方法参考驱动程序包中的Readme文件,这里不再详细介绍。
编程软件的使用
本编程器PGM89V31软件使用非常简单,和一般的编程器软件差别不大。当鼠标在按钮上停留时,会显示相应的功能说明。下面以烧写最常用的89C51为例说明使用的方法。假定要写入的文件是“proflash.hex”。首先,连接编程器主板到计算机并口。然后连接电源。编程器绿色指示灯亮,将89C51插入ZIF插座,锁紧手柄。然后启动编程器软件,鼠标单击在右边的“芯片”下拉框,选择好芯片类型,这里选“89C51。在“文件”菜单选择“打开Hex文件”,找到“proflash.hex”文件,单击“打开”。窗口中显示文件内容,右下角显示校验和。单击“写芯片”按钮,编程器红色指示灯亮,烧写完毕,红色指示灯熄灭,写入之前会自动擦除芯片内容,写入完毕会自动校验。如果是需要加密,可以选择加密级别。其它芯片烧写过程类似,像20脚的89C2051需要一个简单的适配器。
注意事项:
该编程器电源使用18伏直流或者15伏交流电,电流200 mA左右即可。
  当红色LED D1是熄灭的时候,才能在锁紧插座插拔单片机。也要注意这个软件没有提供擦除命令,因为这个功能在编程前预先自动执行。如果你需要首先擦除单片机可以用“EDIT”菜单的清除缓冲区命令,然后编程这个单片机,这将擦除单片机中的所有数据。制作使用过程中有任何问题,都可以发信到 E-MAIL:kai-hui@online.sh.cn获得帮助。
5#
 楼主| 发表于 2011-6-29 09:19:16 | 只看该作者
辛苦了
http://www.diybcq.com/forum.php?mod=viewthread&tid=63
这个中文的是3.0版的,不过基本差不多
6#
发表于 2016-5-27 00:24:49 | 只看该作者
win7不能用啊
7#
发表于 2016-7-31 22:27:20 | 只看该作者
打劫银两要下载!
8#
发表于 2016-12-2 19:42:16 | 只看该作者
想下载  没银两  
9#
发表于 2016-12-3 15:22:45 | 只看该作者
努力回帖!赚银两,赚积分!
10#
发表于 2017-2-23 17:13:29 | 只看该作者
先赚银子后下载
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-17 09:44 , 耗时 0.093322 秒, 21 个查询请求 , Gzip 开启.

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

桂公网安备 45031202000115号

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

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

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

QQ:28000622;Email:libyoufer@sina.com

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

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