Simple Serial Programmer Circuit For At89c2051 At89c51
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.
Simple Serial Programmer Circuit For At89c2051 At89c51
We hardly look for a programmer like this now a days because parallel ports are gone in modern desktop computers and laptops. However, if you still have got your old computer somewhere at a corner of your house, this programmer circuit might be useful to you. This programmer supports AT89C1051, AT89C2051, and AT89C4051 microcontrollers from ATMEL and uses an LPT (Line Print Terminal) port to communicate with the host computer. The programming software is free to download for non-commercial or personal use. You can download both DOS and Windows versions of the programming software.
Ready to run Atmel programmer will program AT89C1051, AT89C2051, AT89C4051, AT89C51, AT89C52, AT89C55, AT89S8252, AT90S53 and AVR microcontrollers, AT90S1200 and AT90S2313. Easy to use Windows Programming software is included. Connects to standard computer serial port and includes connection cable. Works from a 15Vdc power source or plugpack, (not included).
Description:A51 Simple Programmer is a simple programmer for MCU . It is designed by KinCony ELECTRONICS CO.,LTD. in China for portable and convenient applications. It uses USB port to communication and USB port as power supply port.
The AT89C2051 is a 20 pin 8051 compatible microprocessor (including serial port) with 2k of FLASH memory, available from Atmel (see www.atmel.com). The PG2051 erases, programs, and verifies AT89C2051 chips in 6 seconds. As the AT89C2051 devices are FLASH, they can be reprogrammed as often as needed.The PG2051 is driven by sending it a (standard) Intel hex file through its serial port.This means it can be driven by any operating system - all that is necessary is that the hosthas a serial port to send the data to the programmer (at 9600 baud) - the programmer will do the rest.The programmer features a test switch which allows the owner to check if an AT89C2051 is blank, working, programmed or failed in just one second - without needing the PC connected. FEATURES:Programs the 2k FLASH memory in 89C2051'sCan be reprogrammed 1000 times per chipFast - programs a chip in 6 seconds (typ.)89C2051 is 8051 Instruction and Reg compatibleProgrammer interface is PC serial compatible9600 Baud, 8 data, 2 stop bits, no parityAccepts standard Intel Hex filesPrograms Security bits, if requiredDipswitch selectableOne Step program operationDownload starts Test/Erase/Program/VerifyStand-alone test switchAllows 89C2051 test without PC downloadTests for blank chip without PC downloadProgrammer also handles AT89C1051'sPowered by DC plug pack (supplied)Evaluation Kit includes two sample 89C2051 devicesOPERATION:The PG2051 is a development programmer for the ATMEL AT89C2051. The AT89C2051 programmer is fast, small and simple to use. The programmer may be connected to a PC or other host by a serial cable. The data to be downloaded to the programmer is transmitted in Intel Hex format. The programmer will erase & program, verify, write protect and security protect as it receives the file, according to the settings on its Dip switches. In normal use device programming consists of: Insert an 89C2051- (Manual Test if desired)Mode COM1:9600,N,8,2Download intel hex file - (Causes programming)Copy Myfile.hex COM1Watch LEDs - (Indicates success) The PG2051 can be used stand-alone by inserting an 89C2051 and operating the Manual test switch, in this mode it indicates Tested, Blank and Verified checksum conditions.EVALUATION KIT:The PG2051 evaluation kit, with prototype board[Click here for schematic]The PG2051 programmerPower supply plugpackPG2051 data sheet and reference cardTwo AT89C2051 FLASH memory CPU devicesA small prototype board with LEDs, to test withA well documented sample .ASM programA shareware assembler & dis-assembler89C2051 CPUDownload/View a .PDF version of the AT89C2051 data sheetFor more information on these microprocessors, visit Atmel's site.The AirBorn Electronics programmer described here connects to a Serial port,works under any operating system, and programs in 6 secondsby just copying the hex file to the COM port.There is also a programmer design available from Atmel that you can build yourself -although it does not share these features.Download the free programmer here, -but remember to get thesoftware from Atmel, also.This page had a Maintenance update: 21 April 2013OverviewISP Flash micros
>> Deutsche Version LED moving font TV tuner LED clock Serial-IC-Converter AT89C2051/ATtiny2313 evaluation board AT89C2051 programmer IC-I/O-Expander AVR JTAG Emu Displays Newsletter LED moving font The LED moving font is built up of separate modules consisting of 64 LEDs each (8x8 matrix). The modules can be cascaced according to the desired size of the font. Each module is controlled by the LED display driver MAX7219 (or MAX7221) which can drive 64 LEDs. The display data is transferred serially to this display driver via the pins DIN, CLK and LOAD. The pin DOUT can be connected to the input DIN of the following display driver, all CLK and all LOAD pins are connected together. The datasheet is available on Maxim's homepage.
Response: the AVR's have a serial programming mode called ISP - In System Programming. Yes you can use a few lines of code from the parallel port to programming the flash, eprom and lock bits. BUT the AVR chips have 'fuse' bits which are not accessible in serial programming mode. For example, in our Kits 129 and 154 we have to program one of the fuse bits RCEN to enable the internal oscillator. This would not be possible using serial programming. Also there is a fuse bit to disable serial programming. If this fuse bit is programmed then the chip is not accessible at all using ISP. It would then only be programmable using a programmer like the "parallel-mode" Kit 122.
Of course you could make a "parallel-mode" programmer to operate using the parallel port instead of the serial port like Kit 122. But we decided against this because it would require special software to run on each type of computer. The BIG advantage of Kit 122 is that all the intelligence is in firmware on board the kit. Kit 122 will work on all types of computers. All that is needed is a terminal/communications program which all computers have.
Sure; the AT89c2051 programs with a serial protocol very similar to the AVRs (IIRC, the polarity of RESET is different, but you can use the same USBASP-type programmers, if you have the right software.)But it doesn't support a bootloader, and has a processor architecture that isn't supported by gcc, so I'll stand by my statement that it can't be made to work with Arduino.
I've actually been working on some 8051 PCBs recently, since I've had some chips "forever." The most promising architecture would seem to be an external-RAM system with a "bootloader" that copies from serial or EEPROM into RAM for execution. But that's a significant amount of complexity compared to the single-chip Arduino. Maybe I should try a single-chip system with external programmer on board.
ATMEL AT89 series with the circuit programmer can program many microcontrollers. Programming circuit integrated with different number of pins used for two ZIF socket. Circuit running through the RS232 serial port of the computer AT89C51-C52-S52 89series4.hex file without installing the integrated scheduler to work. Project of the diagram, pcb printed circuit board, software and computer programs have hex.
Welcome to the world of Microcontrollers, and the first thing you need is a Device Programmer. This In System Programmer is RS232 (serial port) based but can indirectly be used with USB using USB to RS232 converter. If you need something like this you need to assemble a very simple circuit (Programmer Unit).