Winstars 89C52 Programmer
Winstars 89C52 Programmer
Introduction
Hardware
Figure 1 shows the circuit diagram of Easy-Downloader V2.0. The 89C51 with ez52.hex receives a 9600
baud serial data from PC and generates the appropriated signal applying to the ZIF socket. P0 is for bi-
directional data transferring. P1 provides A0-A7, P2.0-P2.6 for A8-A14. Look at A14, our software uses
P2.6, while ATMEL uses P3.0 instead. Programming mode selection is done by P3.4 to P3.7. See in
ez52.c for details. The programming voltage shown a bit different from version 1.1, Vpp pin needs only
+5V and +12V and simply activated by P3.3. The clock input pin X1 of the ZIF socket is derived from
X2 without buffering. I have tested, no problem so far.
Software
ez52.hex is the hex file firmware needed for 89C51. Use a given programmer or available Easy-Downloader write the hex file into
the 89C51. An alternative is to use 89S8252 chip, build a simple SPI downloader through LPT port.
The preprogrammed 89S8252 witez52.c is the source program written in C language for further modification. To recompile, it
needs Micro-C for 8051 compiler from Dunfield Development System.
ez2.exe is the dos version program that runs on PC sending the hex code to the Easy-Downloader board.
3.