A simple programmer for the Atmel AT89c microcontrollers. This is one of the simplest programmers. It was designed using common components, with respect to simple construction. It connects directly to a PC parallel port. Software is written in Pascal, the new version uses the Turbo Vision user interface.
|Published (Last):||26 September 2016|
|PDF File Size:||6.49 Mb|
|ePub File Size:||16.6 Mb|
|Price:||Free* [*Free Regsitration Required]|
A simple programmer for the Atmel AT89c microcontrollers. This is one of the simplest programmers. It was designed using common components, with respect to simple construction.
It connects directly to a PC parallel port. Software is written in Pascal, the new version uses the Turbo Vision user interface. It should work with no problem on the first try. Both software versions support so-called DEBUG mode, that should greatly simplify any troubleshooting.
We paid great attention to the timing routines, so it should work on any computer. This programmer is a part of the LAB system. It is completely independent, but it was developed as its component We are working on a reprint. My objective was to build a simple programmer, that would be easy to make at home and would work without significant problems on the first try. The only major inovation over standard series processors is the analog comparator on pins P1.
Its output is accessible to the software via the P3. Data protection system is designed very well. With the AT89C51, it is not even possible to transfer contents of the internal FLASH memory if an external memory with a special software is attached to it.
The only disadvantage of this processor is a small and non-expandable program memory. The circuit is intended for simple applications, where room and number of wires are limited.
It's a pity it can't run just with a RC-circuit for clock signal generating, and that an OTP version is not available. According to our measurements, power consumption averages approximately 12 mA.
The lowest power consumption can be achieved with clock frequency of 2 MHz, and amounts to about 6 mA for the processor itself add 2mA for a miniature There is no further significant power consumption drop at lower clock frequencies.
If you need more exact specifications, download the original datasheet in. Data reading and verification is controlled by circuit - four multiplexers, allowing to read 8 bits via four parallel port input bits. Current nibble high or low is determined by the state of the 6Q bit pin 14 of the system latch LEDs are used to decrease voltage and to indicate current process. In some cases, it's better to use a different design for the voltage switching part - see the end of this article.
Or, "in an emergency", you can use two standard cheap sockets inserted into each other, so the soldered one is not subject to excessive mechanical stress. In the first case, it's not recommended to use the stabilisers; when an input voltage is connected to their outputs, they consume about 50 mA and convert it to heat. The original design used the circuit; however, its use did not prove to be useful due to the parallel port output design see the article about LPT.
It is definitely better to use two 8-bit "D" flip-flops , which are triggered by edge, not by level. Email : Semach hw. Warning: Due to undefined state of the LPT port after running some applications, it is necessary to turn on the power for the programmer AFTER starting the control software.
We tried to minimize this influence in our design; however, there is no way to remove these side effects completely with respect to simplicity. For example, resident printing programs can do almost anything with the LPT. Several people have independently pointed out that the voltage switches are not designed in a totally "clean" way. It still works since Atmels sustain a lot; however, their opinion is included here simply because they are right.
Big thanks to the author. You can view the modified schematics here. HW-Server HW. April - Theoretical part: This is one of the simplest programmers. Set RST high. Set the programming mode via pins P3. Optionally, set verification mode via bits P3. Increment address counter by pulsing XTAL1, set next instruction code via P1 Repeat steps 5 to 8 until the 2kB boundary is reached, or until the whole file has been programmed into the chip.
Disconnect power. Hint: Instead of waiting 1. Programming modes Pulse widths Timing diagram for programming and verification Practical part: if you can't read the schematic, here is a bigger one. Search Search.
AT89C2051 Microcontroller. Datasheet pdf. Equivalent
Subscribe to RSS