Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Instructions to download programs to (some) Intel MCS-51 compatible MCUs

NotificationsYou must be signed in to change notification settings

kohanyirobert/8051

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions to download programs to (some)Intel MCS-51 compatible MCUs.

Parts

AT89S51

Note
Same applies to AT89S52.
A89S51

STC89C51RC

Note
Same applies to STC89C52RC and STC12C5A6S2.
STC89C51RC

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

Important
Upload the ArduinoISP sketch onto the Arduino board.

STC89C51RC, STC89C52RC, STC12C5A60S2

Programming

Compile binary

Windows and Unix
mcu8051ide --no-bin --no-sim --assemble blink.asm

The output isblink.hex.

Downloading

AT89S51, AT89S52

Windows
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

Windows
stcgal -p COM7 blink.hex //(1)
  1. Executing this displaysWaiting for MCU, please cycle power.Simply disconnect then reconnect VCC.

About

Instructions to download programs to (some) Intel MCS-51 compatible MCUs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp