Posts Tagged ‘8051 programmer’

This project was lost, luckily while digging I found a backup file. I am now making this project available for public use. Released as is with no warranties, I am not liable for any harm done to your system. This should be used ONLY FOR EDUCATIONAL PURPOSES. The client file requires .NET Framework 4.0. The arduino sketch was compiled and tested with Arduino IDE 1.0.5 and Gizduino 328 (Arduino clone in the Philippines by e-Gizmo Mechatronics Central). The program for the 8051 was compiled with SDCC.


Connection Diagram:


1. Select the Correct COM Port
2. Connect
3. Load up the Hex file
4. Upload Hex file to your MCU
5. Grab a beer and enjoy!

Click the Link below for the sketch and the client

During the college days, we were thought how to use the 8051 microcontroller, as a student our biggest problem is how to burn our hex file to our chip. Until these days, this is still the problem of students in my school so I came up with an idea making a simple programer using my Gizduino (Arduino clone in the Philippines) lying around and writing a simple C# application to process the hex file. The 89s52 is the most common available in our place and the good thing is it can be programmed via its SPI port without needing high voltage to enter programming mode.

Programming the chip is not that difficult, we just need to issue series of commands as stated in the datasheet, the c# app will parse the hex file and what the gizduino will do is just to translate it to SPI commands, then voila we have our 8051 programmed in no time. The prototype is done using my general purpose digital trainer.

The Atmega 328/168 in the arduino is overkill for these purpose, I will port this later to a smaller and cheaper microcontroller.

The fun part Testing!

I revived my old programmer for the AT89C2051 when a colleague asked help to program a device that requires this MCU. I made it first with a vero board, but I decided to give it a new look and put it on a PCB.

Single Sided Version

I made this programmer on a single sided PCB only with both thru hole and surface mount components which I have lying around.  This was originally made by Wichit Sirichote a few years back for his students but on a double sided PCB.

More info can be found on his website

My Project files including the firmware, loader, PDF, and Eagle Files can be downloaded here

One of the problems on building this programmer is how to solve the chicken-egg problem, because the master MCU needs to be programmed first. You must find a friend who owns a programmer or have it programmed somewhere else. If you are from the Philippines I may help you build this programmer. Enjoy!