国产毛片a精品毛-国产毛片黄片-国产毛片久久国产-国产毛片久久精品-青娱乐极品在线-青娱乐精品

自己動手制造at89c51編程器 (英文)

發布時間:2011-6-22 11:45    發布者:circuit_share
關鍵詞: AT89C51 , 編程器 , 英文
ATMEL 89 Series Flash Microcontroller Programmer Ver 3.0 

IntroductionThis 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.

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 progrram 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 VDD 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 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. Place a small heatsink on U8 voltage regulator.

For the adjustment of P1, P2 and P3 use a digital multimeter & follow the steps shown below,

1. To adjust P1, temporarily connect T1 base to ground using test clips then adjust P1 to get 6.5V at the output of regulator U6.

2. Next first adjust P2 to get the 13.1V at the output of regulator U7, make sure transistor T5 is off or temporarily connect the T5 base to ground using test clips.

3. Now temporarily short the collector of transistor T5 to ground using test clips.

3. Adjust P3 to get the 12.1V at the output of U7 regulator IC.



Figure 1: Circuit Diagram of Flash Programmer V3.0

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 V3.0s

Constructing the Board

The prototype board may be built using universal PCB with point-to-point wiring. If you want to make your own PCB, download the PcbsPgm89v3.zip file which contains the printer files for the HP laser printer or download the PcbsPCX.zip file which contains PCX graphics format pcb files. Figure 3 shows the components layout of the programmer pcb.

For printing the PRN files on laser printer run the following command, this will print the all pcb files.
COPY *.PRN PRN/B
For the bill of material of the project view the file Pgm89v3PartsList.txt

The schematics and the pcbs of the project were designed using OrCAD softwar

Figure 3: Components layout of the Programmer PCB V3.0

Software

Pgm89v3.zip file is used to run the programmer. This is a Windows program which can be used under

Windows 95 & 98. The main screen of the program is shown in figure 4.
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

         Windows NT/2000/XP
        To use the software with the above operating systems, an i/o port driver is required. There are many freeware

        i/o port drivers are available on the web, the following port driver can be used with the Pgm89 programmer,
        http://www.beyondlogic.org/porttalk/porttalk.htm   

        Study the web page and the readme file included in the port driver zip file for further information.

        The programmer software uses the following i/o port addresses,
        Lpt1 Port @ 378H

        Lpt2 Port @ 278H

        Lpt3 Port @ 3BCH
        I/O Port @ 61H

        I/O Port @ 42H & 43H
       
        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.

        Also note that 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.   
       


        Figure 4: Main screen of the program PGM89v3
本文地址:http://m.qingdxww.cn/thread-69269-1-1.html     【打印本頁】

本站部分文章為轉載或網友發布,目的在于傳遞和分享信息,并不代表本網贊同其觀點和對其真實性負責;文章版權歸原作者及原出處所有,如涉及作品內容、版權和其它問題,我們將根據著作權人的要求,第一時間更正或刪除。
wfnic 發表于 2011-7-10 08:33:55
hahao1
您需要登錄后才可以發表評論 登錄 | 立即注冊

廠商推薦

  • Microchip視頻專區
  • 使用SAM-IoT Wx v2開發板演示AWS IoT Core應用程序
  • 使用Harmony3加速TCP/IP應用的開發培訓教程
  • 集成高級模擬外設的PIC18F-Q71家族介紹培訓教程
  • 探索PIC16F13145 MCU系列——快速概覽
  • 貿澤電子(Mouser)專區
關于我們  -  服務條款  -  使用指南  -  站點地圖  -  友情鏈接  -  聯系我們
電子工程網 © 版權所有   京ICP備16069177號 | 京公網安備11010502021702
快速回復 返回頂部 返回列表
主站蜘蛛池模板: 国产三级网站在线观看播放 | 日韩色网 | 在线播放一区二区 | 热er99久久6国产精品免费 | 国产草| 日韩在线理伦片免费观看 | 日本不卡二卡三卡四卡无卡免费 | 久爱www成人网免费视频 | 日韩在线免费视频观看 | 精品精品国产自在香蕉网 | 国产亚洲婷婷香蕉久久精品 | 草逼视频网站 | 在线观看中文字幕一区 | 久久性感视频 | 国产91精品新入口 | 一级毛片视屏 | 91亚洲免费 | 日本亚州视频在线八a | 五月婷婷激情五月 | 麻豆网站 mkv 下载 | 久久91精品牛牛 | 亚洲综合色视频 | 日韩成人在线视频 | 亚洲一级毛片免费观看 | 男同在线免费观看 | 免费精品国产自产拍在 | 免费网站黄色 | 亚洲va国产日韩欧美精品色婷婷 | 国产国语在线播放视频 | 亚洲男女在线 | 日本黄色网站在线观看 | 亚洲欧美二区三区久本道 | 日本精品久久久久中文字幕 | 国产牛牛 | 亚洲欧美日韩中文字幕在线一区 | 在线观看亚洲视频 | 天堂网在线最新版www | 精品一区 二区三区免费毛片 | 大乳欲妇三级一区二区三区 | 欧美日韩一区二区三区高清不卡 | 亚洲高清在线 |