DIY编程器网

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 5974|回复: 0
打印 上一主题 下一主题

ATMEL 89C Series Flash Microcontroller Programmer Ver 1.1

[复制链接]
跳转到指定楼层
楼主
发表于 2011-11-24 21:01:49 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
[size=+4]ATMEL 89C Series Flash Microcontroller Programmer Ver 1.1 [size=+1]M Asim Khan, asimkhan@sat.net.pk(古老的pgm89版)
[size=+0]Build your own flexible & easy to built Atmel 89C series flash programmer

[size=+1]Introduction
This programmer was designed in view of to be flexible, economical and easy to built, the programmer hardware utilizes 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. [size=+1]DevicesAt present the programmer software supports the following Atmel devices
AT89C51 AT89C52 AT89C55 AT89C1051 AT89C1051U AT89C2051 AT89C4051
Note:  For 20 pin devices a simple interface adapter is required. [size=+1]HardwareFigure 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 U1 is used to control the data flow between controller and the pc, U3 latched the low order address byte and U4 latched the high order address byte, while U2 is used to generate the control signals for micro-controller to be programmed. The power supply section uses U6 to generate the logic 5V supply while the U5 is used to provide the programming supply voltage to controller. The power to the circuit is provided by a wall adapter of 15 to 18V output, normally a 15V type adapter will provide a 19~20V output voltage. As shown in the diagram the crystal X1 can be replaced by a resonator in that case capacitors C4 and C5 are not required, the pcb has the provision for both type of devices.
Adjustment procedure for P1 and P2 variables.
1. First adjust P1 to get the 12.75V at the output of LM317 regulator. Make sure transistor T4 is off or
    temporarily connect the T4 base to ground.
2. Now temporarily short the collector of transistor T4 to ground.
3. Adjust P2 to get the 12.0V at the output of LM317 regulator.
Figure 1: Circuit Diagram of Flash Programmer V1.1
Figure 2 shows the circuit diagram of the interface adapter card required for the programming of 20 pin Flash devices.
Figure 2: Interface Adapter circuit diagram
[size=+1]Constructing the BoardThe prototype board may be built using universal PCB with point-to-point wiring. If you want to make a PCB, get the PCBs.zip file which contains the printer files *.PRN for HP Laser printer and the plotter files *.PLT for the HP Pen plotter. Figure 3 shows the component layout of the programmer pcb.
For printing the files on laser printer issue the following dos command COPY FILENAME.PRN PRN/B For the bill of material of the project get the file Pgm89bom.txt
The schematics and the pcbs of the project were designed using OrCAD software.

Figure 3: Components layout of Programmer PCB V1.1
[size=+1]SoftwarePgm89.exe file is used to run the programmer. This is a DOS program which can also be used in Windows 95 and 98 msdos window but not in windows NT. The main screen of the program is shown in figure 4. Following are the main features of this software,
Read and Write Intel Hex File Read Chip info Verify from hex file Program Lock Bits Fill buffer & Display buffer Parallel Port selection LPT1, 2 & 3 Remember the previous settings of the programmer
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 D2 must be turned off. Figure 4: Main screen of the program PGM89.exe[size=+1]Future EnhancementThe programmer hardware is also capable to program the following Atmel devices, the next version of the software also include these devices.
AT89S53           12K flash with SPI and wd-timer AT89S8252       8K flash, 2K e2rom with SPI and wd-timer AT89C51RC     32K flash, 512 byte ram, dual dptr and wd-timer AT89C55WD    20K flash with dual dptr and wd-timer
A separate program PGME2.exe is also under development which can be used to program the following
parallel EEPROM devices using a simple interface adapter with the above mentioned programmer.
28C17 28C64 28C256 29C256
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享分享 支持支持 反对反对
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 14:34 , 耗时 0.094599 秒, 22 个查询请求 , Gzip 开启.

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

桂公网安备 45031202000115号

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

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

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

QQ:28000622;Email:libyoufer@sina.com

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

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