AT89S51/52 serial port download cable production process

Publisher:HarmoniousCharmLatest update time:2015-10-23 Source: eefocusKeywords:AT89S51 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
The so-called IsP, namely In System Preprogrammable, means that the microcontroller can be programmed on the system application board and then run immediately.

   See the attached figure for the circuit using ISP online programming. The entire circuit can be built with a multi-purpose board, using the PC's serial port for data communication. The microcontroller programming pins are ⑥ to ⑨. Since the AT89S51/52 ⑨ pin is the reset terminal, this board can only be used as a programming board according to the connection method shown in the figure. If this board is to be able to run, a "programming" and "running" switch must be added to the ⑨ pin. In the "running" state, the ⑨ pin must be connected to a conventional RC reset circuit. When "programming", the ⑨ pin is changed to the +5V power supply terminal to increase the voltage to the high level required for programming.

   If the programmer needs to work stably, 74HC244 can be added between MAX232 and AT89S51 as a drive buffer. However, in most cases, the circuit shown in the attached figure can meet the requirements.[Reprint] AT89S51/52 serial port download cable production process
 

   The software is called "Electronic Online ISP Programmer V2.0". It can be downloaded anywhere on the Internet and uses the WINDOWS operation interface, which is easy to use. The specific usage is as follows:

   First open the software interface, then open the programmer. Under the condition that the serial line (parallel lines, not cross lines) is connected reliably, click "ID Identification" in the software, and the chip model will appear in the dialog box: AT89S51 or AT89S52. Click "Erase", and a progress bar will flash in the lower right corner, and a dialogue will appear: Erase completed. At this time, click "ID Identification" again. If the prompt "Line is blocked or chip cannot be identified" appears, you should restart the programmer once and click "ID Identification" again. After the model is successfully displayed, click the "File" drop-down menu to "Load Hex File", select the pre-compiled hexadecimal file on the computer, double-click the file name, and the file name will appear in the dialog box. It means that it has been selected. Finally, click "Write", and the write operation can be completed quickly. A "marquee" program can be written in about 0.8 seconds, which is very convenient.

 

 

    Remember: Every time you perform chip operations, such as writing, erasing, and verifying, you must perform "ID authentication" to check stability.

   Description: 1. The microcontroller can be made into a complete system board, designed to switch programming/operation.

   2. Pin 9 of AT89S51/52 is the reset pin. In the ISP online programming mode, it must be connected to the high level Vcc:, that is, the power supply voltage +5V.

   3. The matching software can be downloaded for free on the Internet. There are many addresses. You can search for relevant resources on your own.

   4. This circuit is not stable. For different operations, such as clearing and erasing, programming and writing chips, it is easy to drop the line when switching operations. At this time, you only need to turn the power supply of the circuit on and off again. In addition, before each operation, you should use the software "identification" function to verify whether the line is unobstructed.

   The programmer described in this article is only suitable for Atmel's AT89S51 and AT89S52 microcontrollers. The AT89S microcontroller series supports ISP online programming function. This function greatly reduces the workload of microcontroller development and there is no need to purchase a dedicated programmer. Therefore, it is very suitable for enthusiasts to practice microcontroller development and can also be used as a reference for relevant engineering and technical personnel.


Keywords:AT89S51 Reference address:AT89S51/52 serial port download cable production process

Previous article:Advanced Practical C51 Programming Techniques (C51 Programming)
Next article:What is a single-chip microcomputer? Pre-study knowledge of 51 single-chip microcomputers

Recommended ReadingLatest update time:2024-11-16 07:56

001_89C52_Proteus_ADC0809 collects voltage
1) Using ADC0809 to collect DC voltage 1. The first digital tube displays the sampling input port 2. The last three digits are the sampling voltage (II) Using ADC0809 to sample AC power 1. First, step down the AC voltage, that is, use a transformer to step down the voltage and the
[Microcontroller]
001_89C52_Proteus_ADC0809 collects voltage
Detailed explanation of AT89C52 control buzzer circuit diagram
  Introduction to buzzer   1. The function of the buzzer The buzzer is an electronic buzzer with an integrated structure. It is powered by DC voltage and is widely used in computers, printers, copiers, alarms, electronic toys, automotive electronic equipment, telephones, timers and other electronics. The product is us
[Microcontroller]
Detailed explanation of AT89C52 control buzzer circuit diagram
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components
Guess you like

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号