Simple serial programmer for
AT89Sx microcontrollers
by Martin Osmera <martin.osmera@gmail.com>, 2009
This programmer is distributed under GNU GPL-2 licence.
1. Programmer hardware
Simple RS-232 ISP programmer for AT89Sx devices. This device is intended for education purposes and for hobbyists. It has been tested with AT89S2051 and AT89S8253 along with USB to serial port converter cable (with PL2303 chip). And it has been working well ...

2. Notes to the hardware
MCU in programmer can work while computer is turned off or disconnected.
Transistors can be replaced with almost any universal low frequency transistors with the same pinout.
Bad resistor values may cause malfunction.
It might be a good idea to try it in solderless breadboard before making PCB and soldering.
RS-232 connector on the board is female.
Reset button resets MCU connected to the programmer.
Hardware connected to the MCU ports may cause programmer malfunction.
Power supply: 8 → 30 V (Programmer work with 5V)
LED1: Indicates power on
LED2: Indicates PC activity or uninitilized programmer
ISP programming cable: Trough this interface programmer should be able to program MCU for instance in breadboard or some PCB. But remember it can comunicate with only one MCU at the time. So MCU placed in the socket on the programmer board must be removed firts.
4. Pinouts

MCU port connector
|

ISP programming cable
|
5. Programmer software
Compilation & installation
Qt4 (+ header files), cmake, gcc and Tk (+ header files) must be installed on your system in order compile this software.
> tar xvzf Simple_serial_programmer_89S-1.0.tar.gz
> cd Simple_serial_programmer_89S
> cmake .
> make
> make install # Will install plugin, GUI, CLI and manual page
Stand-alone GUI
> gssp89s # Runs programmer GUI front-end
CLI
> ssp89s # Runs programmer CLI front-end
6. Notes to the software
DO NOT disable fuse bit `ISP Enable'.
Generaly it doesn't matter which speed level you choose
Only one instance of programmer software can communicate to the programmer hardware otherwise programmming operation will fail
Programmer connected to the computer is inactive (PC activity LED is on and MCU is stopped) until connected MCU is detected (button `Autodetect MCU')
Reprogram button can save your time, it erases and reprograms the MCU
7. Additional information
This documentation is avaliable in the
download section along with
EAGLE vector drawings. And the software is avalible there too.