Thursday, May 8, 2008

8051 Starter for embedded systems....

having problem Using 89C51 ...

low memory (ROM)...4k only 128byte RAM
Difficulty in burning the IC ...
More complex programmers....

So here is a solution.....


Start using 89S series...
eg. 89S52 (8kb ROM 256 byte of RAM space) will be sufficient for most of you...
all ISP using 4 wire interface as is available with AVR
that is... only 4 wires ... RESET,,,,MOSI,,,MISO,,,,& SCK

also it is available at more or less at the same cost...
(ATMEL knows what all wants..)

CIRCUIT 1:

  • Designed for new ISP chips, 89S51, 89S52, and 89S53, 40-pin DIP,
  • In System Programmable (ISP) through the 6-pin header and a jumper, (no need external programmer),
F0r 89S series connect the AVR

Printer PORT ---- 89S51 / 89S52 or similar
pin 6 SCK
pin 7 MOSI
pin 9 RST
pin 10 MISO
Pin 18 - 25 GND
(TESTED)

Make your own ISP cable for the circuit board
OR
connect directly to IC on a breadboard
OR
connect on your own made IC board on general Purpose PCB]

SOFTWARE to be used :: ISP-Flash Programmer Ver3.0a available at
http://www.kmitl.ac.th/%7Ekswichit%20/IspPgm30a/ISP-30a.zip


CIRCUIT 2 (TESTED)
Circuit using Buffer 74HC541 (similar to 74HC244) compatible to STK200

6 wire interface (5 wire & a GND pin)
Parallel PORT pins to be used
PIN 5
PIN 6
PIN 7
PIN 9
PIN 10
PIN 18-25


Software used :: SAME ISP-Flash Programmer ver3.0


for extra details go to
Circuit 1:
http://www.kmitl.ac.th/~kswichit%20/tahan/boards51/Board%20S51.htm
Circuit 2:
http://www.kmitl.ac.th/%7Ekswichit%20/IspPgm30a/ISP-Pgm30a.html

else contact me...



*** NOTE :: connect + VCC & GND to 8051 .....

TESTED

No comments: