2051 Serial Programmer

Posted on  by
2051 Serial Programmer Average ratng: 4,1/5 349votes
2051 Serial Programmer2051 Serial Programmer

The TXD pin of the 8051 is connected to the TXD(in) input line, and the TXD(out) line is connected to the line driver for the programmer's serial transmit. Gate circuit provides the 'echo-through' feature which is useful for troubleshooting code while the 89C2051 is in-circuit by echoing data to the programmer's transmit line. PG2051 - A Programmer for the Atmel AT89C2051, from AirBorn Electronics. 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. Two 16-Bit Timer/Counters. Six Interrupt Sources. Programmable Serial UART Channel. Direct LED Drive Outputs. On-Chip Analog Comparator. Low Power Idle and Power Down Modes. BlowIT is a very simple AT89C2051 programmer. It is easy to build and use. I rewrote the software using the Python language.

Schematic Atmel 89C2051 In-Circuit Programmer Schematic This is a 'beta release' schematic. Use at your own risk The idea is to add this circuitry to a board with already has ram at 2000 and an 82C55 I/O chip to provide ports A, B and C. Warning: not shown here is a memory mapping trick which is described below. You must figure out a way to provide the necessary memory mapping to make beta version 0.003 work.

The next beta release will fix this problem, so that an ordinary memory configuration will work. But for now a hardware trick or some preprocessing of your intel hex files is needed. The AND and NAND gates shown should be 74HC08 and 74HC00 respectively. It a TTL type NAND gate is used (eg LS, L, S, ALS, etc) the crystal oscillator may be problematic.

Several people have asked. Here's a few things to try.

NOTE: in the above schematic, the line indicated P3.3 (which controls the TXD echo feature) should really connect to P3.4, and the one labeled P3.4 really ought to connect to P3.3. I'll get a fixed copy of this schematic on-line sometime, with the signals names that now appear in. On the bright side, if you do connect it differently, it's a simple matter to reassign the pins in the software with 0.004. The inputs on the left side of the schematic come from the ports on the 8051 and 82C55. Port A, Port B, and PC.0 come from the 82C55, and the other lines are from the 8051. The TXD pin of the 8051 is connected to the TXD(in) input line, and the TXD(out) line is connected to the line driver for the programmer's serial transmit. This simple three gate circuit provides the 'echo-through' feature which is useful for troubleshooting code while the 89C2051 is in-circuit by echoing data to the programmer's transmit line.

The 20 pin ribbon cable should leave pins 1, 4, and 5 unconnected. Double check that pin 10 is connected to ground. Add stuff here about the power supply issues. I suggest connecting pin 20 in the ribbon cable to Vcc on the programmer.

Do not connect XTAL2 (pin 4) of the 89C2051 chip. The 15 switches shown are the gates within the CD4066, so four of these chips are required.

Print Censor Professional Full Crack. The three NMOS transistors are within a single CD4007 chip. The trick here is to not use the three PMOS transistors which also come in this chip.

You must connect +12 volts to pin 14. I'll add more more detailed information about how to connect this chip, hopefully in a week or so. If you're building from this beta schematic and need some assistance. Basically, the two PMOS transistors with floating drains get their drains and sources connected to Vcc.

The third PMOS transistor whose drain is connected to an NMOS drain inside the chip gets it's source (the other line) connected to the drain, which is also the drain of one of the NMOS transistors. Pin 14 MUST be connected to +12 volts to avoid damage to this chip. Warning: beta code 0.003 expects RAM to exist at location 0x2000 to store a copy of the data to be programmed into the 89C2051. The code for the 89C2051 must be assembled at location 0000.