Build your own a programmer for writing intel-HEX file to the 89C51, 89C52 and 89C55, PCB file included, Window version UPLOADER EZ3, EZ3.1, modified source code with sdcc. updated firmware for 89S51 and 89S52!
IntroductionIf you need more code spacefor your application, particularly for developing 89Cxx projects with Clanguage, the Easy-Downloader V2.0 is the answer. It's suitable and cheapwhich anyone can build easily. This version is capable of writing intel-HEXfile to a 89C51(4kB), 89C52(8kB) and 89C55(20kB). After compiling the sourcefile in Assembly or C then download the hex file to the chip directly byusing A:\>ez2 myfirst(.hex), say.
HardwareFigure 1 shows the circuit diagramof Easy-Downloader V2.0. The 89C51 with ez52.hex receives a 9600 baud serialdata from PC and generates the appropriated signal applying to the ZIFsocket. 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 ATMELuses 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 differentfrom version 1.1, Vpp pin needs only +5V and +12V and simply activatedby P3.3. The clock input pin X1 of the ZIF socket is derived from X2 withoutbuffering. I have tested, no problem so far.
Constructing the BoardThe prototype board may be builtusing universal PCB with point-to-point soldering. If you want to makea PCB, get the ez2.pcb,open with Protel version 2.73. The components placement is shown in Figure2.
For those who can make thePCB with PDF file, get this file ez2pcb.pdf
Figure 2: Components Placement Layout
Softwareez52.hexis the hex file firmware needed for 89C51. Use a given programmer or availableEasy-Downloader write the hex file into the 89C51. An alternative is touse 89S8252 chip, build a simple SPIdownloader through LPT port. The preprogrammed 89S8252 with ez52.hexcan be used in place of 89C51.
ez52.cis the source program written in C language for further modification. Torecompile, it needs Micro-C for 8051 compiler from DunfieldDevelopment System.
ez2.exe is the dos version program that runs on PC sending the hex code to the Easy-Downloader board.
Note: EZ2 dos version can use only with old PC, 386 or 486 machine.
Example of using ez2 is shownin Figure 3.
DownloadEZUploader V3.0 for Window As seen in the Easy-DownloaderV1.1, the EZ UPLOADER V3.0 can also be used with Easy V2.0. Nowfor the 89C51, 89C52 and 89C55, there is a signature byte, thus no longerneed to select memory size. The EZ will recognize how big the code memoryis. Just click Send Hexfile, everything will done automatically.
DownloadEZUploader V3.1 for Window This is beta test EZ3.1 Uploader,with additional READ and SAVE AS features. The HEX code resided in thechips can be read and save as an Intel HEX file.
Easy II Links
Contribution to Easy-Downloader V2.0