About
Instructions to download programs to (some) Intel MCS-51 compatible MCUs.
Parts
Dependencies
Hardware
AT89S51, AT89S52
-
Arduino board (e.g. Nano, Micro, etc.) — 1 piece
-
Microcontroller — 1 piece
-
Breadboard — 2 pieces
-
Jumper wires — ~20 pieces
-
LEDs — 1 red, 1 green, 1 yellow, 1 white
-
1-10kΩ resistors — 2 pieces
-
8-33MHz quartz crystal — 1 piece
-
22pF capacitors — 2 pieces
-
10-pin ribbon cable — 1 piece
-
10-pin to 6-pin adapter — 2 pieces
-
Push-button (NO) — 1 piece
STC89C51RC, STC89C52RC, STC12C5A60S2
-
USB to Serial/TTL adapter (e.g. CH340G, PL2303, etc.) — 1 piece
-
Microcontroller — 1 piece
-
Breadboard — 1 piece
-
Jumper wires — ~10 pieces
-
LEDs — 1 white
-
1-10kΩ resistors — 1 pieces
-
8-33MHz quartz crystal — 1 piece
-
22pF capacitors — 2 pieces
-
Push-button (NO) — 1 piece
Software
AT89S51, AT89S52
-
Arduino IDE — 1.8.x or above should work
-
avrdude— the Arduino IDE distribution contains a recent binary
|
Important
|
Upload the ArduinoISP sketch onto the Arduino board. |
STC89C51RC, STC89C52RC, STC12C5A60S2
Programming
Compile binary
mcu8051ide --no-bin --no-sim --assemble blink.asm
The output is blink.hex.
Downloading
AT89S51, AT89S52
avrdude -C %AVRDUDE_HOME%/etc/avrdude.conf -C +./etc/avrdude.conf -c avrisp -p AT89S51 -P COM7 -b 19200 -U flash:w:blink.hex:i
STC89C51RC, STC89C52RC, STC12C5A60S2
stcgal -p COM7 blink.hex // (1)
-
Executing this displays Waiting for MCU, please cycle power. Simply disconnect then reconnect VCC.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.


