MCS-51

Tutorials

EX-F320

LED Timer
Serial

C8051F340/380

LED Timer
Serial

C8051F V2.1 (F020)

LED Timer
Serial

C8051F300 Dev. B. Mod.

LED Timer
Serial

C8051F V2.1 (F120)

LED Timer
Serial
Benchmarks

51 MCU SCM

Serial

STC89 DEMO BOARD

LED Timer
Serial

EZ-USB FX2LP

LED Timer
Serial
Benchmarks

colecovision.eu

ColecoVision

STM8

MCS-51

LLVM+SDCC

Contact

Tutorials for 8051-derivatives development using free software

This is a collection of tutorials that show how to get started with MCS-51 development using free tools and various evaluation boards. The tutorials include an LED Timer, which shows a binary counter that increments exactly once per second using the board LEDs and the MCS-51 timers, RS232 output using the UART (or a software UART where no hardware UART is available), and standard benchmarks for embedded systems (both Whetstone and Dhrystone; Coremark is not included due to its license, but can easily be ported using the Whetstone and Dhrystone tutorials as examples).

The author used a Debian GNU/Linux system, but the tutorials should work for other Linux distributions, *BSD or other Unices.

All tutorials use:

C8051 Boards

These are boards for the 8051-derived SiLabs C8051.
EX-F320¹C8051F340/380¹RDM 6300²C8051F V2.1¹C8051F300 Dev. B. Mod.¹C8051F V2.1¹
EX-F320C8051F340/380RDM 6300C8051F V2.1C8051F300 Dev. Board Mod.C8051F V2.1
Controller
C8051F320C8051F340C8051F330C8051F020C8051F300C8051F120
Tutorials
LED TimerLED TimerNo LEDLED TimerLED TimerLED Timer
SerialSerialSerial: TODOSerialSerialSerial
Bench: Not enough RAMBench: Not enough RAMBench: Not enough RAMBench: Not enough RAMBench: Not enough RAMBenchmarks

EFM8 Bee Starter Kits

These are boards for the 8051-derived SiLabs EFM8 Bee.
SLSTK2001A Universal B.³SLSTK2022A Busy B.³SLSTK2030A Laser B.³SLSTK2011A Sleepy B.³
SLSTK2001A EFM8 Universal Bee Starter KitSLSTK2022A EFM8 Busy Bee Starter KitSLSTK2030A EFM8 Laser Bee Starter KitSLSTK2011A EFM8 Sleepy Bee Starter Kit
Controller
EFM8UB20F64GEFM8BB31F64GEFM8LB12F64EEFM8SB20F64G
Tutorials
LED: TODOLED: TODOLED: TODOLED: TODO
Serial: TODOSerial: TODOSerial: TODOSerial: TODO
Bench: TODOBench: TODOBench: TODOBench: TODO

Minimal STC Boards

These are boards for 8051-derived µCs made by STCmicro that have the µC, but little else.
51 MCU SCM¹STC15L204 + NRF905¹CH340G STC15F104W¹
51 MCU SCM Minimum System Development BoardSTC15L204 + NRF90 wireless interface wireless driver board development boardCH340G Converter STC15F104W Development Board
Controller
STC12C5A60S2STC15L204EASTC15F104W
Tutorials
No LEDNo LEDLED: TODO
SerialSerial: TODOSerial: TODO
Bench: Not enough RAMBench: Not enough RAMBench: Not enough RAM

STC Boards

These are boards for 8051-derived µCs made by STCmicro.
STC89 DEMO BOARD²STC15W4K56S4 SCM¹STC15W4K56S4 4 Ser.¹STC8A8K64S4A12 Dev.³
STC89 DEMO BOARDIAP15W4K58S4 STC15W4K56S4 SCM DC5V ESP8266 Socket Development BoardSTC15W4K56S4 C51 Development Board 4 SerialSTC8A8K64S4A12 Development Board
Controller
STC89C52RCIAP15W4K58S4STC15W4K56S4STC8A8K64S4A12
Tutorials
LED TimerLED TimerLED: TODOLED Timer
SerialSerial: TODOSerial: TODOSerial: TODO
Bench: Not enough RAMBench: Not enough RAMBench: Not enough RAMBench: TODO

Various Boards

These are boards for various 8051-derived µCs.
EZ-USB FX2LP¹7 Buttons Application Kit¹
CY7C68013A EZ-USB FX2LP USB2.0 Development Board7 Buttons Application Kit
Controller
CY7C68013AXC822T
Tutorials
LED TimerLED: TODO
SerialSerial: TODO
DhrystoneBench: Not enough RAM

Footnotes

¹Bought using my own money.
²Donated by an SDCC user.
³Bought using Albert-Ludwigs-Universität Freiburg funding, used in Compiler research.

If you would like to see an additional board featured here and are willing to provide the board, please contact me.