Free Web Hosting Provider - Web Hosting - E-commerce - High Speed Internet - Free Web Page
Search the Web

<< | Home | Stuff | Download | Link | >>

____________________________________________________________________________________________

AT89S Up-Loader

I had been confused; how can I learn about microcontroller if I had not try and do my own experiment using microcontroller. I even didn't know about microcontroller, in my study I just learn about microprocessor. I found an interesting things about microcontroller. First microcontroller that I had know was PIC16F84, but It was a rare microcontroller in my country. AT89C51, AT89C52 from ATMEL was the most popular microcontroller and I could find it at almost electronics store. But the up-loader is too expensive.

Someday, I found an interesting book about AT89S8252 microcontroller; "Belajar Mikrokontroler AT89S8252" by Mohammad Ibnu Malik. It just a thin book, but I found a thick information from it. First impression about this book: "it just the same book!! It is like AT89C book!". But I was wrong! After I read it, I found that the AT89S8252 up-loader is simpler than others (AT89C). It is a low cost up-loader!!! The important components and circuit blocks:

Even more, it has in-system programming feature!! I was happy to know it. But unfortunately, I could not find AT89S8252. But I found AT89S51. I checked the software (AEC_ISP.exe from www.aec-electronics.co.nz ) features. I found that it can program the AT89S51, AT89S52, AT89S53 & AT89S8252. To make sure, I had send an e-mail to Mr. Mohammad Ibnu Malik. He said : "It'll work!" and I said: "Great!!". I started to make the up-loader. And finally I have a perfect up-loader.

In this website I would share about this AT89S up-loader. It consist of : oscillator, reset and SPI canal blocks. The oscillator block is consist of X'tal (2-24Mhz) and two capacitors. The components value can be found in AT89SXX/XX datasheets. It just a standard oscillator, you may find it from the datasheets. Reset block is forming the hardware reset. It usually consist of resistor and capacitor polar. But in system programming and serial mode programming, it would need reset by program/software involved. It can be done by adding series resistor as a pull up and connect it to the computer interface (LPT/printer port).

SPI canal is use for  Serial Programming mode. You can find it in all of AT89S and AVR. SPI canal is P1.5(Master Output Master input), P1.6(Master Input Master Output) & P1.7(SCK). So you must connect the three of them, beside ground and reset.

The coverage features :

 

Schematic:

*connect SPI_IN to Printer Port

SPI_IN LPT/Printer Port
1

2

3

4

5

7 (D5)

10 (ACK)

8 (D6)

6 (D4)

18-25 (GND)

 

 

 

 

 

Software :

The AEC_ISP.exe is a freeware. You can download at this page on download section below. Or you can visit www.aec-electronics.co.nz and download the software. Your code needs to be in Intel Hex format (*.HEX or *.IHX). AEC_ISP will open the file you specify and load it into a buffer. You can specify a default file in the command line; e.g.: To specify TEST.HEX as the default file, start AEC_ISP by typing 'AEC_ISP TEST.HEX'. As far as using the software goes, it is self-explanatory. If you want to know more about the transfer protocols, read the ATMEL data book. The Intel HEX format file which you will load must be in the same directory or folder with AEC_ISP.EXE.

For Attention :

 

Download Section :

 

Literatures :

 

Comment :

Any suggestions, comments, etc. E-mail me: fridiant@yahoo.com

______________________________________________________________________________________________________________

<< | Home | Stuff | Download | Link | >>

_________________________________________________________________________________________________

Tiar Fridianto @ 2004 : fridiant@yahoo.com