Sei sulla pagina 1di 6

PROJECT WORK

ATMEL AT89SXX ISP Flash Programmer

DEBARGHYA DAS

PRIYANKA GHOSH

(ECE 2nd Year)

About AT 89 S52 (S series Microcontroller)

Description

The AT89S52 is a low-power, high-performance CMOS 8-bit microcontroller with 8K bytes of in-system programmable Flash memory. The device is manufactured using Atmels high-density nonvolatile memory technology and is compatible with the industry standard 80C51 instruction set and pin out. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with in-system programmable Flash on a monolithic chip, the Atmel AT89S52 is a powerful microcontroller which provides a highly-flexible and cost-effective solution to many embedded control applications. The AT89S52 provides the following standard features: 8K bytes of Flash, 256 bytes of RAM, 32 I/O lines, Watchdog timer, two data pointers, three 16-bit timer/counters, a six-vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator, and clock circuitry. In addition, the AT89S52 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port, and interrupt system to continue functioning. The Power-down mode saves the RAM con-tents but freezes the oscillator, disabling all other chip functions until the next interrupt or hardware reset.

About AT 89 S52 (S series Microcontroller)

PIN CONFIGURATION

Introduction
Welcome to the word 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).

Hardware: Figure 1 shows the Block diagram of the in-system programmer interface,
the programmer can be self powered or target powered it depends on how you plan to use it.

Figure 1:

Block Diagram of the ISP Programmer

Figure 2 shows the actual circuit diagram. The Programmer has just two ICs. IC1 = AT89C2051, IC2 = MAX 232. Few Resistors, LEDs, capacitors etc. The value of the crystal is critical and must be 11.0592 MHz.

Figure 2:

Circuit Diagram of the ISP Programmer

Firmware.

Assemble the circuit and burn the firmware into an AT89C2051(you will need a conventional parallel Programmer to Program the AT89C2051).
Software

The Software is a Windows GUI application and supports all programming functions. When you run the software for the first time it looks for a valid programmer on COM1. If the Programmer is connected to say COM2 you will receive an error message but when the application starts select Options>Settings on the Menu and specify the correct COM Port. Following are the main features of this software, Device Supported - AT89S51, AT89S52, AT89S8252, AT89S8253. Read and write Intel Hex files. Chip Erase. Verify. Lock. Read Device Signature. Advanced Device Specific Functions FINISHED PRODUCT

DEVELOPMENT AGENDA
An introduction to Circuit Making. An introduction to the world of Microcontrollers. To Program S52 Microcontroller to be used in autonomous robots.

2009-10, Creez, All Rights Reserved. www.creez.co.cc